WP User Avatar - Version 4.0.0

Version Description

  • Added paid membership feature.
  • Fixed bug where upload field with data is still required.

See the changelog file for full change log information.

Download this release

Release Info

Developer Collizo4sky
Plugin Icon 128x128 WP User Avatar
Version 4.0.0
Comparing to
See all releases

Code changes from version 3.2.16 to 4.0.0

assets/css/admin.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .ppress-admin #ppress-membership-customer-content .postbox-header,.ppress-admin #ppress-membership-order-content .postbox-header,.ppress-admin #ppress-membership-subscription-content .postbox-header,.ppress-admin .handle-actions{display:none}.ppress-admin .postbox .hndle{cursor:default!important}.ppress-admin #ppress-membership-customer-content .inside,.ppress-admin #ppress-membership-customer-subscriptions .inside,.ppress-admin #ppress-membership-item-content .inside,.ppress-admin #ppress-membership-order-content .inside,.ppress-admin #ppress-membership-subscription-content .inside,.ppress-admin #ppress-membership-subscription-payments .inside{margin:0;padding:0;display:block!important}.ppress-admin .ppress-membership-customer-details,.ppress-admin .ppress-membership-order-details,.ppress-admin .ppress-membership-subscription-details{padding:30px}.ppress-admin .ppress-membership-customer-details p,.ppress-admin .ppress-membership-order-details p,.ppress-admin .ppress-membership-subscription-details p{color:#777}.ppress-admin #ppress-membership-order-subscription a,.ppress-admin .ppress-membership-order-details p a,.ppress-membership-customer-details .ppress-customer-stats-wrapper a{text-decoration:none}.ppress-admin #poststuff h2.ppress-metabox-data-heading,.ppress-admin .ppress-metabox-meta-data{margin:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:400}.ppress-admin #poststuff h2.ppress-metabox-data-heading{font-size:21px;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}.ppress-admin .ppress-metabox-meta-data{line-height:1.8em;font-size:16px}.ppress-admin .ppress-metabox-data-column-container{display:flex;flex-wrap:nowrap}.ppress-admin .ppress-metabox-data-column{width:50%;padding-left:0;padding-right:30px}.ppress-admin .ppress-metabox-data-column:last-of-type{padding-left:30px;padding-right:0}.ppview .postbox .ppress-metabox-data-column input:not([type=checkbox]):not([type=radio]),.ppview .postbox .ppress-metabox-data-column select{width:100%!important}.ppress-admin .ppress-metabox-data-column h3{font-size:14px;color:#333;margin:1.33em 0 0}.ppress-admin .ppress-metabox-data-column p{padding:0!important;margin:9px 0 0}.ppress-admin .ppress-metabox-data-column a.edit_address{width:14px;height:0;padding:14px 0 0;margin:0 0 0 6px;overflow:hidden;position:relative;color:#999;border:0;float:right}.ppress-admin .ppress-metabox-data-column a.edit_address::after{position:absolute;top:0;left:0;text-align:center;vertical-align:top;line-height:14px;font-size:14px;font-weight:400;font-family:Dashicons;content:""}.ppress-admin .ppress-metabox-data-column .ppress_edit_address_wrap{display:none}.ppress-admin #poststuff #ppress-membership-item-content h2{padding:15px 30px;margin:0;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,sans-serif;font-size:21px;font-weight:400;line-height:1.2;text-shadow:1px 1px 1px #fff}.ppress-admin #ppress-submetabox-items table th{text-align:left;padding:1em;font-weight:400;color:#999;background:#f8f8f8;border-top:0;user-select:none;font-size:14px;line-height:20px}.ppress-admin #ppress-submetabox-items table{background:#fff;width:100%;border-collapse:collapse}.ppress-admin #ppress-submetabox-items table th:first-child{padding-left:30px}.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-item-column-price,.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-item-column-total,.ppress-admin #ppress-submetabox-items table th.ppress-submetabox-item-column-price,.ppress-admin #ppress-submetabox-items table th.ppress-submetabox-item-column-total{width:100px;text-align:right}.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-action,.ppress-admin #ppress-submetabox-items table th.ppress-submetabox-item-column-action{width:5%;text-align:left}.ppress-admin #ppress-submetabox-items table td:first-child{padding-left:30px}.ppress-admin #ppress-submetabox-items table td{padding:1.5em 1em 1em;text-align:left;line-height:1.5em;vertical-align:top;border-bottom:1px solid #f8f8f8}.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts td,.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-sub-total td,.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-tax td,.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-total td{border-bottom:0}.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts td,.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-sub-total td,.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-tax td,.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-total,.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-total-label{text-align:right}.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-border td{padding:0;border:0}.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts .coupon-wrap{float:left;text-align:left}.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts .coupon-wrap .coupons-label{display:inline-block;margin-bottom:5px;margin-right:2px;font-weight:600;font-size:12px}.ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts .coupon-wrap .coupon-code{display:inline-block;position:relative;padding:3px 10px;background-color:#f7f7f7;border:1px solid #aaa;box-shadow:0 1px 0#dfdfdf;border-radius:4px;margin-right:5px;margin-top:5px;text-decoration:none;color:#888;font-size:12px;line-height:16px}.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-actions{border-top:1px solid #ddd;background:#f8f8f8;text-align:right}.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-actions .order-refund{float:left}.ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-actions .message{font-style:italic;display:inline-block;line-height:28px}.ppress-admin #ppress-membership-item-content .ppress-submetabox-items-column-actions .ppress-hint-tooltip{text-align:left}.ppress-admin .ppress-notes li{padding:0 10px}.ppress-admin .ppress-notes li .ppress-note-content{background:#efefef;padding:10px;position:relative}.ppress-admin .ppress-notes li .ppress-note-content p{margin:0;padding:0}.ppress-admin .ppress-notes li .ppress-note-content:after{content:"";display:block;position:absolute;bottom:-10px;left:20px;width:0;height:0;border-color:#efefef transparent;border-style:solid;border-width:10px 10px 0 0}.ppress-admin .ppress-notes p.ppress-note-meta{padding:10px;color:#999;margin:0;font-size:11px}.ppress-admin .ppress-notes p.ppress-note-meta .ppress-note-date{border-bottom:1px dotted #fff}.ppress-admin .ppress-notes p.ppress-note-meta a{color:#a00}#ppress-membership-order-notes.postbox .inside{padding:0 0 10px}.ppress-admin .ppress-membership-order-details .ppress-order-badge{font-size:12px;font-weight:600;padding:6px 8px;margin-left:5px;border-radius:9999px;vertical-align:middle;background-color:rgb(220 252 231);color:rgb(22 101 52);line-height:2.30769231;text-shadow:none}.ppress-order-item-modal-wrap{width:100%;max-width:500px}.ppress-admin .ppress-order-item-modal-wrap label{display:block;font-weight:700}.ppress-admin .ppress-order-item-modal-wrap input,.ppress-admin .ppress-order-item-modal-wrap select{width:100%;max-width:100%}.ppress-admin .select2-container .select2-dropdown{z-index:900000!important}.ppress-membership-customer-details .ppress-customer-info .ppress-customer-info{min-height:185px}.ppress-membership-customer-details .ppress-customer-info{display:flex;flex-wrap:wrap}.ppress-membership-customer-details .ppress-customer-info .ppress-avatar-wrap{max-width:250px;width:35%}.ppress-membership-customer-details .ppress-customer-info .ppress-customer-main-wrapper{width:60%;padding:0 10px;box-sizing:border-box}.ppress-membership-customer-details .ppress-customer-info span.customer-name{margin-bottom:6px;font-size:24px;font-weight:600}.ppress-membership-customer-details .ppress-customer-info .ppress-customer-main-wrapper span:not(.customer-name):not([class*=select2]):not([class*=selection]){display:block;padding:3px;color:#777}.ppress-membership-customer-details .ppress-customer-info .customer-user-id span,.ppview .wp-list-table tr:hover .post-state{display:inline-block}.ppress-membership-customer-details .ppress-customer-info .ppres-customer-edit-link{text-align:center}.ppress-membership-customer-details .ppress-customer-info .ppress-avatar-wrap img{width:100%;height:auto;border-radius:5px}.ppress-membership-customer-details .ppress-customer-info .mb-form-field label{font-weight:500}.ppress-membership-customer-details .ppress-customer-info .mb-form-field label a{font-weight:400}.ppress-membership-customer-details .ppress-customer-stats-wrapper{margin:20px auto 10px;text-align:center;border-top:1px solid #eee;padding:30px 0 0}.ppress-membership-customer-details .ppress-customer-stats-wrapper ul{display:flex;margin:0;list-style:none}.ppress-membership-customer-details .ppress-customer-stats-wrapper li{font-size:14px;margin-bottom:0;width:50%}.ppress-membership-customer-details .ppress-customer-stats-wrapper .dashicons{color:#888;margin-top:-2px}#adminmenu ul>li:not(:last-child) a[href$="page=ppress-config"]:after,#adminmenu ul>li:not(:last-child) a[href$="page=ppress-content-protection"]:after,#adminmenu ul>li:not(:last-child) a[href$="page=ppress-customers"]:after,#adminmenu ul>li:not(:last-child) a[href$="page=ppress-directories"]:after{border-bottom:1px solid rgba(255,255,255,.2);display:block;float:left;margin:13px -15px 8px;content:"";width:calc(100% + 30px)}@media screen and (max-width:782px){#adminmenu ul>li:not(:last-child) a[href$="page=ppress-config"]:after,#adminmenu ul>li:not(:last-child) a[href$="page=ppress-content-protection"]:after,#adminmenu ul>li:not(:last-child) a[href$="page=ppress-customers"]:after,#adminmenu ul>li:not(:last-child) a[href$="page=ppress-directories"]:after{margin:20px -20px 8px;width:calc(100% + 40px)}}#adminmenu li[class*=ppress-] ul>li:nth-last-child(2):after{margin-left:0}#adminmenu li[class*=ppress-] ul.wp-submenu-wrap li,#ppress-available-shortcodes-jbox .ppclearfix:after{clear:both}.ppress-admin .ppress-checklist{background-color:#fbfbfd;margin-top:-10px;margin-bottom:20px;position:relative;box-sizing:border-box;padding:30px}.ppress-admin .ppress-checklist div{text-align:center!important}.ppress-admin .ppress-checklist h2{font-size:32px;line-height:40px;padding-bottom:10px;margin:0}.ppress-admin .ppress-checklist-teaser{font-size:18px;color:#97a3b4;margin:10px 0}.ppress-admin .ppress-checklist-dashboard-steps,.profile-press-design-gateway .pp-half-first-thumb.responsive-image{text-align:center}.ppress-admin .ppress-checklist-dashboard-steps ul{display:flex;flex-wrap:wrap;justify-content:center;margin-top:40px;margin-bottom:0}.ppress-admin .ppress-checklist-dashboard-steps ul li{width:185px;height:210px;margin:0 15px 30px;opacity:.85}.ppress-admin .ppress-checklist a{background-color:transparent;color:#326ee0;text-decoration:none}.ppress-admin .ppress-checklist-dashboard-steps ul li a{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;height:100%;text-align:center;border:1px solid #c6cbd0;border-radius:3px;text-decoration:none;position:relative}.ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a{border-color:#0175ff}.ppress-admin .ppress-checklist-dashboard-steps ul li a svg{display:block;margin:auto;padding-top:10px;width:60px}.ppress-admin .ppress-checklist-dashboard-steps ul li a span{margin:0 10px 20px;font-size:14px;font-weight:600}.ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a span{color:#001f4d}.ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a:after{content:"";width:20px;height:20px;background-color:#06d478;background-image:url(../../assets/images/icon-checkmark.svg);background-repeat:no-repeat;background-size:15px;background-position:50%;position:absolute;right:3px;top:3px;border-radius:100%}.ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a .svg-color{fill:#0175ff}.ppress-admin .ppress-checklist-dashboard-steps ul li a:hover{border-color:#001f4d}.ppress-admin .ppress-checklist-dashboard-steps ul li a:hover .svg-color{fill:#001f4d}.ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done{pointer-events:none}.pp-dnd-form-builder-wrap #titlediv span.shortcode input,.ppSCB-margin-r #titlediv span.shortcode input{font-size:12px;border:0;box-shadow:none;padding:4px 8px;margin:0;background:0 0;color:#fff}.pp-dnd-form-builder-wrap #titlediv span.shortcode,.ppSCB-margin-r #titlediv span.shortcode{display:block;margin:2px 0}.pp-form-listing .pp_forms th#shortcode{width:33%}.pp-form-listing .pp_forms th#title{width:35%}.pp-add-new-form-wrapper .profile-press-design-gateway{width:100%;max-width:700px}.pp-half-meta-inner .pp-half-meta h2{font-size:24px!important}.pp-add-new-form-wrapper .profile-press-design-gateway-inner .responsive-image img{width:100%;height:auto}.pp-add-new-form-wrapper .pp-hald-first{float:left;width:50%;text-align:center;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;color:#555}.pp-add-new-form-wrapper .pp-hald-first a{color:initial;text-decoration:none}.pp-add-new-form-wrapper .pp-builder-select-active{border:2px solid #3498db}.pp-add-new-form-wrapper .pp-half-meta-inner{background:#fff;padding:20px;position:relative;cursor:pointer}.profile-press-design-gateway .pp-half-first-thumb.responsive-image img{width:70px;height:70px;padding:20px}.pp-add-new-form-wrapper .pp-builder-create-btn{background:#3498db;padding:20px;width:100%;border:0;font-weight:400;text-transform:uppercase;color:#fff;font-family:"Work Sans",sans-serif;font-size:20px;border-bottom:3px solid #2980b9;cursor:pointer}.pp-add-new-form-wrapper .pp-half-meta p{font-size:17px;line-height:1.5;margin-top:20px}.pp-add-new-form-wrapper .pp-builder-create-btn:focus{border-bottom:2px solid #2980b9}.ppview .postbox .wp-editor-wrap,.ppview .postbox input[type=number],.ppview .postbox input[type=text],.ppview .postbox select,.ppview .postbox textarea,.ppview input[type=password]{width:550px!important;max-width:550px!important}#ppContentProtectionContent .col select,.ppress-admin .ppview .postbox .ppress-subscription-plan-payment-links input,.ppview .postbox [id*=email_content-wrap].wp-editor-wrap{width:100%!important;max-width:100%!important}.pp-form-listing .pp_forms input.shortcode-in-list-table{width:100%!important;max-width:260px;border:0}.ppSCB .pp-form-builder-shortcodes-btn{text-align:right;float:right}#ppress-available-shortcodes-jbox{width:100%;max-width:600px}#ppress-available-shortcodes-jbox *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased}#ppress-available-shortcodes-jbox input#ppress_shortcode_inserter_search{width:100%;height:28px;margin:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-list-wrapper{padding:10px 20px}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-name{font-weight:700;font-size:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-item-btn{width:32%;display:inline;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-item-btn a{float:right;margin-top:10px}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-item{width:68%;float:left}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-item-wrap{display:block;padding-top:5px}#ppress-available-shortcodes-jbox .ppclearfix:after,#ppress-available-shortcodes-jbox .ppclearfix:before{content:" ";display:table}#ppress-available-shortcodes-jbox .jBox-title{font-size:16px;margin:0}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-item-wrap{border-bottom:1px solid #d3d3d3;padding-bottom:10px}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-desc{margin:5px 0 10px;font-size:14px}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-attributes-wrap{margin:8px 0 21px;border:1px solid #e5e5e5;border-left:0;border-right:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);color:#515151;width:100%;box-sizing:border-box}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-attribute-label{width:38%;display:inline-block;box-sizing:border-box;font-size:13px;font-weight:600;float:left;background:#f9f9f9;vertical-align:top;border:0;border-top:1px solid #f2f2f2;padding:25px 20px 18px}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-attribute-field:first-child,.ppress-builder-shortcode-attribute-row:first-child .ppress-builder-shortcode-attribute-label{border-top:none}#ppress-available-shortcodes-jbox .jBox-content{background-color:#f5f5f5}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-attribute-field{vertical-align:top;border:0;width:62%;box-sizing:border-box;border-top:1px solid #f2f2f2;padding:15px 20px;float:left;background:#fff}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-attribute-row:after{content:"";display:table;clear:both}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-attribute-row{border:1px solid #e5e5e5;border-top:0;border-bottom:0}#ppress-available-shortcodes-jbox .ppress-shortcode-inserter-builder-field:not([type=checkbox]){width:100%}#ppress-available-shortcodes-jbox .ppress-shortcode-inserter-builder-field[type=checkbox]{margin:10px 0}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-clipboard-form{padding:0 0 12px}#ppress-available-shortcodes-jbox #ppress-builder-shortcode-preview-field{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.45;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);font-family:Consolas,Monaco,monospace;width:100%;padding:18px;font-size:12.5px;margin:0 5px 9px 0;text-align:center;background:#fff}#ppress-available-shortcodes-jbox .ppress-builder-shortcode-btn.button{width:100%}#ppress-available-shortcodes-jbox .ppress-shortcode-inserter-back{cursor:pointer;margin:0 6px 0 0}.ppSCB .pp-form-builder-shortcodes-btn a:before{font-family:dashicons;content:"";padding-right:2px;vertical-align:middle;display:inline-block}.pp-form-listing .pp_formsinput[readonly]{background-color:#eee;margin:1px}.ppview .custom-field-anchor{width:30px;border-right:1px solid #e1e1e1;text-align:center!important}.ppview tbody tr td.custom-field-anchor{cursor:move}.ppview table#pp_contact_info tbody tr:hover,.ppview table.custom_profile_fields tbody tr:hover{background-color:#e3e3e3}.pp_circle_green,.pp_circle_red{border-radius:100%;height:2px;margin:5px 15px;padding:5px;width:2px}.pp_circle_green{background:green}.pp_circle_red{background:red}.wp_csa_view.pp-license .banner{position:absolute;left:10%;display:block;margin:10px 5px 20px;width:600px;height:60px;border:1px solid #8a1;font:400 30px/60px Rye;text-align:center;color:#451;background:#9b2;border-radius:4px;box-shadow:0 0 30px rgba(0,0,0,.15) inset,0 6px 10px rgba(0,0,0,.15)}.wp_csa_view.pp-license .banner::after,.wp_csa_view.pp-license .banner::before{content:"";position:absolute;top:24px;display:block;width:40px;height:0;border:30px solid #9b2;border-bottom-color:#94b81e}.wp_csa_view.pp-license .banner::before{left:-70px;border-right:20px solid #791;border-left-color:transparent;transform:rotate(-5deg)}.wp_csa_view.pp-license .banner::after{left:auto;right:-70px;border-left:20px solid #791;border-right:30px solid transparent;transform:rotate(5deg)}.ppview .pp-settings-wrap{display:flex;border:1px solid #c8d7e1;margin-top:5px}.ppview .pp-settings-wrap .dashicons{padding-top:2px;margin-right:5px}.ppview .pp-settings-wrap h2.nav-tab-wrapper{flex:1;border-bottom:none;padding:0;background:#f7f8fa;border-right:1px solid #c8d7e1}.ppview .pp-settings-wrap h2.nav-tab-wrapper a{float:none;display:block;margin:0;border:0;padding:15px;background:#f7f8fa;font-weight:500;border-bottom:1px solid #c8d7e1}.ppview .pp-settings-wrap h2.nav-tab-wrapper a.nav-tab-active{background:#fff!important;border-right:1px solid #c8d7e1;width:99%;color:#2e4453}.ppview .pp-settings-wrap .metabox-holder{flex:3;padding-left:3%;padding-right:10px;background:#fff}.ppview .pp-settings-wrap .pp-tab-settings .postbox{border:0;box-shadow:none}.ppview .pp-settings-wrap .metabox-holder h3.hndle{padding:12px;cursor:default;border-top:1px solid #eee;border-bottom:1px solid #eee}.ppview .pp-settings-wrap .postbox:first-child h3.hndle{border-top:none!important}#pp-sub-bar .pp-clear,.pp-add-new-form-wrapper .pp-optin-clear,.pp-add-new-form-wrapper .pp-template-clear{clear:both}#pp-sub-bar .pp-clear:after,.pp-add-new-form-wrapper .pp-optin-clear:after,.pp-add-new-form-wrapper .pp-template-clear:after{clear:both;content:".";display:block;height:0;line-height:0;overflow:auto;visibility:hidden;zoom:1}#pp-sub-bar .pp-new-toolbar{min-height:38px;padding:10px;background:#fff;margin-bottom:20px;border:1px solid #dedede;box-sizing:content-box;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#pp-sub-bar .pp-new-toolbar h4{color:#222;font-size:18px;font-weight:600;margin:8px 0 0;padding:0;float:left}#pp-sub-bar .pp-new-toolbar ul{float:right;list-style:none;padding:0;margin:10px 0 0}#pp-sub-bar .pp-new-toolbar ul li{list-style:none;padding:0;margin:0;float:left}#pp-sub-bar .pp-new-toolbar ul li a{color:#0085ba;text-decoration:none;text-transform:uppercase;font-size:13px;letter-spacing:1px;padding:21px 15px 22px;outline:0!important}#pp-sub-bar .pp-new-toolbar ul li a.pp-type-active,#pp-sub-bar .pp-new-toolbar ul li a:hover{color:#fff;background:#007cba}.pp-add-new-form-wrapper .pp-form-new-list .pp-dash-spinner{visibility:hidden;float:none;margin-right:0;margin-left:0}.pp-add-new-form-wrapper .pp-error{color:red;font-size:13px;font-weight:600;vertical-align:middle;display:inline-block;margin-top:-3px}.pp-add-new-form-wrapper .pp-input-error{border-color:red!important;-webkit-box-shadow:0 0 2px rgba(255,0,0,.8)!important;box-shadow:0 0 2px rgba(255,0,0,.8)!important}.pp-add-new-form-wrapper .pp-form-new-list{height:38px;padding:10px;background:#fff;margin-bottom:20px;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}.pp-add-new-form-wrapper .pp-form-new-list h4{color:#222;font-size:18px;font-weight:600;text-shadow:0 1px rgba(255,255,255,.25);margin:2px 0 0;padding:0}.pp-add-new-form-wrapper .pp-form-new-list strong{font-size:16px;vertical-align:middle}.pp-add-new-form-wrapper .pp-form-new-list input,.pp-add-new-form-wrapper .pp-form-new-list select{position:relative;top:1px;margin-left:5px;margin-right:10px;font-size:16px;font-weight:300;width:350px;height:32px}.pp-add-new-form-wrapper .ppress-premium-flag{position:absolute;top:-8px;right:-8px;width:90px;height:81px;background-image:url(../../images/themes/premium-theme.png);background-size:90px 81px;transform:rotate(70deg)}.pp-add-new-form-wrapper .pp-optin-theme{cursor:pointer;float:left;margin:0 4% 4%0;position:relative;width:30.66666666667%;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#ppContentProtectionContent .actions a:hover,#ppContentProtectionContent .col a:hover,.pp-add-new-form-wrapper .pp-optin-theme a{text-decoration:none}.pp-add-new-form-wrapper .pp-optin-theme:nth-child(3n){margin-right:0}.pp-add-new-form-wrapper .pp-optin-theme.pp-last-theme{margin-right:0}.pp-add-new-form-wrapper .pp-optin-theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.pp-add-new-form-wrapper .pp-optin-theme-screenshot:after{content:"";display:block;padding-top:66.66666%}.pp-add-new-form-wrapper .pp-optin-theme .pp-optin-theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.pp-add-new-form-wrapper .pp-optin-theme .pp-optin-theme-actions{position:absolute;bottom:0;right:0;height:38px;padding:9px 10px 0;background:rgba(244,244,244,.7);border-left:1px solid rgba(0,0,0,.05)}.pp-add-new-form-wrapper .pp-optin-theme-screenshot img{height:100%;position:absolute;left:0;top:0;width:100%;-webkit-transform:translateZ(0);-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}#pp-sub-bar .pp-new-toolbar .pp-melange-jbox{margin:0 0 0-18px;font-size:18px;cursor:pointer}.pp-form-listing.pp-forms .wp-list-table .column-date{width:145px}.pp-form-listing.pp-user-profiles th#title{width:30%}.pp-form-listing.pp-user-profiles th#date{width:20%}.pp-form-buider-settings-popup-container *{box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.pp-form-buider-settings-popup-container{position:fixed;z-index:1;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000;background-color:rgba(51,51,51,.95);padding:20px}.pp-form-buider-settings-popup-content{background-color:#fefefe;margin:5%auto;border:1px solid #888;width:100%;max-width:600px}.pp-form-buider-settings-popup-header{-webkit-font-smoothing:antialiased;align-items:center;border-bottom:1px solid #e6e6e6;box-sizing:border-box;display:flex;font-variant-ligatures:none;outline:0;padding:15px;text-rendering:optimizelegibility;text-shadow:rgba(0,0,0,.01)0 0 1px}.pp-dnd-form-builder-wrap span.pp-form-buider-settings-field-type,.pp-form-buider-settings-popup-container span.pp-form-buider-settings-field-type,.pp-form-buider-settings-popup-header h3{-webkit-font-smoothing:antialiased;box-sizing:border-box;color:#333;font-family:Arial,sans-serif;font-stretch:normal;font-style:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;margin:0;text-rendering:optimizelegibility;text-shadow:rgba(0,0,0,.01)0 0 1px}.pp-form-buider-settings-popup-header h3{border-width:0;display:block;font-size:15px;font-weight:700;line-height:30px;overflow:hidden;padding:0;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.pp-form-buider-settings-popup-container .pp-actions-left{display:flex;align-items:center;margin-left:10px;margin-right:auto}.pp-dnd-form-builder-wrap span.pp-form-buider-settings-field-type,.pp-form-buider-settings-popup-container span.pp-form-buider-settings-field-type{background-color:#f2f2f2;border:2px solid transparent;border-radius:13px;cursor:default;display:inline-block;font-size:12px;font-weight:500;height:26px;letter-spacing:-.25px;line-height:22px;min-width:40px;padding:0 16px;text-align:center}.pp-dnd-form-builder-wrap span.pp-form-buider-settings-field-type.field-bar-title{margin-top:3px;margin-left:5px;padding:0 8px;font-size:11px}.pp-form-buider-settings-popup-container .pp-actions-right{display:flex;align-items:center;margin-left:auto;margin-right:0}.pp-form-buider-settings-popup-body .pp-form-buider-settings-popup-tab-content,.pp-form-buider-settings-popup-body .pp-form-buider-settings-popup-tabs,.pp-form-buider-settings-popup-body a.pp-form-buider-settings-popup-tab-menu{-webkit-font-smoothing:antialiased;box-sizing:border-box;font-variant-ligatures:none;outline:0;text-rendering:optimizelegibility;text-shadow:rgba(0,0,0,.01)0 0 1px}.pp-form-buider-settings-popup-body .pp-form-buider-settings-popup-tabs{border-top:0 solid #e6e6e6;display:flex;list-style:none;margin:0;padding:0 30px}.pp-form-buider-settings-popup-body a.pp-form-buider-settings-popup-tab-menu{border-bottom:2px solid transparent;box-shadow:none;color:#888;cursor:pointer;font-size:12px;font-weight:500;line-height:22px;margin:0 10px;outline:0 transparent;padding:14px 0 12px;text-decoration:none;text-transform:uppercase}.pp-form-buider-settings-popup-body a.pp-form-buider-settings-popup-tab-menu.active{color:#333;border-bottom-color:#333}.pp-form-buider-settings-popup-body .pp-form-buider-settings-popup-tab-content{border-top:1px solid #e6e6e6;display:block;margin-top:-1px;padding:30px}.pp-form-buider-settings-popup-tab-content .pp-form-row{flex-direction:row;flex-wrap:wrap;width:100%;display:flex;margin-bottom:30px}.pp-form-buider-settings-popup-tab-content .pp-form-row:last-child{margin-bottom:0}.pp-form-buider-settings-popup-tab-content .pp-form-column{display:flex;flex-direction:column;flex-basis:100%;flex:1;padding-left:15px;padding-right:15px}pp-form-buider-settings-popup-tab-content .pp-form-double-column{display:flex;flex-direction:column;flex-basis:100%;flex:2}.pp-form-control-icon-picker{cursor:pointer}.pp-form-buider-settings-popup-container .pp-form-buider-settings-popup-body .pp-form-control,.pp-form-buider-settings-popup-container label.pp-label{-webkit-font-smoothing:antialiased;box-sizing:border-box;color:#333;font-family:Arial,sans-serif;font-stretch:normal;font-style:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-weight:500;letter-spacing:-.25px;text-rendering:optimizelegibility;text-shadow:rgba(0,0,0,.01)0 0 1px}.pp-form-buider-settings-popup-container label.pp-label{border-width:0;display:block;font-size:14px;line-height:22px;margin:0 0 5px;padding:0;cursor:pointer;vertical-align:middle}.pp-form-buider-settings-popup-container .pp-form-control-description{-webkit-font-smoothing:antialiased;box-sizing:border-box;color:#888;display:block;font-size:13px;font-variant-ligatures:none;font-weight:400;line-height:22px;margin-top:5px;text-rendering:optimizelegibility;text-shadow:rgba(0,0,0,.01)0 0 1px}.pp-form-buider-settings-popup-container .pp-form-buider-settings-popup-body .pp-form-control{background-color:#fff;background-image:none;border:1px solid #ddd;border-radius:4px;box-shadow:none;display:inline-block;font-size:15px;height:40px;line-height:20px;margin:0;outline:0;padding:9px 14px;transition-delay:0s;transition-duration:.3s;transition-property:all;transition-timing-function:ease-in-out}.pp-form-buider-settings-popup-container .pp-form-buider-settings-popup-body .pp-form-control[type=checkbox],.pp-form-buider-settings-popup-container .pp-form-buider-settings-popup-body .pp-form-control[type=radio]{height:1rem}.pp-form-buider-settings-popup-container .pp-form-buider-settings-popup-body select.pp-form-control{background-image:url(../../images/frontend/arrow-down.png);background-position:right 20px center;background-repeat:no-repeat;background-size:10px auto;-webkit-appearance:none;-moz-appearance:none;appearance:none}.pp-form-buider-settings-popup-content .pp-form-control:not([type=checkbox]){width:100%!important;max-width:100%!important}.pp-form-buider-settings-popup-content .pp-form-buider-settings-popup-footer{-webkit-font-smoothing:antialiased;align-items:center;border-top:1px solid #e6e6e6;box-sizing:border-box;display:flex;font-variant-ligatures:none;outline:0;padding:30px;text-rendering:optimizelegibility;text-shadow:rgba(0,0,0,.01)0 0 1px}.pp-form-buider-settings-popup-content textarea.pp-form-control{max-width:100%;min-height:100px;resize:vertical;line-height:20px}.pp-form-buider-settings-popup-container .pp-form-buider-settings-field-close-btn{color:#aaa;float:right;font-size:28px;font-weight:700}.pp-form-buider-settings-popup-container .pp-form-buider-settings-field-close-btn:focus,.pp-form-buider-settings-popup-container .pp-form-buider-settings-field-close-btn:hover{color:#000;text-decoration:none;cursor:pointer}.ppSCB-tab-box-div .CodeMirror{width:100%!important;border:0;height:617px}.ppSCB-tab-box-div .form-table th{padding:20px 0}.pp_edit_form #titlediv div#titlewrap #title{width:80%!important}#titlewrap input.ppSCB-save-btn{margin:0 10px 5px;vertical-align:top;height:35px}.ppSCB-margin-r input[type=text],.ppSCB-margin-r select,.ppSCB-margin-r textarea{max-width:500px!important;width:100%!important}#post-body-content .form-table textarea.wp-editor-area,.remove_white_styling #post-body-content .form-table textarea.wp-editor-area,textarea.wp-editor-area{max-width:100%!important;width:100%!important}.ppSCB-tab-content{max-width:840px}#ppSettings.ppSCB-tab-content{padding:0 15px 15px}#ppSettings .ppSCB-tab-content-header{font-size:14px;background:#f5f5f5;padding:8px 5px;color:#333;margin:1em 0}.ppSCB-margin-r{margin-top:10px;margin-right:460px}.ppSCB-clear-both{clear:both}.ppSCB-margin-r h2.nav-tab-wrapper{border-bottom:0!important;padding-bottom:0!important;padding-left:0!important}.ppSCB-margin-r h2 .nav-tab{font-size:13px;line-height:25px;font-weight:400;padding:4px 10px!important;border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0}.ppSCB-margin-r .nav-tab-active,.ppSCB-margin-r .nav-tab-active:hover{background:#fff;font-weight:700!important;border-bottom:0;border-top:2px solid #1a9ac9;color:#0073aa}.ppSCB-margin-r .ppSCB-tab-box{float:left;width:100%}.ppSCB-margin-r .ppSCB-tab-box-div{background:#fff;border:1px solid #ccc;min-height:617px;padding:0}.ppSCB-margin-r .ppSCB-sidebar{float:right;border:1px solid #ccc;background:#fff;margin-right:-460px;width:440px;min-height:700.6px}.ppSCB-margin-r.passwordReset .ppSCB-sidebar{min-height:684.4px}.ppSCB-margin-r .ppSCB-sidebar h2{font-size:16px;text-align:center;color:#888;line-height:24px}.ppSCB-margin-r .ppSCB-sidebar iframe{width:100%!important;height:100%!important;min-height:649px}.ppSCB-margin-r .ppSCB-sidebar h3{border-bottom:1px solid #eee;margin:0;padding:10px;line-height:1.4;text-align:center;font-size:18px}.ppSCB-margin-r input.shortcode-in-list-table{float:right;width:250px!important;background:#fff;border:3px solid #eee;font-weight:400;font-size:15px;padding:4px 10px;line-height:normal}.ppSCB-margin-r .ppSCB-preview-h-left,.ppSCB-margin-r .ppSCB-preview-h-right{text-align:center;display:inline-block;width:49%;padding:14px 1.1px;cursor:pointer}.ppSCB-margin-r .ppSCB-preview-h-left h3,.ppSCB-margin-r .ppSCB-preview-h-right h3{display:inline;border:0;font-size:14px}.ppSCB-margin-r .ppSCB-preview-header{border-bottom:1px solid #eee}.ppSCB-margin-r .ppSCB-preview-active{background:#eee;color:#fff!important;border:0}.ppSCB #titlediv div#titlewrap #title{max-width:80%!important}.ppress-email-editor-wrap{margin:0;padding:0}.ppress-email-editor-wrap .pp-email-editor-tab{border-bottom:1px solid #ddd;margin:0;padding:0}.ppress-email-editor-wrap .pp-email-editor-tablinks{padding:8px 15px;color:#666;background-color:#fff;border:0;margin:0;cursor:pointer}.ppress-email-editor-wrap .pp-email-editor-tabcontent{border:1px solid #ddd;border-top:0;display:none}.ppress-email-editor-wrap .pp-email-editor-tablinks.ecode{margin-left:31px}.ppress-email-editor-wrap .pp-email-editor-tablinks.eactive{border:1px solid #ddd;border-bottom:0;margin-bottom:-1px;padding-bottom:9px}.ppress-email-editor-wrap .pp-email-editor-tabcontent.epreview{padding:10px 10px 8px;margin:0;max-height:450px;overflow:scroll}.wrap.ppview .pp-settings-wrap .CodeMirror{height:300px;width:600px}.ppview #social_login_settings .CodeMirror{height:230px}.wrap.ppview .pp-settings-wrap .ppress-email-editor-wrap .pp-email-editor-tabcontent .CodeMirror{height:400px;width:600px;border-top:0;padding:0 5px}.ppview .pp-custom-field-notice{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 10px;padding:1px 12px;display:block;border-left-color:#00a0d2;position:relative;clear:left}.ppview .pp-custom-field-notice p{margin:.5em 0;padding:2px 5px}.ppress_settings_data .pp-email-notification-status{margin-right:18px;font-size:28px;line-height:22px;color:#a00;float:left;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.ppress_settings_data .pp-email-notification-status.pp-is-active{color:#46b450}.ppress_settings_data .pp-email-notifications th.column-title.column-primary{padding-left:48px}.ppress_settings_data .pp-email-notifications .pp-email-configure span{line-height:24px}.ppress_settings_data .pp-email-notifications .column-configure{width:60px;text-align:center}.remove_white_styling #post-body-content .form-table input[type=password],.remove_white_styling #post-body-content .form-table input[type=text],.remove_white_styling #post-body-content .form-table select,.remove_white_styling #post-body-content .form-table textarea{max-width:630px!important;width:100%!important}.pp-below-text-field-success{background:#46b450;color:#fff;padding:2px 5px;width:100%;box-sizing:border-box}.remove_white_styling #post-body-content textarea{min-height:200px}.pp-custom-fields.remove_white_styling #post-body-content textarea{min-height:50px}.ppress-below-text-field-error{background:#ca4a1f;color:#fff;padding:2px 5px;width:100%;box-sizing:border-box}.ppress-placeholder-tags{overflow:scroll;height:300px;width:100%;margin:10px 0}.ppress-placeholder-tags tbody tr:first-of-type{background-color:#efefef}.ppress-placeholder-tags tbody tr th{padding:15px}.ppress-settings-page-notice{background:#ddd9;padding:15px}.ppress-hint-tooltip{display:inline;font-weight:400}#logs textarea.ppress-error-log-textarea{width:100%!important;max-width:100%!important;min-height:300px!important;color:rgba(51,51,51,.78)!important}.pp-custom-fields #post-body-content textarea{width:100%;min-height:initial}#ppContentProtectionContent .badge{-webkit-font-smoothing:antialiased;background:#a5b2bd;border-radius:2px;color:#fff;display:inline-block;font-size:11px;font-style:normal;font-weight:700;line-height:10px;padding:4px 5px;text-transform:uppercase;vertical-align:text-top;-webkit-transition:background-color .25s ease-in-out;-o-transition:background-color .25s ease-in-out;transition:background-color .25s ease-in-out}#ppContentProtectionContent{margin:1em 0 2em}#ppContentProtectionContent.actions .facet{padding-right:35px}#ppContentProtectionContent .condAction{background:#f9fafa;border:1px solid #d6dde3;border-radius:3px}#ppContentProtectionContent .facet{zoom:1;position:relative;padding:15px 30px 10px 20px}#ppContentProtectionContent .facet:after,#ppContentProtectionContent .facet:before{display:table;content:"";line-height:0}#ppContentProtectionContent .facet:after{clear:both}#ppContentProtectionContent .col{width:48%;float:none;box-sizing:border-box;display:inline-block}#ppContentProtectionContent .col input{margin-right:5px;width:184px}#ppContentProtectionContent .col:last-child{margin-right:0}#ppContentProtectionContent .col a{line-height:28px}#ppContentProtectionContent .input-append>input{margin-right:0}#ppContentProtectionContent .regex input[type=text],.ppress-admin .ppress-checkout-fields .widget.open .widget-inside{display:block}#ppContentProtectionContent .timeframe input,#ppContentProtectionContent .timeframe select{display:inline-block;float:none}#ppContentProtectionContent .timeframe input{width:40px}#ppContentProtectionContent .timeframe select{width:80px}#ppContentProtectionContent .icon-circle-minus{color:#a5b2bd}#ppContentProtectionContent .actions{position:absolute;right:10px;top:17px;border:1px solid #a5b2bd;border-radius:50%}#ppContentProtectionContent .actions a{margin:0;text-decoration:none}#ppContentProtectionContent .and{border-bottom:1px dashed #d6dde3;margin:.5em 0 1.7em;text-align:center}#ppContentProtectionContent .and a,#ppContentProtectionContent .and em,#ppContentProtectionContent .and label{background:#fff;font-size:1.2em;font-style:normal;margin:0 10px;padding:0 10px;position:relative;top:9px}#ppContentProtectionContent .and label{cursor:pointer;display:inline-block;top:12px}#ppContentProtectionContent .and a{left:-6.5px}#ppContentProtectionContent .actions a:hover .icon-circle-minus,#ppContentProtectionContent .and em{color:#4f5d6b}#ppContentProtectionContent .and input{margin:0}#ppContentProtectionContent .or{color:#93a1af;font-weight:500;margin-left:-21px;left:50%;position:absolute;top:-6px;background:#f9fafa;font-size:1.2em;padding:0 10px}#ppContentProtectionContent .add-or>.add{background:#f9fafa;font-size:1.2em;padding:0 10px;left:-6.5px;position:relative;top:-9px}#ppContentProtectionContent .add-or{text-align:center}#ppContentProtectionContent .facetList>.facet:first-child>.badge{display:none!important}#ppContentProtectionContent #workflowConditions .facetList .facet select{min-height:32px}#ppContentProtectionContent #workflowConditions .col input.select2-search__field{margin:0;min-height:0}#ppContentProtectionContent #workflowConditions .select2 li{margin-bottom:0}#post-body-content .content_protection .column-title{width:32%}#post-body-content .content_protection .column-content{width:43%}#post-body-content .content_protection .access{width:25%}.ppress-extensions-items-wrap *{box-sizing:border-box}.ppress-extensions-items-wrap .ppress-extensions-header{padding:20px 0 10px;border-bottom:2px solid #e8e8eb;margin:0 0 30px;display:flex;align-items:center}.ppress-extensions-items-wrap .ppress-extensions-header-buttons{flex:1 0}.ppress-extensions-items-wrap .ppress-extensions-button{height:35px;font-size:14px;padding:0 18px;margin-right:10px}.ppress-extensions-items-wrap .ppress-extensions-items-row{box-sizing:border-box;display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap;margin-right:-.5rem;margin-left:-.5rem}.ppress-extensions-items-wrap .ppress-extension-item-wrap{box-sizing:border-box;flex:0 0 auto;padding:.5rem;flex-basis:100%;max-width:100%}@media only screen and (min-width:782px){.ppress-extensions-items-wrap .ppress-extension-item-wrap{flex-basis:50%;max-width:50%}}@media only screen and (min-width:1042px){.ppress-extensions-items-wrap .ppress-extension-item-wrap{flex-basis:33.33333333%;max-width:33.33333333%}}.ppress-extensions-items-wrap .ppress-extension-item-card{height:100%;border:1px solid #e8e8eb;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.05);color:#141b38;display:flex;flex-direction:column}.ppress-extensions-items-wrap .ppress-extension-card-body{padding:30px 30px 20px;flex:1}.ppress-extensions-items-wrap .ppress-extension-card-body.ppress-unavailable{opacity:.5}.ppress-extensions-items-wrap .ppress-extension-card-header{display:flex;align-items:center;font-size:18px;font-weight:600;margin-bottom:16px}.ppress-extensions-items-wrap .ppress-extension-card-header .dashicons,.ppress-extensions-items-wrap .ppress-extension-card-header svg{width:35px;height:35px;margin-right:10px;font-size:35px}.ppress-extensions-items-wrap .ppress-extension-card-description{color:#434960;font-size:15px;line-height:22px}.ppress-extensions-items-wrap .ppress-extension-card-learn-more{margin-top:10px}.ppress-extensions-items-wrap .ppress-extension-card-footer{border:2px solid #fff;background-color:#f9f9fa;padding:12px;min-height:43px}.ppress-extensions-items-wrap .ppress-extension-card-install-activate{display:flex;align-items:center;justify-content:flex-end;height:30px;position:relative}.ppress-extensions-items-wrap .ppress-extension-card-install-activate .ppress-extension-card-status{font-weight:600;font-size:14px}.ppress-extensions-items-wrap .ppress-extension-use-switch{position:relative;cursor:pointer;background-color:#5a5a5a;border-radius:15px;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;transition:all .2s ease-in-out;vertical-align:middle;display:inline-block;margin:-2px 0 0 5px;width:36px;height:20px}.ppress-extensions-items-wrap .ppress-extension-card-install-activate input[type=checkbox]:checked+.ppress-extension-use-switch{background-color:#007cba}.ppress-extensions-items-wrap .ppress-extension-card-install-activate input[type=checkbox]{position:absolute;top:auto;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;white-space:nowrap}.ppress-extensions-items-wrap .ppress-extension-card-install-activate input[type=checkbox]:checked+.ppress-extension-use-switch:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ppress-extensions-items-wrap .ppress-extension-use-switch:before{position:absolute;content:"";height:16px;width:16px;left:2px;top:2px;background-color:#fff;border-radius:50%;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ppress-extensions-items-wrap .ppress-extension-card-learn-more .no-underline{text-decoration:none}.ppress-extensions-items-wrap .ppress-extensions-upgrade-cta{display:flex;align-items:center;justify-content:flex-end}.ppress-extensions-items-wrap .ppress-extension-status{font-weight:700;color:#393f4c}.ppress-extensions-items-wrap .ppress-extension-status span{color:#777;font-weight:600}.ppress-extensions-upsell-wrap{margin-top:10px;padding:20px;background:#fff;border-left:3px solid #007cba;line-height:1.5;font-size:14px}.ppress-extensions-upsell-wrap .notice-content{display:-webkit-box;display:-ms-flexbox;display:flex}.ppress-extensions-upsell-wrap .ppress-extensions-upsell-button{flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;margin-left:auto;border-width:1px 1px 2px;border-radius:3px;cursor:pointer;display:inline-block;font-size:14px;text-decoration:none;margin-top:0;line-height:1}.ppress-extensions-upsell-wrap .ppress-extensions-upsell-button a{padding:5px 15px}.ppress-extensions-upsell-wrap .ppress-extensions-upsell-highlight{font-weight:700;color:#007cba}.ppress-admin .ppress-admin-banner{background-color:#326ee0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative;top:0;width:100%;padding:15px}.ppress-admin .ppress-admin-wrap{margin-bottom:10px}.ppress-admin .ppress-admin-banner.ppress-pro{padding:15px 15px 0}.ppress-admin .ppress-admin-banner.ppress-pro.ppress-no-submenu{padding-bottom:15px}.ppress-admin .wrap{padding-left:20px;margin:0 20px 0 2px}.wp-admin.ppress-admin #wpcontent{padding:0}.ppress-admin .ppress-admin-banner__logo{padding:0 0 15px;display:block}.ppress-admin .ppress-admin-banner__logo img{width:140px;height:auto;float:left;margin-top:20px;padding-left:15px}.ppress-admin .ppress-admin-banner__helplinks{float:right;padding:10px 20px 20px}.ppress-admin .ppress-admin-banner__helplinks a{color:rgba(255,255,255,.92);text-decoration:none}.ppress-admin .ppress-admin-banner__helplinks a.ppress-active{background:#fff;padding:5px;color:#326ee0;border-radius:4px}.ppress-admin .ppress-admin-banner__helplinks>span{padding-right:15px}.ppress-admin div#screen-meta-links{position:absolute;right:0;z-index:9}.ppress-admin .ppress-nav-tab-wrapper{padding:0;margin:10px 16px 0;border-bottom:0}.ppress-admin .ppress-nav-tab-wrapper .ppress-nav-tab{display:block;font-weight:500;padding:5px 12px;text-decoration:none;border:1px solid transparent;background-color:transparent;color:rgba(255,255,255,.92);margin:0}.ppress-admin .ppress-nav-tab-wrapper .ppress-nav-tab.ppress-nav-active{background-color:#fff;color:#2d3559;border-color:#fff;border-radius:4px 4px 0 0}.ppress-admin-banner.ppress-not-pro{padding-bottom:0}.ppress-admin .ppress-no-submenu .ppress-nav-tab-wrapper,.ppress-admin .ppress_checkout_fields div#widgets-right .widgets-holder-wrap{margin-top:0}.ppress-admin-banner .ppress-header-menus{margin-top:10px}.ppress-admin .ppress-admin-wrap+.wrap h2{font-size:21px;font-weight:500}.ppress-admin .ppress-admin-wrap .subsubsub{background:#fff;font-size:14px;padding:0 32px;margin-top:0;float:none;text-align:left}.ppress-admin .ppress-admin-wrap .subsubsub a{color:#1d2327;display:block;font-weight:600;padding:8px 12px}.ppress-admin .ppress-admin-wrap .subsubsub a.ppress-current{color:#326ee0}.ppress-admin.wp-core-ui .wrap a.ppress-link{display:block;margin-top:10px;font-size:1em}.ppress-admin.wp-core-ui .wrap a.ppress-link svg{width:1.2em;margin:0 .2em;height:1.4em;vertical-align:middle;fill:currentcolor}.ppview .pp-alert-notice,.profile-php .pp-alert-success{background:#fff;border:1px solid #c3c4c7;border-left-width:4px;box-shadow:rgba(0,0,0,.04)0 1px 1px 0;margin:5px 2px;padding:1px 12px;border-left-color:#d63638}.profile-php .pp-alert-success{border-left-color:#72aee6;padding:8px 10px}.ppview .pp-alert-notice-info{border-left-color:#72aee6}.ppview .pp-alert-notice p,.profile-php .pp2fa-up-notice p{margin:.5em 0;padding:2px}.profile-php .ppmyac-2fa-recovery-codes-wrap pre{background:#fff;max-width:150px;border:1px solid #c3c4c7;width:100%;text-align:center;padding:10px 20px;margin-bottom:20px;line-height:1.8;overflow:auto}.ppress-admin .subscription_plan .manage-column.column-name{width:25%}.ppress-admin .subscription_plan .manage-column.column-status{width:10%}.ppress-admin .subscription_plan .manage-column.column-checkout_url{width:20%}.ppress-admin .ppress_checkout_fields .widget-liquid-left{width:50%;padding:0 10px 0 0;box-sizing:border-box}.ppress-admin .ppress_checkout_fields .widget-liquid-left:last-of-type{padding-right:0}.ppress-admin #poststuff.ppress_checkout_fields h2{font-size:1.3em}.ppress-admin .ppress-checkout-fields{min-height:50px;border:2px dashed #eee;padding:20px}.ppress-admin .ppress-checkout-add-field select{margin:0 10px;width:50%;vertical-align:baseline}.ppress-admin .ppress-checkout-fields .widget-inside input,.ppress-admin .ppress-checkout-fields .widget-inside select{width:100%;display:block}.ppress-admin .ppress_checkout_fields .ppress-submit-wrap{text-align:right;padding:0 0 1em}.ppress-admin .ppress_checkout_fields .ppress-submit-wrap .button{min-height:35px;padding:0 15px}.ppress-admin .ppress-checkout-fields .sortable-placeholder{padding:20px;border:1px dashed #c3c4c7;margin-bottom:20px}.ppress_payment_methods #post-body-content .form-table .ppress-payment-methods-wrap th,.ppress_taxes #post-body-content .form-table .ppress-tax-rates-wrap th{padding:10px}.ppress_payment_methods .ppress-payment-methods-wrap .ppress-payment-method-icon,.ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-actions .ppress-tax-rate-icon{background:#aaa;border-radius:50%!important;padding:2px 2px 4px;color:#fff}.ppress_payment_methods .ppress-payment-methods-wrap .ppress-payment-method-icon.ico-yes{background:#2271b1}.ppress_payment_methods #post-body-content .ppress-payment-methods-wrap td.ppress-payment-method-table-title{font-weight:700}.ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-sort{text-align:center;width:.5em!important;cursor:move}.ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-title{width:15em!important}.ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-actions{width:1em!important}.ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-enabled{width:5em!important}.ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-subscription-support{width:8em!important;text-align:center}.ppress_payment_methods #post-body-content .ppress-payment-methods-wrap tr:nth-child(odd) td{background:#f9f9f9}.ppress_payment_methods.ppress-payment-methods-list .postbox .inside{padding:0!important;margin:0!important}.ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-actions{width:1.5em!important}.ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-rate{width:2.5em!important}.ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-tax-name{width:12em!important}.ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-icon{cursor:pointer}.ppress_taxes .ppress-tax-rates-wrap table tbody tr{background-color:#f9f9f9}.ppview .ppress-admin-status-badge{padding:2px 7px;border-radius:4px;background:#ececec;display:inline-flex;align-items:center}.ppview .ppress-admin-status-badge__icon{opacity:.8;margin:0-2px 0 2px}.ppview .ppress-admin-status-badge--failed,.ppview .ppress-admin-status-badge--failing{color:#ac3d3d;background:#ffd6d6}.ppview .ppress-admin-status-badge--failed .ppress-admin-status-badge__icon{margin-left:0;margin-top:-1px}.ppview .ppress-admin-status-badge--active,.ppview .ppress-admin-status-badge--completed{color:#017d5c;background:#e5f5f0}.ppview .ppress-admin-status-badge--complete .ppress-admin-status-badge__icon{margin-left:0}.ppview .ppress-admin-status-badge--pending{color:#7d6e01;background:#f5f2e5}.ppress-admin-status-badge--processing,.ppress-admin-status-badge--trialling{color:#015a7d;background:#e5f1f5}.ppview .order.ppview th.column-order_total{width:8%}.ppview .order.ppview th.column-status{width:12%}.ppview .order.ppview th.column-plan{width:15%}.ppview .order.ppview th.column-date_created{width:14%}.ppview .order.ppview th.column-payment_method{width:12%}#ppress-filters{padding:10px;margin:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}#ppress-filters .filter-items{display:flex;align-items:center;flex-wrap:wrap;gap:6px;float:none;flex-grow:1}#ppress-filters .filter-items .ppress-date-range-options{display:inline-block;margin:10px 0}#ppress-filters>p{color:#757575}#ppress-filters input[type=number],#ppress-filters input[type=text].ppress_datepicker{max-width:105px}#ppress-filters .button-secondary,#ppress-filters input[type=number]{margin-bottom:0}#ppress-filters .search-form{margin:0}@media screen and (max-width:480px){#ppress-filters span{margin:2px 0}}#ppress-advanced-filters{position:relative}#ppress-advanced-filters .inside{z-index:99;position:absolute;top:29px;right:0;border:1px solid #e0e0e0;padding:0;background:#fff;box-shadow:0 3px 5px rgba(0,0,0,.2);min-width:285px;opacity:0;visibility:hidden}#ppress-advanced-filters fieldset{display:block;padding:10px 15px 15px;margin:10px 0}#ppress-advanced-filters fieldset:not(:last-of-type){border-bottom:1px solid #e0e0e0}#ppress-advanced-filters fieldset:last-of-type{padding-bottom:5px}#ppress-advanced-filters fieldset.ppress-add-on-filters div,#ppress-advanced-filters fieldset.ppress-add-on-filters label,#ppress-advanced-filters fieldset.ppress-add-on-filters p,#ppress-advanced-filters fieldset.ppress-add-on-filters span{display:block;margin-bottom:2px}#ppress-advanced-filters div.ppress-select-chosen:not(:last-child){margin-bottom:10px}#ppress-advanced-filters.open .ppress-advanced-filters-button{background:#e0e0e0;border-color:#949494;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);transform:translateY(1px)}#ppress-advanced-filters.open .inside{visibility:visible;opacity:1;transition:opacity .2s ease-in}.ppress_datepicker{height:29px}.ppress-from-to-wrapper input{width:105px;margin:0;position:relative;z-index:1}.ppress-from-to-wrapper input[name*=start],.ppress-from-to-wrapper input[name=filter_from]{border-top-right-radius:0;border-bottom-right-radius:0}.ppress-from-to-wrapper input[name*=end],.ppress-from-to-wrapper input[name=filter_to]{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.ppress-from-to-wrapper span#ppress-end-date-wrap{margin-left:-4px}.ppress-from-to-wrapper input:focus{z-index:2;position:relative}.ppview .wp-list-table .post-state{display:none}.ppview .subscription.ppview .ppress-line-header{display:block;font-weight:500}.ppview .subscription.ppview .ppress-line-note{display:block;font-size:12px}.ppview .subscription.ppview .ppress-line-header a{font-weight:400}.ppview .subscription.ppview th.column-initial_payment,.ppview .subscription.ppview th.column-renewal_date{width:14%}.ppview .subscription.ppview th.column-plan{width:20%}.ppview .subscription.ppview th.column-status{width:12%}.ppress-admin .ppview .ppress_customers th#customer_last_login{width:13%}.ppress-admin .ppview .ppress_customers th#customer_since{width:14%}.ppress-admin .ppview .ppress_customers th#customer_email{width:17%}.ppress-admin .ppview .ppress_customers th#customer_subscriptions{width:16%}.ppress-report-charts-container *{box-sizing:border-box}.ppress-report-charts-container{width:100%}.ppress-report-charts-container dl.ppress-report-chart-top-card-item-wrap{display:grid;overflow:hidden;margin-top:1.25rem;background-color:#fff;border-radius:.5rem;border-color:#e5e7eb;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);border-left-width:1px;border-top-width:0;grid-template-columns:repeat(4,1fr)}.ppress-report-charts-container .ppress-report-chart-top-card-item{padding:24px;border-right:1px solid #e5e7eb}.ppress-report-charts-container dt.ppress-report-chart-top-card-item-header{color:#6b7280;font-size:1rem;line-height:1.5rem;font-weight:400}.ppress-report-charts-container dd.ppress-report-chart-top-card-item-content-wrap{display:flex;margin:4px 0 12px;justify-content:space-between;align-items:baseline}.ppress-report-charts-container .ppress-report-chart-top-card-item-content{display:flex;color:#111827;font-size:1.5rem;line-height:2rem;font-weight:600;align-items:baseline}.ppress-report-charts-container .ppress-report-chart-top-card-item:last-child{border-right:0}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap p.ppress-report-chart-bottom-card-item-trend.negative{color:#991b1b}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-wrap{display:grid;margin-top:1.25rem;gap:1.25rem;grid-template-columns:repeat(2,minmax(0,1fr))}.ppress-report-charts-container .ppress-report-chart-bottom-card-item{overflow:hidden;position:relative;background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);padding:1.5rem}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-chart{margin:0;margin-top:1.5rem}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-header p{color:#6b7280;font-size:.875rem;line-height:1.25rem;font-weight:500;overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap{display:flex;padding-bottom:0;margin:0;align-items:baseline}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap p{color:#111827;font-size:1.5rem;line-height:2rem;font-weight:600;margin:0}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap p.ppress-report-chart-bottom-card-item-trend{display:flex;margin-left:.5rem;color:#059669;font-size:.875rem;line-height:1.25rem;font-weight:600;align-items:baseline}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-view-more-block{position:absolute;right:0;left:0;bottom:0;background-color:#f9fafb;padding:1rem 1.5rem;font-size:.875rem;line-height:1.25rem}.ppress-report-charts-container .ppress-report-chart-bottom-card-item-view-more-block a{font-weight:500;text-decoration:none}
assets/css/{admin-style.css → admin/admin.css} RENAMED
@@ -1,4 +1,6 @@
1
- @import url('https://fonts.googleapis.com/css?family=Open+Sans|Rye|Work+Sans');
 
 
2
 
3
  .pp-dnd-form-builder-wrap #titlediv span.shortcode input,
4
  .ppSCB-margin-r #titlediv span.shortcode input {
@@ -112,9 +114,15 @@
112
  .ppview .postbox input[type=number], .ppview input[type=password],
113
  .ppview .postbox input[type=text],
114
  .ppview .postbox select,
115
- .ppview .postbox textarea {
116
- width: 500px !important;
117
- max-width: 500px !important;
 
 
 
 
 
 
118
  }
119
 
120
  .pp-form-listing .pp_forms input.shortcode-in-list-table {
@@ -610,7 +618,7 @@
610
  right: -8px;
611
  width: 90px;
612
  height: 81px;
613
- background-image: url(../images/themes/premium-theme.png);
614
  background-size: 90px 81px;
615
  transform: rotate(70deg)
616
  }
@@ -989,7 +997,7 @@ pp-form-buider-settings-popup-tab-content .pp-form-double-column {
989
  }
990
 
991
  .pp-form-buider-settings-popup-container .pp-form-buider-settings-popup-body select.pp-form-control {
992
- background-image: url(../images/frontend/arrow-down.png);
993
  background-position: right 20px center;
994
  background-repeat: no-repeat;
995
  background-size: 10px auto;
@@ -1321,6 +1329,7 @@ textarea.wp-editor-area {
1321
  }
1322
 
1323
  .remove_white_styling #post-body-content .form-table input[type=text],
 
1324
  .remove_white_styling #post-body-content .form-table select,
1325
  .remove_white_styling #post-body-content .form-table textarea {
1326
  max-width: 630px !important;
@@ -1988,12 +1997,12 @@ textarea.wp-editor-area {
1988
  fill: currentcolor;
1989
  }
1990
 
1991
- .profile-php .pp-alert-success,
1992
- .profile-php .pp2fa-up-notice {
1993
  background: #fff;
1994
  border: 1px solid #c3c4c7;
1995
  border-left-width: 4px;
1996
- box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
1997
  margin: 5px 2px;
1998
  padding: 1px 12px;
1999
  border-left-color: #d63638;
@@ -2004,6 +2013,11 @@ textarea.wp-editor-area {
2004
  padding: 8px 10px;
2005
  }
2006
 
 
 
 
 
 
2007
  .profile-php .pp2fa-up-notice p {
2008
  margin: .5em 0;
2009
  padding: 2px;
@@ -2014,9 +2028,548 @@ textarea.wp-editor-area {
2014
  max-width: 150px;
2015
  border: 1px solid #c3c4c7;
2016
  width: 100%;
2017
- text-align:center;
2018
  padding: 10px 20px;
2019
  margin-bottom: 20px;
2020
  line-height: 1.8;
2021
  overflow: auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2022
  }
1
+ @import url('edit-order-sub.css');
2
+ @import url('ppress-menu.css');
3
+ @import url('membership-checklist-header.css');
4
 
5
  .pp-dnd-form-builder-wrap #titlediv span.shortcode input,
6
  .ppSCB-margin-r #titlediv span.shortcode input {
114
  .ppview .postbox input[type=number], .ppview input[type=password],
115
  .ppview .postbox input[type=text],
116
  .ppview .postbox select,
117
+ .ppview .postbox textarea,
118
+ .ppview .postbox .wp-editor-wrap {
119
+ width: 550px !important;
120
+ max-width: 550px !important;
121
+ }
122
+
123
+ .ppview .postbox [id*='email_content-wrap'].wp-editor-wrap {
124
+ width: 100% !important;
125
+ max-width: 100% !important;
126
  }
127
 
128
  .pp-form-listing .pp_forms input.shortcode-in-list-table {
618
  right: -8px;
619
  width: 90px;
620
  height: 81px;
621
+ background-image: url(../../images/themes/premium-theme.png);
622
  background-size: 90px 81px;
623
  transform: rotate(70deg)
624
  }
997
  }
998
 
999
  .pp-form-buider-settings-popup-container .pp-form-buider-settings-popup-body select.pp-form-control {
1000
+ background-image: url(../../images/frontend/arrow-down.png);
1001
  background-position: right 20px center;
1002
  background-repeat: no-repeat;
1003
  background-size: 10px auto;
1329
  }
1330
 
1331
  .remove_white_styling #post-body-content .form-table input[type=text],
1332
+ .remove_white_styling #post-body-content .form-table input[type=password],
1333
  .remove_white_styling #post-body-content .form-table select,
1334
  .remove_white_styling #post-body-content .form-table textarea {
1335
  max-width: 630px !important;
1997
  fill: currentcolor;
1998
  }
1999
 
2000
+ .ppview .pp-alert-notice,
2001
+ .profile-php .pp-alert-success {
2002
  background: #fff;
2003
  border: 1px solid #c3c4c7;
2004
  border-left-width: 4px;
2005
+ box-shadow: rgba(0, 0, 0, 0.04) 0 1px 1px 0;
2006
  margin: 5px 2px;
2007
  padding: 1px 12px;
2008
  border-left-color: #d63638;
2013
  padding: 8px 10px;
2014
  }
2015
 
2016
+ .ppview .pp-alert-notice-info {
2017
+ border-left-color: #72aee6;
2018
+ }
2019
+
2020
+ .ppview .pp-alert-notice p,
2021
  .profile-php .pp2fa-up-notice p {
2022
  margin: .5em 0;
2023
  padding: 2px;
2028
  max-width: 150px;
2029
  border: 1px solid #c3c4c7;
2030
  width: 100%;
2031
+ text-align: center;
2032
  padding: 10px 20px;
2033
  margin-bottom: 20px;
2034
  line-height: 1.8;
2035
  overflow: auto;
2036
+ }
2037
+
2038
+ .ppress-admin .subscription_plan .manage-column.column-name {
2039
+ width: 25%;
2040
+ }
2041
+
2042
+ .ppress-admin .subscription_plan .manage-column.column-status {
2043
+ width: 10%;
2044
+ }
2045
+
2046
+ .ppress-admin .subscription_plan .manage-column.column-checkout_url {
2047
+ width: 20%;
2048
+ }
2049
+
2050
+ .ppress-admin .ppview .postbox .ppress-subscription-plan-payment-links input {
2051
+ width: 100% !important;
2052
+ max-width: 100% !important;
2053
+ }
2054
+
2055
+ /* checkout field manager */
2056
+ .ppress-admin .ppress_checkout_fields .widget-liquid-left {
2057
+ width: 50%;
2058
+ padding: 0 10px 0 0;
2059
+ box-sizing: border-box;
2060
+ }
2061
+
2062
+ .ppress-admin .ppress_checkout_fields .widget-liquid-left:last-of-type {
2063
+ padding-right: 0;
2064
+ }
2065
+
2066
+ .ppress-admin #poststuff.ppress_checkout_fields h2 {
2067
+ font-size: 1.3em;
2068
+ }
2069
+
2070
+ .ppress-admin .ppress-checkout-fields {
2071
+ min-height: 50px;
2072
+ border: 2px dashed #eee;
2073
+ padding: 20px;
2074
+ }
2075
+
2076
+ .ppress-admin .ppress-checkout-add-field select {
2077
+ margin: 0 10px;
2078
+ width: 50%;
2079
+ vertical-align: baseline;
2080
+ }
2081
+
2082
+ .ppress-admin .ppress_checkout_fields div#widgets-right .widgets-holder-wrap {
2083
+ margin-top: 0;
2084
+ }
2085
+
2086
+ .ppress-admin .ppress-checkout-fields .widget-inside select,
2087
+ .ppress-admin .ppress-checkout-fields .widget-inside input {
2088
+ width: 100%;
2089
+ display: block;
2090
+ }
2091
+
2092
+ .ppress-admin .ppress-checkout-fields .widget.open .widget-inside {
2093
+ display: block;
2094
+ }
2095
+
2096
+ .ppress-admin .ppress_checkout_fields .ppress-submit-wrap {
2097
+ text-align: right;
2098
+ padding: 0 0 1em;
2099
+ }
2100
+
2101
+ .ppress-admin .ppress_checkout_fields .ppress-submit-wrap .button {
2102
+ min-height: 35px;
2103
+ padding: 0 15px;
2104
+ }
2105
+
2106
+ .ppress-admin .ppress-checkout-fields .sortable-placeholder {
2107
+ padding: 20px 20px;
2108
+ border: 1px dashed #c3c4c7;
2109
+ margin-bottom: 20px;
2110
+ }
2111
+
2112
+ .ppress_payment_methods #post-body-content .form-table .ppress-payment-methods-wrap th,
2113
+ .ppress_taxes #post-body-content .form-table .ppress-tax-rates-wrap th {
2114
+ padding: 10px 10px;
2115
+ }
2116
+
2117
+ .ppress_payment_methods .ppress-payment-methods-wrap .ppress-payment-method-icon,
2118
+ .ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-actions .ppress-tax-rate-icon {
2119
+ background: #aaa;
2120
+ border-radius: 50% !important;
2121
+ padding: 2px;
2122
+ padding-bottom: 4px;
2123
+ color: #fff;
2124
+ }
2125
+
2126
+ /* payment methods UI*/
2127
+
2128
+ .ppress_payment_methods .ppress-payment-methods-wrap .ppress-payment-method-icon.ico-yes {
2129
+ background: #2271b1;
2130
+ }
2131
+
2132
+ .ppress_payment_methods #post-body-content .ppress-payment-methods-wrap td.ppress-payment-method-table-title {
2133
+ font-weight: 700;
2134
+ }
2135
+
2136
+ .ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-sort {
2137
+ text-align: center;
2138
+ width: 0.5em !important;
2139
+ cursor: move;
2140
+ }
2141
+
2142
+ .ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-title {
2143
+ width: 15em !important;
2144
+ }
2145
+
2146
+ .ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-actions {
2147
+ width: 1em !important;
2148
+ }
2149
+
2150
+ .ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-enabled {
2151
+ width: 5em !important;
2152
+ }
2153
+
2154
+ .ppress_payment_methods #post-body-content .ppress-payment-methods-wrap .ppress-payment-method-table-subscription-support {
2155
+ width: 8em !important;
2156
+ text-align: center;
2157
+ }
2158
+
2159
+ .ppress_payment_methods #post-body-content .ppress-payment-methods-wrap tr:nth-child(odd) td {
2160
+ background: #f9f9f9;
2161
+ }
2162
+
2163
+ .ppress_payment_methods.ppress-payment-methods-list .postbox .inside {
2164
+ padding: 0 !important;
2165
+ margin: 0 !important;
2166
+ }
2167
+
2168
+ /* Tax rates UI */
2169
+ .ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-actions {
2170
+ width: 1.5em !important;
2171
+ }
2172
+
2173
+ .ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-rate {
2174
+ width: 2.5em !important;
2175
+ }
2176
+
2177
+ .ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-table-tax-name {
2178
+ width: 12em !important;
2179
+ }
2180
+
2181
+ .ppress_taxes .ppress-tax-rates-wrap .ppress-tax-rate-icon {
2182
+ cursor: pointer;
2183
+ }
2184
+
2185
+ .ppress_taxes .ppress-tax-rates-wrap table tbody tr {
2186
+ background-color: #f9f9f9;
2187
+ }
2188
+
2189
+ /* order listing table UI */
2190
+ .ppview .ppress-admin-status-badge {
2191
+ padding: 2px 7px;
2192
+ border-radius: 4px;
2193
+ background: #ececec;
2194
+ display: inline-flex;
2195
+ align-items: center
2196
+ }
2197
+
2198
+ .ppview .ppress-admin-status-badge__icon {
2199
+ opacity: .8;
2200
+ margin: 0 -2px 0 2px
2201
+ }
2202
+
2203
+ .ppview .ppress-admin-status-badge--failed,
2204
+ .ppview .ppress-admin-status-badge--failing {
2205
+ color: #ac3d3d;
2206
+ background: #ffd6d6
2207
+ }
2208
+
2209
+ .ppview .ppress-admin-status-badge--failed .ppress-admin-status-badge__icon {
2210
+ margin-left: 0;
2211
+ margin-top: -1px
2212
+ }
2213
+
2214
+ .ppview .ppress-admin-status-badge--completed,
2215
+ .ppview .ppress-admin-status-badge--active {
2216
+ color: #017d5c;
2217
+ background: #e5f5f0
2218
+ }
2219
+
2220
+ .ppview .ppress-admin-status-badge--complete .ppress-admin-status-badge__icon {
2221
+ margin-left: 0
2222
+ }
2223
+
2224
+ .ppview .ppress-admin-status-badge--pending {
2225
+ color: #7d6e01;
2226
+ background: #f5f2e5;
2227
+ }
2228
+
2229
+ .ppress-admin-status-badge--processing,
2230
+ .ppress-admin-status-badge--trialling {
2231
+ color: #015a7d;
2232
+ background: #e5f1f5
2233
+ }
2234
+
2235
+ .ppview .order.ppview th.column-order_total {
2236
+ width: 8%;
2237
+ }
2238
+
2239
+ .ppview .order.ppview th.column-status {
2240
+ width: 12%;
2241
+ }
2242
+
2243
+ .ppview .order.ppview th.column-plan {
2244
+ width: 15%;
2245
+ }
2246
+
2247
+ .ppview .order.ppview th.column-date_created {
2248
+ width: 14%;
2249
+ }
2250
+
2251
+ .ppview .order.ppview th.column-payment_method {
2252
+ width: 12%;
2253
+ }
2254
+
2255
+ #ppress-filters {
2256
+ padding: 10px;
2257
+ margin: 0;
2258
+ display: flex;
2259
+ justify-content: space-between;
2260
+ flex-wrap: wrap;
2261
+ gap: 8px
2262
+ }
2263
+
2264
+ #ppress-filters .filter-items {
2265
+ display: flex;
2266
+ align-items: center;
2267
+ flex-wrap: wrap;
2268
+ gap: 6px;
2269
+ float: none;
2270
+ flex-grow: 1
2271
+ }
2272
+
2273
+ #ppress-filters .filter-items .ppress-date-range-options {
2274
+ display: inline-block;
2275
+ margin: 10px 0
2276
+ }
2277
+
2278
+ #ppress-filters > p {
2279
+ color: #757575
2280
+ }
2281
+
2282
+ #ppress-filters input[type=number], #ppress-filters input[type=text].ppress_datepicker {
2283
+ max-width: 105px
2284
+ }
2285
+
2286
+ #ppress-filters .button-secondary, #ppress-filters input[type=number] {
2287
+ margin-bottom: 0
2288
+ }
2289
+
2290
+ #ppress-filters .search-form {
2291
+ margin: 0
2292
+ }
2293
+
2294
+ @media screen and (max-width: 480px) {
2295
+ #ppress-filters span {
2296
+ margin: 2px 0
2297
+ }
2298
+ }
2299
+
2300
+ #ppress-advanced-filters {
2301
+ position: relative
2302
+ }
2303
+
2304
+ #ppress-advanced-filters .inside {
2305
+ z-index: 99;
2306
+ position: absolute;
2307
+ top: 29px;
2308
+ right: 0;
2309
+ border: 1px solid #e0e0e0;
2310
+ padding: 0;
2311
+ background: #fff;
2312
+ box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
2313
+ min-width: 285px;
2314
+ opacity: 0;
2315
+ visibility: hidden
2316
+ }
2317
+
2318
+ #ppress-advanced-filters fieldset {
2319
+ display: block;
2320
+ padding: 10px 15px 15px;
2321
+ margin: 10px 0
2322
+ }
2323
+
2324
+ #ppress-advanced-filters fieldset:not(:last-of-type) {
2325
+ border-bottom: 1px solid #e0e0e0
2326
+ }
2327
+
2328
+ #ppress-advanced-filters fieldset:last-of-type {
2329
+ padding-bottom: 5px
2330
+ }
2331
+
2332
+ #ppress-advanced-filters fieldset.ppress-add-on-filters div, #ppress-advanced-filters fieldset.ppress-add-on-filters label, #ppress-advanced-filters fieldset.ppress-add-on-filters p, #ppress-advanced-filters fieldset.ppress-add-on-filters span {
2333
+ display: block;
2334
+ margin-bottom: 2px
2335
+ }
2336
+
2337
+ #ppress-advanced-filters div.ppress-select-chosen:not(:last-child) {
2338
+ margin-bottom: 10px
2339
+ }
2340
+
2341
+ #ppress-advanced-filters.open .ppress-advanced-filters-button {
2342
+ background: #e0e0e0;
2343
+ border-color: #949494;
2344
+ box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, .5);
2345
+ transform: translateY(1px)
2346
+ }
2347
+
2348
+ #ppress-advanced-filters.open .inside {
2349
+ visibility: visible;
2350
+ opacity: 1;
2351
+ transition: opacity .2s ease-in
2352
+ }
2353
+
2354
+ .ppress_datepicker {
2355
+ height: 29px
2356
+ }
2357
+
2358
+ .ppress-from-to-wrapper input {
2359
+ width: 105px;
2360
+ margin: 0;
2361
+ position: relative;
2362
+ z-index: 1
2363
+ }
2364
+
2365
+ .ppress-from-to-wrapper input[name*=start], .ppress-from-to-wrapper input[name=filter_from] {
2366
+ border-top-right-radius: 0;
2367
+ border-bottom-right-radius: 0
2368
+ }
2369
+
2370
+ .ppress-from-to-wrapper input[name*=end], .ppress-from-to-wrapper input[name=filter_to] {
2371
+ margin-left: -1px;
2372
+ border-top-left-radius: 0;
2373
+ border-bottom-left-radius: 0
2374
+ }
2375
+
2376
+ .ppress-from-to-wrapper span#ppress-end-date-wrap {
2377
+ margin-left: -4px;
2378
+ }
2379
+
2380
+ .ppress-from-to-wrapper input:focus {
2381
+ z-index: 2;
2382
+ position: relative
2383
+ }
2384
+
2385
+ .ppview .wp-list-table .post-state {
2386
+ display: none;
2387
+ }
2388
+
2389
+ .ppview .wp-list-table tr:hover .post-state {
2390
+ display: inline-block;
2391
+ }
2392
+
2393
+ /* subscription listing table UI */
2394
+ .ppview .subscription.ppview .ppress-line-header {
2395
+ display: block;
2396
+ font-weight: 500;
2397
+ }
2398
+
2399
+ .ppview .subscription.ppview .ppress-line-note {
2400
+ display: block;
2401
+ font-size: 12px;
2402
+ }
2403
+
2404
+ .ppview .subscription.ppview .ppress-line-header a {
2405
+ font-weight: normal;
2406
+ }
2407
+
2408
+ .ppview .subscription.ppview th.column-renewal_date {
2409
+ width: 14%;
2410
+ }
2411
+
2412
+ .ppview .subscription.ppview th.column-initial_payment {
2413
+ width: 14%;
2414
+ }
2415
+
2416
+ .ppview .subscription.ppview th.column-plan {
2417
+ width: 20%;
2418
+ }
2419
+
2420
+ .ppview .subscription.ppview th.column-status {
2421
+ width: 12%;
2422
+ }
2423
+
2424
+ .ppress-admin .ppview .ppress_customers th#customer_last_login {
2425
+ width: 13%
2426
+ }
2427
+
2428
+ .ppress-admin .ppview .ppress_customers th#customer_since {
2429
+ width: 14%;
2430
+ }
2431
+
2432
+ .ppress-admin .ppview .ppress_customers th#customer_email {
2433
+ width: 17%;
2434
+ }
2435
+
2436
+ .ppress-admin .ppview .ppress_customers th#customer_subscriptions {
2437
+ width: 16%;
2438
+ }
2439
+
2440
+ /* ProfilePress Report */
2441
+ .ppress-report-charts-container * {
2442
+ box-sizing: border-box;
2443
+ }
2444
+
2445
+ .ppress-report-charts-container {
2446
+ width: 100%;
2447
+ }
2448
+
2449
+ .ppress-report-charts-container dl.ppress-report-chart-top-card-item-wrap {
2450
+ display: grid;
2451
+ overflow: hidden;
2452
+ margin-top: 1.25rem;
2453
+ background-color: #ffffff;
2454
+ border-radius: 0.5rem;
2455
+ border-color: #E5E7EB;
2456
+
2457
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
2458
+ border-left-width: 1px;
2459
+ border-top-width: 0;
2460
+ grid-template-columns: repeat(4, 1fr);
2461
+ }
2462
+
2463
+ .ppress-report-charts-container .ppress-report-chart-top-card-item {
2464
+ padding: 24px;
2465
+ border-right: 1px solid #e5e7eb;
2466
+ }
2467
+
2468
+ .ppress-report-charts-container dt.ppress-report-chart-top-card-item-header {
2469
+ color: #6B7280;
2470
+ font-size: 1rem;
2471
+ line-height: 1.5rem;
2472
+ font-weight: 400;
2473
+ }
2474
+
2475
+ .ppress-report-charts-container dd.ppress-report-chart-top-card-item-content-wrap {
2476
+ display: flex;
2477
+ margin: 0;
2478
+ margin-top: 4px;
2479
+ margin-bottom: 12px;
2480
+ justify-content: space-between;
2481
+ align-items: baseline;
2482
+ }
2483
+
2484
+ .ppress-report-charts-container .ppress-report-chart-top-card-item-content {
2485
+ display: flex;
2486
+ color: #111827;
2487
+ font-size: 1.5rem;
2488
+ line-height: 2rem;
2489
+ font-weight: 600;
2490
+ align-items: baseline;
2491
+ }
2492
+
2493
+ .ppress-report-charts-container .ppress-report-chart-top-card-item:last-child {
2494
+ border-right: 0;
2495
+ }
2496
+
2497
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap p.ppress-report-chart-bottom-card-item-trend.negative {
2498
+ color: #991B1B;
2499
+ }
2500
+
2501
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-wrap {
2502
+ display: grid;
2503
+ margin-top: 1.25rem;
2504
+ gap: 1.25rem;
2505
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2506
+ }
2507
+
2508
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item {
2509
+ overflow: hidden;
2510
+ position: relative;
2511
+ background-color: #ffffff;
2512
+ border-radius: 0.5rem;
2513
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
2514
+ padding: 1.5rem;
2515
+ }
2516
+
2517
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-chart {
2518
+ margin: 0;
2519
+ margin-top: 1.5rem;
2520
+ }
2521
+
2522
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-header p {
2523
+ color: #6B7280;
2524
+ font-size: 0.875rem;
2525
+ line-height: 1.25rem;
2526
+ font-weight: 500;
2527
+ overflow: hidden;
2528
+ margin: 0;
2529
+ text-overflow: ellipsis;
2530
+ white-space: nowrap;
2531
+ }
2532
+
2533
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap {
2534
+ display: flex;
2535
+ padding-bottom: 0;
2536
+ margin: 0;
2537
+ align-items: baseline;
2538
+ }
2539
+
2540
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap p {
2541
+ color: #111827;
2542
+ font-size: 1.5rem;
2543
+ line-height: 2rem;
2544
+ font-weight: 600;
2545
+ margin: 0;
2546
+ }
2547
+
2548
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-content-wrap p.ppress-report-chart-bottom-card-item-trend {
2549
+ display: flex;
2550
+ margin-left: 0.5rem;
2551
+ color: #059669;
2552
+ font-size: 0.875rem;
2553
+ line-height: 1.25rem;
2554
+ font-weight: 600;
2555
+ align-items: baseline;
2556
+ }
2557
+
2558
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-view-more-block {
2559
+ position: absolute;
2560
+ right: 0;
2561
+ left: 0;
2562
+ bottom: 0;
2563
+ padding-top: 1rem;
2564
+ padding-bottom: 1rem;
2565
+ background-color: #F9FAFB;
2566
+ padding-left: 1.5rem;
2567
+ padding-right: 1.5rem;
2568
+ font-size: 0.875rem;
2569
+ line-height: 1.25rem;
2570
+ }
2571
+
2572
+ .ppress-report-charts-container .ppress-report-chart-bottom-card-item-view-more-block a {
2573
+ font-weight: 500;
2574
+ text-decoration: none;
2575
  }
assets/css/admin/edit-order-sub.css ADDED
@@ -0,0 +1,418 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ppress-admin .handle-actions {
2
+ display: none;
3
+ }
4
+
5
+ .ppress-admin .postbox .hndle {
6
+ cursor: default !important;
7
+ }
8
+
9
+ .ppress-admin #ppress-membership-order-content .postbox-header,
10
+ .ppress-admin #ppress-membership-subscription-content .postbox-header,
11
+ .ppress-admin #ppress-membership-customer-content .postbox-header {
12
+ display: none
13
+ }
14
+
15
+ .ppress-admin #ppress-membership-order-content .inside,
16
+ .ppress-admin #ppress-membership-item-content .inside,
17
+ .ppress-admin #ppress-membership-customer-content .inside,
18
+ .ppress-admin #ppress-membership-customer-subscriptions .inside,
19
+ .ppress-admin #ppress-membership-subscription-content .inside,
20
+ .ppress-admin #ppress-membership-subscription-payments .inside {
21
+ margin: 0;
22
+ padding: 0;
23
+ display: block !important;
24
+ }
25
+
26
+ .ppress-admin .ppress-membership-order-details,
27
+ .ppress-admin .ppress-membership-subscription-details,
28
+ .ppress-admin .ppress-membership-customer-details {
29
+ padding: 30px;
30
+ }
31
+
32
+ .ppress-admin .ppress-membership-order-details p,
33
+ .ppress-admin .ppress-membership-subscription-details p,
34
+ .ppress-admin .ppress-membership-customer-details p {
35
+ color: #777;
36
+ }
37
+
38
+ .ppress-admin .ppress-membership-order-details p a {
39
+ text-decoration: none;
40
+ }
41
+
42
+ .ppress-admin #poststuff h2.ppress-metabox-data-heading {
43
+ margin: 0;
44
+ font-family: HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", sans-serif;
45
+ font-size: 21px;
46
+ font-weight: 400;
47
+ line-height: 1.2;
48
+ text-shadow: 1px 1px 1px #fff;
49
+ padding: 0;
50
+ }
51
+
52
+ .ppress-admin .ppress-metabox-meta-data {
53
+ margin: 0;
54
+ font-family: HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", sans-serif;
55
+ font-weight: 400;
56
+ line-height: 1.8em;
57
+ font-size: 16px;
58
+ }
59
+
60
+ .ppress-admin .ppress-metabox-data-column-container {
61
+ display: flex;
62
+ flex-wrap: nowrap;
63
+ }
64
+
65
+ .ppress-admin .ppress-metabox-data-column {
66
+ width: 50%;
67
+ padding-left: 0;
68
+ padding-right: 30px;
69
+ }
70
+
71
+ .ppress-admin .ppress-metabox-data-column:last-of-type {
72
+ padding-left: 30px;
73
+ padding-right: 0;
74
+ }
75
+
76
+ .ppview .postbox .ppress-metabox-data-column input:not([type=checkbox]):not([type=radio]),
77
+ .ppview .postbox .ppress-metabox-data-column select {
78
+ width: 100% !important;
79
+ }
80
+
81
+ .ppress-admin .ppress-metabox-data-column h3 {
82
+ font-size: 14px;
83
+ color: #333;
84
+ margin: 1.33em 0 0;
85
+ }
86
+
87
+ .ppress-admin .ppress-metabox-data-column p {
88
+ padding: 0 !important;
89
+ margin: 9px 0 0;
90
+ }
91
+
92
+ .ppress-admin .ppress-metabox-data-column a.edit_address {
93
+ width: 14px;
94
+ height: 0;
95
+ padding: 14px 0 0;
96
+ margin: 0 0 0 6px;
97
+ overflow: hidden;
98
+ position: relative;
99
+ color: #999;
100
+ border: 0;
101
+ float: right;
102
+ }
103
+
104
+ .ppress-admin .ppress-metabox-data-column a.edit_address::after {
105
+ position: absolute;
106
+ top: 0;
107
+ left: 0;
108
+ text-align: center;
109
+ vertical-align: top;
110
+ line-height: 14px;
111
+ font-size: 14px;
112
+ font-weight: 400;
113
+ }
114
+
115
+ .ppress-admin .ppress-metabox-data-column a.edit_address::after {
116
+ font-family: Dashicons;
117
+ content: "\f464";
118
+ }
119
+
120
+ .ppress-admin .ppress-metabox-data-column .ppress_edit_address_wrap {
121
+ display: none;
122
+ }
123
+
124
+ .ppress-admin #poststuff #ppress-membership-item-content h2 {
125
+ padding: 15px 30px;
126
+ margin: 0;
127
+ font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, sans-serif;
128
+ font-size: 21px;
129
+ font-weight: 400;
130
+ line-height: 1.2;
131
+ text-shadow: 1px 1px 1px #fff;
132
+ }
133
+
134
+
135
+ .ppress-admin #ppress-submetabox-items table th {
136
+ text-align: left;
137
+ padding: 1em;
138
+ font-weight: 400;
139
+ color: #999;
140
+ background: #f8f8f8;
141
+ border-top: 0;
142
+ user-select: none;
143
+ font-size: 14px;
144
+ line-height: 20px;
145
+ }
146
+
147
+ .ppress-admin #ppress-submetabox-items table {
148
+ background: #fff;
149
+ width: 100%;
150
+ border-collapse: collapse;
151
+ }
152
+
153
+ .ppress-admin #ppress-submetabox-items table th:first-child {
154
+ padding-left: 30px;
155
+ }
156
+
157
+ .ppress-admin #ppress-submetabox-items table th.ppress-submetabox-item-column-price,
158
+ .ppress-admin #ppress-submetabox-items table th.ppress-submetabox-item-column-total,
159
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-item-column-price,
160
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-item-column-total {
161
+ width: 100px;
162
+ text-align: right;
163
+ }
164
+
165
+ .ppress-admin #ppress-submetabox-items table th.ppress-submetabox-item-column-action,
166
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-action {
167
+ width: 5%;
168
+ text-align: left;
169
+ }
170
+
171
+ .ppress-admin #ppress-submetabox-items table td:first-child {
172
+ padding-left: 30px;
173
+ }
174
+
175
+ .ppress-admin #ppress-submetabox-items table td {
176
+ padding: 1.5em 1em 1em;
177
+ text-align: left;
178
+ line-height: 1.5em;
179
+ vertical-align: top;
180
+ border-bottom: 1px solid #f8f8f8;
181
+ }
182
+
183
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-sub-total td,
184
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-tax td,
185
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts td,
186
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-total td {
187
+ border-bottom: 0;
188
+ }
189
+
190
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-sub-total td,
191
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-tax td,
192
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts td,
193
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-total,
194
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-total-label {
195
+ text-align: right;
196
+ }
197
+
198
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-border td {
199
+ padding: 0;
200
+ border: 0;
201
+ }
202
+
203
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts .coupon-wrap {
204
+ float: left;
205
+ text-align: left;
206
+ }
207
+
208
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts .coupon-wrap .coupons-label {
209
+ display: inline-block;
210
+ margin-bottom: 5px;
211
+ margin-right: 2px;
212
+ font-weight: 600;
213
+ font-size: 12px;
214
+ }
215
+
216
+ .ppress-admin #ppress-submetabox-items table .ppress-submetabox-items-row-discounts .coupon-wrap .coupon-code {
217
+ display: inline-block;
218
+ position: relative;
219
+ padding: 3px 10px;
220
+ background-color: #f7f7f7;
221
+ border: 1px solid #aaa;
222
+ box-shadow: 0 1px 0 #dfdfdf;
223
+ border-radius: 4px;
224
+ margin-right: 5px;
225
+ margin-top: 5px;
226
+ text-decoration: none;
227
+ color: #888;
228
+ font-size: 12px;
229
+ line-height: 16px;
230
+ }
231
+
232
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-actions {
233
+ border-top: 1px solid #ddd;
234
+ background: #f8f8f8;
235
+ text-align: right;
236
+ }
237
+
238
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-actions .order-refund {
239
+ float: left;
240
+ }
241
+
242
+ .ppress-admin #ppress-submetabox-items table td.ppress-submetabox-items-column-actions .message {
243
+ font-style: italic;
244
+ display: inline-block;
245
+ line-height: 28px;
246
+ }
247
+
248
+ .ppress-admin #ppress-membership-item-content .ppress-submetabox-items-column-actions .ppress-hint-tooltip {
249
+ text-align: left;
250
+ }
251
+
252
+ .ppress-admin #ppress-membership-order-subscription a {
253
+ text-decoration: none;
254
+ }
255
+
256
+ .ppress-admin .ppress-notes li {
257
+ padding: 0 10px;
258
+ }
259
+
260
+ .ppress-admin .ppress-notes li .ppress-note-content {
261
+ background: #efefef;
262
+ padding: 10px;
263
+ position: relative;
264
+ }
265
+
266
+ .ppress-admin .ppress-notes li .ppress-note-content p {
267
+ margin: 0;
268
+ padding: 0;
269
+ }
270
+
271
+ .ppress-admin .ppress-notes li .ppress-note-content:after {
272
+ content: "";
273
+ display: block;
274
+ position: absolute;
275
+ bottom: -10px;
276
+ left: 20px;
277
+ width: 0;
278
+ height: 0;
279
+ border-color: #efefef transparent;
280
+ border-style: solid;
281
+ border-width: 10px 10px 0 0;
282
+ }
283
+
284
+ .ppress-admin .ppress-notes p.ppress-note-meta {
285
+ padding: 10px;
286
+ color: #999;
287
+ margin: 0;
288
+ font-size: 11px;
289
+ }
290
+
291
+ .ppress-admin .ppress-notes p.ppress-note-meta .ppress-note-date {
292
+ border-bottom: 1px dotted #fff;
293
+ }
294
+
295
+ .ppress-admin .ppress-notes p.ppress-note-meta a {
296
+ color: #a00;
297
+ }
298
+
299
+ #ppress-membership-order-notes.postbox .inside {
300
+ padding: 0 0 10px;
301
+ }
302
+
303
+ .ppress-admin .ppress-membership-order-details .ppress-order-badge {
304
+ font-size: 12px;
305
+ font-weight: 600;
306
+ padding: 6px 8px;
307
+ margin-left: 5px;
308
+ border-radius: 9999px;
309
+ vertical-align: middle;
310
+ background-color: rgb(220 252 231);
311
+ color: rgb(22 101 52);
312
+ line-height: 2.30769231;
313
+ text-shadow: none;
314
+ }
315
+
316
+ .ppress-order-item-modal-wrap {
317
+ width: 100%;
318
+ max-width: 500px;
319
+ }
320
+
321
+ .ppress-admin .ppress-order-item-modal-wrap label {
322
+ display: block;
323
+ font-weight: bold;
324
+ }
325
+
326
+ .ppress-admin .ppress-order-item-modal-wrap input,
327
+ .ppress-admin .ppress-order-item-modal-wrap select {
328
+ width: 100%;
329
+ max-width: 100%;
330
+ }
331
+
332
+ .ppress-admin .select2-container .select2-dropdown {
333
+ z-index: 900000 !important;
334
+ }
335
+
336
+
337
+ /* customer edit UI */
338
+ .ppress-membership-customer-details .ppress-customer-info .ppress-customer-info {
339
+ min-height: 185px;
340
+ }
341
+
342
+ .ppress-membership-customer-details .ppress-customer-info {
343
+ display: flex;
344
+ flex-wrap: wrap;
345
+ }
346
+
347
+ .ppress-membership-customer-details .ppress-customer-info .ppress-avatar-wrap {
348
+ max-width: 250px;
349
+ width: 35%;
350
+ }
351
+
352
+ .ppress-membership-customer-details .ppress-customer-info .ppress-customer-main-wrapper {
353
+ width: 60%;
354
+ padding: 0 10px;
355
+ box-sizing: border-box;
356
+ }
357
+
358
+ .ppress-membership-customer-details .ppress-customer-info span.customer-name {
359
+ margin-bottom: 6px;
360
+ font-size: 24px;
361
+ font-weight: 600;
362
+ }
363
+
364
+ .ppress-membership-customer-details .ppress-customer-info .ppress-customer-main-wrapper span:not(.customer-name):not([class*="select2"]):not([class*="selection"]) {
365
+ display: block;
366
+ padding: 3px;
367
+ color: #777;
368
+ }
369
+
370
+ .ppress-membership-customer-details .ppress-customer-info .customer-user-id span {
371
+ display: inline-block;
372
+ }
373
+
374
+ .ppress-membership-customer-details .ppress-customer-info .ppres-customer-edit-link {
375
+ text-align: center;
376
+ }
377
+
378
+ .ppress-membership-customer-details .ppress-customer-info .ppress-avatar-wrap img {
379
+ width: 100%;
380
+ height: auto;
381
+ border-radius: 5px;
382
+ }
383
+
384
+ .ppress-membership-customer-details .ppress-customer-info .mb-form-field label {
385
+ font-weight: 500;
386
+ }
387
+
388
+ .ppress-membership-customer-details .ppress-customer-info .mb-form-field label a {
389
+ font-weight: normal;
390
+ }
391
+
392
+ .ppress-membership-customer-details .ppress-customer-stats-wrapper {
393
+ margin: 20px auto 10px;
394
+ text-align: center;
395
+ border-top: 1px solid #eee;
396
+ padding: 30px 0 0;
397
+ }
398
+
399
+ .ppress-membership-customer-details .ppress-customer-stats-wrapper ul {
400
+ display: flex;
401
+ margin: 0;
402
+ list-style: none;
403
+ }
404
+
405
+ .ppress-membership-customer-details .ppress-customer-stats-wrapper li {
406
+ font-size: 14px;
407
+ margin-bottom: 0;
408
+ width: 50%;
409
+ }
410
+
411
+ .ppress-membership-customer-details .ppress-customer-stats-wrapper .dashicons {
412
+ color: #888;
413
+ margin-top: -2px;
414
+ }
415
+
416
+ .ppress-membership-customer-details .ppress-customer-stats-wrapper a {
417
+ text-decoration: none;
418
+ }
assets/css/admin/membership-checklist-header.css ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ppress-admin .ppress-checklist {
2
+ background-color: #fbfbfd;
3
+ margin-top: -10px;
4
+ margin-bottom: 20px;
5
+ position: relative;
6
+ box-sizing: border-box;
7
+ padding: 30px;
8
+ }
9
+
10
+ .ppress-admin .ppress-checklist div {
11
+ text-align: center !important;
12
+ }
13
+
14
+ .ppress-admin .ppress-checklist h2 {
15
+ font-size: 32px;
16
+ line-height: 40px;
17
+ padding-bottom: 10px;
18
+ margin: 0;
19
+ }
20
+
21
+ .ppress-admin .ppress-checklist-teaser {
22
+ font-size: 18px;
23
+ color: #97a3b4;
24
+ margin: 10px 0;
25
+ }
26
+
27
+ .ppress-admin .ppress-checklist-dashboard-steps {
28
+ text-align: center;
29
+ }
30
+
31
+ .ppress-admin .ppress-checklist-dashboard-steps ul {
32
+ display: flex;
33
+ flex-wrap: wrap;
34
+ justify-content: center;
35
+ margin-top: 40px;
36
+ margin-bottom: 0;
37
+ }
38
+
39
+ .ppress-admin .ppress-checklist-dashboard-steps ul li {
40
+ width: 185px;
41
+ height: 210px;
42
+ margin: 0 15px 30px;
43
+ }
44
+
45
+ .ppress-admin .ppress-checklist a {
46
+ background-color: transparent;
47
+ color: #326ee0;
48
+ text-decoration: none;
49
+ }
50
+
51
+ .ppress-admin .ppress-checklist-dashboard-steps ul li a {
52
+ display: flex;
53
+ flex-direction: column;
54
+ flex-wrap: nowrap;
55
+ align-items: center;
56
+ justify-content: center;
57
+ height: 100%;
58
+ text-align: center;
59
+ border: 1px solid #c6cbd0;
60
+ border-radius: 3px;
61
+ text-decoration: none;
62
+ position: relative;
63
+ }
64
+
65
+ .ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a {
66
+ border-color: #0175ff;
67
+ }
68
+
69
+ .ppress-admin .ppress-checklist-dashboard-steps ul li a svg {
70
+ display: block;
71
+ margin: auto;
72
+ padding-top: 10px;
73
+ width: 60px;
74
+ }
75
+
76
+ .ppress-admin .ppress-checklist-dashboard-steps ul li a span {
77
+ margin: 0 10px 20px;
78
+ font-size: 14px;
79
+ font-weight: 600;
80
+ }
81
+
82
+ .ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a span {
83
+ color: #001f4d;
84
+ }
85
+
86
+ .ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a:after {
87
+ content: "";
88
+ width: 20px;
89
+ height: 20px;
90
+ background-color: #06d478;
91
+ background-image: url(../../assets/images/icon-checkmark.svg);
92
+ background-repeat: no-repeat;
93
+ background-size: 15px;
94
+ background-position: 50%;
95
+ position: absolute;
96
+ right: 3px;
97
+ top: 3px;
98
+ border-radius: 100%
99
+ }
100
+
101
+ .ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a span {
102
+ color: #001f4d
103
+ }
104
+
105
+ .ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done a .svg-color {
106
+ fill: #0175ff
107
+ }
108
+
109
+ .ppress-admin .ppress-checklist-dashboard-steps ul li a:hover {
110
+ border-color: #001f4d
111
+ }
112
+
113
+ .ppress-admin .ppress-checklist-dashboard-steps ul li a:hover .svg-color {
114
+ fill: #001f4d
115
+ }
116
+
117
+ .ppress-admin .ppress-checklist-dashboard-steps ul li {
118
+ opacity: .85;
119
+ }
120
+
121
+ .ppress-admin .ppress-checklist-dashboard-steps ul li.ppress-checklist-done {
122
+ pointer-events: none;
123
+ }
assets/css/admin/ppress-menu.css ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-config"]:after,
2
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-content-protection"]:after,
3
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-customers"]:after,
4
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-directories"]:after {
5
+ border-bottom: 1px solid hsla(0, 0%, 100%, .2);
6
+ display: block;
7
+ float: left;
8
+ margin: 13px -15px 8px;
9
+ content: "";
10
+ width: calc(100% + 30px)
11
+ }
12
+
13
+ @media screen and (max-width: 782px) {
14
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-config"]:after,
15
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-content-protection"]:after,
16
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-customers"]:after,
17
+ #adminmenu ul > li:not(:last-child) a[href$="page=ppress-directories"]:after {
18
+ margin: 20px -20px 8px;
19
+ width: calc(100% + 40px)
20
+ }
21
+ }
22
+
23
+ #adminmenu li[class*="ppress-"] ul > li:nth-last-child(2):after {
24
+ margin-left: 0
25
+ }
26
+
27
+ #adminmenu li[class*="ppress-"] ul.wp-submenu-wrap li {
28
+ clear: both
29
+ }
assets/css/checkout.css ADDED
@@ -0,0 +1,683 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ppress-checkout__form * {
2
+ --ppress-heading-fs: 22px;
3
+ --ppress-body-fs: 16px;
4
+ --ppress-btn-color: #2563eb;
5
+
6
+ -webkit-box-sizing: border-box;
7
+ -moz-box-sizing: border-box;
8
+ box-sizing: border-box;
9
+
10
+ font-size: var(--ppress-body-fs);
11
+ }
12
+
13
+ .ppress-checkout__form {
14
+ display: flex;
15
+ flex-wrap: wrap;
16
+ margin: 1px auto 10px;
17
+ max-width: 100%;
18
+ width: 100%;
19
+ line-height: 20px;
20
+ position: relative;
21
+ }
22
+
23
+
24
+ .ppress-checkout__form p {
25
+ margin: 0 0 5px;
26
+ }
27
+
28
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap {
29
+ display: flex;
30
+ flex-wrap: wrap;
31
+ }
32
+
33
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap {
34
+ margin: 5px 0 10px;
35
+ }
36
+
37
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap .ppress-main-checkout-form__block__item {
38
+ border-radius: 6px;
39
+ background-color: rgb(239, 246, 255);
40
+ padding: 14px 16px;
41
+ }
42
+
43
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap .ppress-main-checkout-form__block__item p,
44
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap .ppress-main-checkout-form__block__item a {
45
+ font-size: 14px;
46
+ margin: 0;
47
+ line-height: 20px;
48
+ }
49
+
50
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item {
51
+ margin-bottom: 5px;
52
+ }
53
+
54
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item:last-of-type {
55
+ margin-bottom: 15px;
56
+ }
57
+
58
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item.ppress-login-submit-btn p {
59
+ padding: 0;
60
+ margin: 10px 0;
61
+ }
62
+
63
+ .ppress-checkout__form .ppress-checkout-section.ppress-checkout_side_section {
64
+ width: 35%;
65
+ order: 2;
66
+ }
67
+
68
+ .ppress-checkout__form .ppress-checkout-section.ppress-checkout_main {
69
+ width: 65%;
70
+ order: 1;
71
+ padding: 0 30px 0 0;
72
+ }
73
+
74
+ .ppress-checkout__form .ppress-checkout_order_summary {
75
+ border: 1px solid rgb(229, 231, 235);
76
+ border-radius: 5px;
77
+ }
78
+
79
+ .ppress-checkout__form .ppress-checkout_order_summary__plan_name {
80
+ padding: 10px 20px;
81
+ font-size: var(--ppress-body-fs);
82
+ font-weight: bold;
83
+ border-bottom: 1px solid #E4E4E4;
84
+ }
85
+
86
+ .ppress-checkout__form .ppress-checkout_order_summary__plan_price {
87
+ font-weight: 500;
88
+ font-size: 14px;
89
+ }
90
+
91
+ .ppress-checkout__form .ppress-checkout_order_summary__bottom_details * {
92
+ font-size: var(--ppress-body-fs);
93
+ }
94
+
95
+ .ppress-checkout__form .ppress-checkout_order_summary__bottom_details .checkout_order_summary__fee_structure__item dd a {
96
+ font-size: 14px;
97
+ display: block;
98
+ text-decoration: none;
99
+ margin: 0;
100
+ padding: 0;
101
+ }
102
+
103
+ .ppress-checkout__form .checkout_order_summary__fee_structure__item dt .checkout_order_summary__fee_structure__item__trial_term {
104
+ display: block;
105
+ background: unset;
106
+ margin-left: 0;
107
+ font-weight: 600;
108
+ padding-left: 0;
109
+ }
110
+
111
+ .ppress-checkout__form .ppress-checkout_order_summary__bottom_details,
112
+ .ppress-checkout__form .ppress-checkout_order_summary__plan_description {
113
+ padding: 10px 20px;
114
+ }
115
+
116
+ .ppress-checkout__form .ppress-checkout_order_summary__plan_description {
117
+ padding: 20px;
118
+ border-bottom: 1px solid rgb(229, 231, 235);
119
+ line-height: 1.7;
120
+ font-size: var(--ppress-body-fs);
121
+ }
122
+
123
+ .ppress-checkout__form .checkout_order_summary__fee_structure__item {
124
+ display: flex;
125
+ flex-wrap: nowrap;
126
+ padding: 5px 0;
127
+ font-size: 16px;
128
+ }
129
+
130
+ .ppress-checkout__form .checkout_order_summary__fee_structure__item dt {
131
+ width: 60%;
132
+ text-align: left;
133
+ }
134
+
135
+ .ppress-checkout__form .checkout_order_summary__fee_structure__item dd {
136
+ width: 40%;
137
+ text-align: right;
138
+ }
139
+
140
+ .ppress-checkout__form .checkout_order_summary__fee_structure__item dt span {
141
+ color: rgb(75, 85, 99);
142
+ background-color: rgb(229, 231, 235);
143
+ margin-left: 5px;
144
+ border-radius: 9999px;
145
+ letter-spacing: 0.35px;
146
+ padding: 2px 6px;
147
+ font-size: 12px;
148
+ }
149
+
150
+ .ppress-checkout__form .ppress-main-checkout-form__block fieldset {
151
+ margin: 0;
152
+ padding: 0;
153
+ border: 0;
154
+ }
155
+
156
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__block__fieldset {
157
+ margin: 0;
158
+ padding: 0;
159
+ border: 0;
160
+ margin-top: 10px;
161
+ padding-top: 20px;
162
+ }
163
+
164
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__block__fieldset:first-of-type {
165
+ border: 0;
166
+ margin-top: 10px;
167
+ padding-top: 0;
168
+ }
169
+
170
+ .ppress-checkout__form .ppress-main-checkout-form__block legend {
171
+ border: 0;
172
+ color: #000;
173
+ font-size: var(--ppress-heading-fs);
174
+ font-weight: bold;
175
+ line-height: 1.7;
176
+ margin: 0 0 15px 0;
177
+ padding: 0 5px;
178
+ width: 100%;
179
+ }
180
+
181
+ .ppress-checkout__form .ppress-main-checkout-form__block a.ppress-checkout-show-login-form {
182
+ cursor: pointer;
183
+ float: right;
184
+ font-size: 14px;
185
+ font-weight: normal;
186
+ line-height: 35px;
187
+ margin: 0;
188
+ padding: 0;
189
+ text-decoration: none;
190
+ vertical-align: baseline;
191
+ }
192
+
193
+ .ppress-checkout__form .ppress-checkout_order_summary__discount {
194
+ margin: 0 0 5px;
195
+ }
196
+
197
+ .ppress-checkout__form .ppress-checkout_order_summary__discount p {
198
+ font-size: 14px;
199
+ }
200
+
201
+ .ppress-checkout__form .ppress-checkout__link {
202
+ cursor: pointer;
203
+ font-size: 14px;
204
+ font-weight: normal;
205
+ line-height: 35px;
206
+ margin: 10px 0;
207
+ padding: 0;
208
+ text-decoration: none;
209
+ }
210
+
211
+ .ppress-checkout__form a.ppress-checkout-show-login-form {
212
+ cursor: pointer;
213
+ float: right;
214
+ font-size: 14px;
215
+ font-weight: normal;
216
+ line-height: 35px;
217
+ margin: 0;
218
+ padding: 0;
219
+ text-decoration: none;
220
+ vertical-align: baseline;
221
+ }
222
+
223
+ .ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item {
224
+ width: calc(100% - 5px);
225
+ display: inline-block;
226
+ padding: 5px;
227
+ margin-bottom: 15px;
228
+ }
229
+
230
+ .ppress-checkout__form .ppress-main-checkout-form__block__fieldset .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item {
231
+ margin-bottom: 10px;
232
+ }
233
+
234
+ .ppress-checkout-form__payment_method__content_wrap .ppress-main-checkout-form__block__item:first-of-type {
235
+ margin-top: 15px;
236
+ }
237
+
238
+ .ppress-checkout__form .ppress-main-checkout-form__block__fieldset .ppress-main-checkout-form__block__item:last-of-type {
239
+ margin-bottom: 0;
240
+ }
241
+
242
+ .ppress-checkout__form .ppress-required {
243
+ color: rgb(239 68 68);
244
+ }
245
+
246
+ .ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-co-half {
247
+ width: calc(50% - 5px);
248
+ }
249
+
250
+ .ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-two-third {
251
+ width: calc(66.6666666667% - 5px);
252
+ }
253
+
254
+ .ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-one-third {
255
+ width: calc(33.3333333333% - 5px);
256
+ }
257
+
258
+ .ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-expiry-date {
259
+ width: calc(40% - 5px);
260
+ }
261
+
262
+ .ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-cc-cvc {
263
+ width: calc(60% - 5px);
264
+ }
265
+
266
+ .ppress-checkout__form .press-main-checkout-form__block__item__cc_expiry_date {
267
+ display: flex;
268
+ flex-wrap: wrap;
269
+ width: 100%;
270
+ }
271
+
272
+ .ppress-checkout__form .press-main-checkout-form__block__item__cc_expiry_date select {
273
+ width: calc(50% - 5px) !important;
274
+ margin: 0 5px 0 0;
275
+
276
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4MjgzNGQzMC03MmY4LTRkM2MtYTU4NC1lNzMzZDE1YjU2NzYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzJGMzNGODgwRkI5MTFFN0E3NzQ5QUE3QTdEMENEQjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzJGMzNGODcwRkI5MTFFN0E3NzQ5QUE3QTdEMENEQjEiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMzAzN2MxMy01N2VhLTRiN2UtYjg3Yi04OGZhODk2NDYzZTgiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplMTI0MmMzNy1mZTljLTExNzktYWE3NC1kYzYxZWJhMDdhNDAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7ItaH1AAABFklEQVR42uzZuw3CMBAG4NhiAFiDAsahp0sqJOaghQ5mIkgwBmwQzlJAoLz8OCe29Z90urMb65MfjUVVVVkKIbNEAhBAAAEEEEAAoZjdyseG6olyEanhSZmL8npXzTzyDXnJRI6XVIhdApCdXK2XF2qKiBGFMojPiO5KTuUYIUI9VJn4nY0M80U0IBFh/hCtkAgwDUQnJGBMK6IXEiCmEzEICQjTi9CCBIAZRGhDJsRoIYwgE2C0EcaQETFGCCvICBhjhDXEI8YK4QTxgLFGOEMYMU4IFggDxhnBBnHAsCBYIRYYNgQ7xADDivAC0cCwI7xBejBeEF4hNWZL5VAP94Q4+1pL4FcXEEAAAQQQQAABxFu8BRgA2gaBhwO0rwAAAAAASUVORK5CYII=');
277
+ background-position: right 20px center;
278
+ background-repeat: no-repeat;
279
+ background-size: 10px auto;
280
+ }
281
+
282
+ .ppress-checkout__form .press-main-checkout-form__block__item__cc_expiry_date select:last-of-type {
283
+ margin-right: 0;
284
+ }
285
+
286
+ .ppress-checkout__form label.checkout_order_summary__discount__label {
287
+ width: 100%;
288
+ line-height: 20px;
289
+ }
290
+
291
+ .ppress-checkout__form .checkout_order_summary__discount__field_wrap {
292
+ margin-bottom: 20px;
293
+ }
294
+
295
+ .ppress-checkout__form .ppress-checkout-section .ppress-checkout-form__place_order_wrap {
296
+ margin: 20px 0 10px;
297
+ }
298
+
299
+ .ppress-checkout__form .ppress-checkout-section input:not([type=checkbox]):not([type=radio]),
300
+ .ppress-checkout__form .ppress-checkout-section select,
301
+ .ppress-checkout__form .ppress-checkout-section textarea,
302
+ .ppress-checkout__form .ppress-checkout-section #ppress-stripe-card-element {
303
+ width: 100%;
304
+ background-color: #fff;
305
+ border: 1px solid rgb(209, 213, 219);
306
+ padding-top: 8px;
307
+ padding-right: 12px;
308
+ padding-bottom: 8px;
309
+ padding-left: 12px;
310
+ line-height: 20px;
311
+ border-radius: 6px;
312
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
313
+ }
314
+
315
+ .ppress-checkout__form .ppress-checkout-section #ppress-stripe-card-element {
316
+ padding-top: 10px;
317
+ padding-bottom: 10px;
318
+ }
319
+
320
+ .ppress-checkout__form .ppress-checkout-section textarea {
321
+ min-height: 100px;
322
+ }
323
+
324
+ .ppress-checkout__form .ppress-checkout-section.ppress-checkout_main input[type=submit] {
325
+ background: var(--ppress-btn-color);
326
+ padding: 12px 16px;
327
+ border-color: transparent;
328
+ background: var(--ppress-btn-color);
329
+ background-color: var(--ppress-btn-color);
330
+ color: #fff;
331
+ box-shadow: none;
332
+ font-weight: 500;
333
+ text-align: center;
334
+ -webkit-appearance: none;
335
+ width: 100%;
336
+ }
337
+
338
+ .ppress-checkout__form .ppress-checkout-section.ppress-checkout_main input[type=submit]:disabled {
339
+ opacity: 0.65;
340
+ }
341
+
342
+ .ppress-checkout__form .ppress-checkout-section input[type=checkbox],
343
+ .ppress-checkout__form .ppress-checkout-section input[type=radio] {
344
+ display: inline-block;
345
+ vertical-align: middle;
346
+ border: 1px solid rgb(209, 213, 219);
347
+ border-radius: 100%;
348
+ height: 16px;
349
+ width: 16px;
350
+ color: rgb(79, 70, 229);
351
+ padding: 0 5px;
352
+ }
353
+
354
+ .ppress-checkout__form .ppress-checkout-section input[type=checkbox] {
355
+ border-radius: 0;
356
+ cursor: pointer;
357
+ }
358
+
359
+ .ppress-checkout__form .ppress-checkout-section input:not([type=checkbox]):not([type=radio]):focus,
360
+ .ppress-checkout__form .ppress-checkout-section textarea:focus,
361
+ .ppress-checkout__form .ppress-checkout-section #ppress-stripe-card-element:focus {
362
+ outline: 2px solid transparent;
363
+ outline-offset: 2px;
364
+ box-shadow: 0 0 0 0 #fff, 0 0 0 calc(1px + 0px) var(--ppress-btn-color), 0 0 #0000;
365
+ border-color: #2563eb;
366
+ }
367
+
368
+ .ppress-checkout__form .ppress-checkout-section input[type=submit]:hover {
369
+ filter: brightness(85%);
370
+ }
371
+
372
+ .ppress-checkout__form .ppress-checkout-section label {
373
+ font-weight: 500;
374
+ display: block;
375
+ line-height: 25px;
376
+ vertical-align: baseline;
377
+ }
378
+
379
+ .ppress-checkout__form .ppress-checkout-section .pp-checkbox-wrap label,
380
+ .ppress-checkout__form .ppress-checkout-section .pp-radio-wrap label {
381
+ display: inline-block;
382
+ }
383
+
384
+ .ppress-checkout__form .ppress-checkout-section .pp-checkbox-wrap .ppress-checkout-field__input,
385
+ .ppress-checkout__form .ppress-checkout-section .pp-radio-wrap .ppress-checkout-field__input {
386
+ margin-right: 5px;
387
+ }
388
+
389
+ .ppress-checkout__form .checkout_order_summary__discount__field_wrap input[type=text].checkout_order_summary__discount__input {
390
+ width: 68%;
391
+ }
392
+
393
+ .ppress-checkout__form .ppress-checkout-section input[type="submit"].ppress-apply-discount-btn {
394
+ width: 25%;
395
+ margin-left: 10px;
396
+ color: rgb(75, 85, 99);
397
+ border: 0;
398
+ border-radius: 6px;
399
+ background-color: rgb(229, 231, 235);
400
+ padding: 8px;
401
+ padding-left: 15px;
402
+ padding-right: 15px;
403
+ font-size: 14px;
404
+ line-height: 20px;
405
+ font-weight: 500;
406
+ }
407
+
408
+ .ppress-checkout__form .ppress-checkout-section input[type="submit"].ppress-apply-discount-btn {
409
+ color: rgb(75, 85, 99);
410
+ background-color: rgb(209, 213, 219);
411
+ }
412
+
413
+ .ppress-checkout__form .ppress-checkout_charge_details {
414
+ padding: 10px 20px;
415
+ }
416
+
417
+ .ppress-checkout__form .ppress-checkout_charge_details span {
418
+ font-weight: bold;
419
+ }
420
+
421
+ .ppress-checkout__form .ppress-checkout-form__payment_methods_wrap {
422
+ border: 1px solid #ddd;
423
+ border-radius: 5px;
424
+ line-height: 1;
425
+ list-style: none;
426
+ margin: 0;
427
+ overflow: visible;
428
+ padding: 0;
429
+ margin-top: 5px;
430
+ }
431
+
432
+ .ppress-checkout__form .ppress-checkout-form__payment_method {
433
+ border-top: 1px solid #ddd;
434
+ padding: 0;
435
+ }
436
+
437
+ .ppress-checkout__form .ppress-checkout-form__payment_method:first-of-type {
438
+ border-top: none;
439
+ border-bottom: none;
440
+ }
441
+
442
+
443
+ .ppress-checkout__form .ppress-checkout-form__payment_method__title_wrap {
444
+ background: #fff;
445
+ margin: 0;
446
+ padding: 16px 8px;
447
+ }
448
+
449
+ .ppress-checkout__form .ppress-checkout-form__payment_method__title_wrap:first-of-type {
450
+ border-top-left-radius: 5px;
451
+ border-top-right-radius: 5px;
452
+ }
453
+
454
+ .ppress-checkout__form .ppress-checkout-form__payment_method:last-of-type .ppress-checkout-form__payment_method__title_wrap {
455
+ border-bottom-left-radius: 5px;
456
+ border-bottom-right-radius: 5px;
457
+ }
458
+
459
+
460
+ .ppress-checkout__form .ppress-checkout-section .ppress-checkout-form__payment_method__title_wrap label {
461
+ display: inline-block;
462
+ padding-left: 5px;
463
+ padding-top: 2px;
464
+ position: relative;
465
+ cursor: pointer;
466
+ width: calc(100% - 30px);
467
+ line-height: 1;
468
+ }
469
+
470
+ .ppress-checkout__form .ppress-checkout-form__payment_method__icons {
471
+ position: absolute;
472
+ right: 20px;
473
+ top: -5px;
474
+ }
475
+
476
+ .ppress-checkout__form .ppress-checkout-form__payment_method__icons img,
477
+ .ppress-checkout__form .ppress-checkout-form__payment_method__icons svg {
478
+ max-height: 22px;
479
+ }
480
+
481
+ .ppress-checkout__form .ppress-checkout-form__payment_method .ppress-checkout-form__payment_method__content_wrap p {
482
+ margin: 0 !important;
483
+ }
484
+
485
+ .ppress-checkout__form .ppress-checkout-form__payment_method .ppress-checkout-form__payment_method__content_wrap {
486
+ background: #f4f4f4;
487
+ border-top: 1px solid #ddd;
488
+ margin: 0 !important;
489
+ padding: 20px 10px;
490
+ display: none;
491
+ }
492
+
493
+ .ppress-checkout__form .ppress-checkout-form__payment_method:last-of-type .ppress-checkout-form__payment_method__content_wrap {
494
+ border-bottom-left-radius: 5px;
495
+ border-bottom-right-radius: 5px;
496
+ }
497
+
498
+ .ppress-checkout__form .ppress-checkout-form__payment_method .ppress-checkout-form__payment_method__content_wrap p {
499
+ padding: 0 5px;
500
+ font-size: 14px;
501
+ line-height: 1.25;
502
+ margin: 0;
503
+ }
504
+
505
+ .ppress-checkout__form .ppress-checkout-form__payment_method .ppress-checkout-form__payment_method__title_wrap input[type=radio] {
506
+ vertical-align: bottom;
507
+ }
508
+
509
+ .ppress-checkout__form .ppress-checkout-form__payment_method.ppress-active .ppress-checkout-form__payment_method__content_wrap {
510
+ display: block;
511
+ }
512
+
513
+ .ppress-checkout__form .ppress-checkout-form__payment_method__content_wrap label {
514
+ line-height: 20px;
515
+ }
516
+
517
+ .ppress-checkout__form .ppress-checkout-form__payment_method__content_wrap .ppress-checkout-form__payment_method__heading {
518
+ padding: 10px 5px;
519
+ margin: 0 0 15px;
520
+ font-size: var(--ppress-body-fs);
521
+ font-weight: bold;
522
+ border-bottom: 1px solid #E4E4E4;
523
+ }
524
+
525
+ .ppress-checkout__form .ppress-checkout-form__terms_condition_wrap {
526
+ margin: 0;
527
+ padding: 0;
528
+ border: 0;
529
+ padding-top: 40px;
530
+ }
531
+
532
+ .ppress-checkout__form .ppress-checkout-form__terms_condition_wrap .ppress-checkout-form__terms_condition__checkbox__label span {
533
+ vertical-align: middle;
534
+ }
535
+
536
+ .ppress-checkout__form .ppress-checkout-form__terms_condition__content {
537
+ border: 1px solid #e5e7eb;
538
+ padding: 20px;
539
+ max-height: 200px;
540
+ overflow: auto;
541
+ border-radius: 6px;
542
+ display: none;
543
+ margin: 0;
544
+ margin-bottom: 20px;
545
+ }
546
+
547
+ .ppress-checkout__form .ppress-checkout-form__terms_condition__checkbox_wrap {
548
+ margin: 0;
549
+ margin-bottom: 20px;
550
+ }
551
+
552
+ .ppress-checkout__form .ppress-checkout__form__preloader {
553
+ position: absolute;
554
+ top: 0;
555
+ width: 100%;
556
+ height: 100%;
557
+ background: rgba(250, 250, 250, 0.9);
558
+ z-index: 99995;
559
+ }
560
+
561
+ .ppress-checkout__form .ppress-checkout__form__spinner {
562
+ display: block;
563
+ width: 85px;
564
+ height: 85px;
565
+ top: 40%;
566
+ right: 50%;
567
+ text-align: center;
568
+ margin: auto;
569
+ position: fixed;
570
+ }
571
+
572
+ .ppress-checkout__form .ppress-checkout__form__spinner:after {
573
+ content: " ";
574
+ display: block;
575
+ width: 70px;
576
+ height: 70px;
577
+ margin: 8px;
578
+ border-radius: 50%;
579
+ border: 6px solid rgb(33, 37, 41);
580
+ border-color: rgb(33, 37, 41) transparent rgb(33, 37, 41) transparent;
581
+ animation: ppress-dual-ring 1.2s linear infinite;
582
+ }
583
+
584
+ @keyframes ppress-dual-ring {
585
+ 0% {
586
+ transform: rotate(0deg);
587
+ }
588
+ 100% {
589
+ transform: rotate(360deg);
590
+ }
591
+ }
592
+
593
+ .ppress-checkout__form .ppress-checkout-alert {
594
+ width: 100%;
595
+ padding: 12px 16px;
596
+ border-radius: 6px;
597
+ margin: 10px 0;
598
+ }
599
+
600
+ .ppress-checkout__form .ppress-checkout-alert ul {
601
+ margin: 0;
602
+ margin-left: 16px;
603
+ padding: 0;
604
+ list-style-type: disc;
605
+ }
606
+
607
+ .ppress-checkout__form .ppress-checkout-alert li,
608
+ .ppress-checkout__form .ppress-checkout-alert p,
609
+ .ppress-checkout__form .ppress-checkout-alert li strong {
610
+ font-size: var(--ppress-body-fs);
611
+ font-weight: normal;
612
+ margin: 0 !important;
613
+ padding: 0 !important;
614
+ line-height: 22px;
615
+ }
616
+
617
+ .ppress-checkout__form .ppress-checkout-alert li strong {
618
+ font-weight: bold;
619
+ }
620
+
621
+ .ppress-checkout__form .ppress-checkout-alert.ppress-error {
622
+ background-color: rgb(254, 242, 242);
623
+ color: rgb(185, 28, 28);
624
+ }
625
+
626
+ .ppress-checkout__form .ppress-checkout-alert.ppress-success {
627
+ background-color: rgb(236, 253, 245);
628
+ color: rgb(6, 95, 70);
629
+ }
630
+
631
+ .ppress-checkout-alert.ppress-warning {
632
+ border-left: 4px solid rgb(250 204 21);
633
+ border-radius: 0;
634
+ background-color: rgb(254 252 232);
635
+ color: rgb(161 98 7);
636
+ }
637
+
638
+ .ppress-checkout__form .ppress-checkout-alert p {
639
+ font-weight: 500;
640
+ }
641
+
642
+ .ppress-checkout__form .ppress-checkout_order_summary #ppress-checkout-coupon-code-wrap {
643
+ display: none;
644
+ }
645
+
646
+ /* Responsive styling */
647
+ .ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_side_section,
648
+ .ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_side_section,
649
+ .ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_side_section,
650
+ .ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_side_section,
651
+ .ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_side_section,
652
+ /**/
653
+ .ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_main,
654
+ .ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_main,
655
+ .ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_main,
656
+ .ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_main,
657
+ .ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_main {
658
+ width: 100%;
659
+ }
660
+
661
+ .ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_side_section,
662
+ .ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_side_section,
663
+ .ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_side_section,
664
+ .ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_side_section,
665
+ .ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_side_section {
666
+ order: 1;
667
+ margin-bottom: 15px;
668
+ }
669
+
670
+ .ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_main,
671
+ .ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_main,
672
+ .ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_main,
673
+ .ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_main,
674
+ .ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_main {
675
+ order: 2;
676
+ padding-right: 0;
677
+ }
678
+
679
+ .ppress-checkout__form.ppressui340 .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item,
680
+ .ppress-checkout__form.ppressui500 .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item,
681
+ .ppress-checkout__form.ppressui768 .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item {
682
+ width: 100%;
683
+ }
assets/css/form-builder.css CHANGED
@@ -458,10 +458,6 @@ ol.pp-form-builder-field-type {
458
  padding: 0;
459
  }
460
 
461
- li {
462
- list-style: none !important;
463
- }
464
-
465
  ol.pp-form-builder-field-type li {
466
  float: left;
467
  width: 50%;
458
  padding: 0;
459
  }
460
 
 
 
 
 
461
  ol.pp-form-builder-field-type li {
462
  float: left;
463
  width: 50%;
assets/css/frontend.css CHANGED
@@ -1,4 +1,6 @@
1
  @import url("hint.min.css");
 
 
2
 
3
  @font-face {
4
  font-family: 'Material Icons';
@@ -1019,7 +1021,7 @@ html .pp-form-container .select2 input.select2-search__field {
1019
  text-decoration: none !important;
1020
  position: relative;
1021
  display: block;
1022
- padding: .75rem 1.25rem;
1023
  margin-bottom: -1px;
1024
  background-color: #fff;
1025
  border: 1px solid rgba(0, 0, 0, .125);
@@ -1036,18 +1038,18 @@ html .pp-form-container .select2 input.select2-search__field {
1036
  }
1037
 
1038
  #profilepress-myaccount-wrapper .ppmyac-dashboard-item:first-child {
1039
- border-top-left-radius: .25rem;
1040
- border-top-right-radius: .25rem;
1041
  }
1042
 
1043
  #profilepress-myaccount-wrapper .ppmyac-dashboard-item:last-child {
1044
  margin-bottom: 0;
1045
- border-bottom-right-radius: .25rem;
1046
- border-bottom-left-radius: .25rem;
1047
  }
1048
 
1049
  #profilepress-myaccount-wrapper .ppmyac-icons {
1050
- margin-right: .5rem;
1051
  vertical-align: text-bottom;
1052
  }
1053
 
@@ -1106,19 +1108,19 @@ html .pp-form-container .select2 input.select2-search__field {
1106
  #profilepress-myaccount-wrapper .profilepress-myaccount-content h2,
1107
  #profilepress-myaccount-wrapper .profilepress-myaccount-content h3 {
1108
  margin-top: 0 !important;
1109
- margin-bottom: 1.8rem !important;
1110
  font-weight: 700 !important;
1111
  line-height: 1.2 !important;
1112
- font-size: 2rem !important;
1113
  }
1114
 
1115
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenus-wrap {
1116
- margin-bottom: 2rem;
1117
  }
1118
 
1119
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-wrap {
1120
  display: inline;
1121
- padding-right: 1rem;
1122
  }
1123
 
1124
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-item {
@@ -1132,17 +1134,17 @@ html .pp-form-container .select2 input.select2-search__field {
1132
 
1133
  #profilepress-myaccount-wrapper .profilepress-myaccount-content h3 {
1134
  font-weight: 500 !important;
1135
- font-size: 1.2rem !important;
1136
- margin-bottom: 1rem !important;
1137
  }
1138
 
1139
  .profilepress-myaccount-alert,
1140
  .profilepress-myaccount-edit-profile .profilepress-edit-profile-status {
1141
  position: relative;
1142
- padding: .75rem 1.25rem;
1143
- margin-bottom: 1rem;
1144
  border: 1px solid transparent;
1145
- border-radius: .25rem;
1146
  }
1147
 
1148
  .profilepress-myaccount-alert.pp-alert-danger,
@@ -1160,8 +1162,8 @@ html .pp-form-container .select2 input.select2-search__field {
1160
  }
1161
 
1162
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field {
1163
- margin-top: .5rem;
1164
- margin-bottom: 1rem;
1165
  }
1166
 
1167
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-cover-image-empty {
@@ -1170,11 +1172,11 @@ html .pp-form-container .select2 input.select2-search__field {
1170
  }
1171
 
1172
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap {
1173
- padding: .75rem;
1174
  background-color: #fff;
1175
  border: 1px solid rgba(0, 0, 0, .125);
1176
  margin-bottom: 0;
1177
- border-radius: .25rem;
1178
  }
1179
 
1180
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap img {
@@ -1183,16 +1185,16 @@ html .pp-form-container .select2 input.select2-search__field {
1183
  }
1184
 
1185
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap .profilepress-myaccount-form-field {
1186
- margin-top: .5rem;
1187
- margin-bottom: .5rem;
1188
  }
1189
 
1190
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap {
1191
- margin-bottom: 2rem;
1192
  }
1193
 
1194
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field label {
1195
- margin-bottom: .2rem;
1196
  font-weight: 500;
1197
  display: block;
1198
  }
@@ -1208,15 +1210,15 @@ html .pp-form-container .select2 input.select2-search__field {
1208
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap select {
1209
  display: block;
1210
  width: 100%;
1211
- height: calc(1.5em + .75rem + 2px);
1212
- padding: .375rem .75rem;
1213
- font-size: 1rem;
1214
  font-weight: 400;
1215
  line-height: 1.5;
1216
  background-color: #fff;
1217
  background-clip: padding-box;
1218
  border: 1px solid #ced4da;
1219
- border-radius: .25rem;
1220
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
1221
  overflow: visible;
1222
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
@@ -1254,7 +1256,7 @@ html .pp-form-container .select2 input.select2-search__field {
1254
  position: relative;
1255
  display: inline-block;
1256
  width: 100%;
1257
- height: calc(1.5em + .75rem + 2px);
1258
  margin-bottom: 0;
1259
  }
1260
 
@@ -1262,7 +1264,7 @@ html .pp-form-container .select2 input.select2-search__field {
1262
  position: relative;
1263
  z-index: 2;
1264
  width: 100%;
1265
- height: calc(1.5em + .75rem + 2px);
1266
  margin: 0;
1267
  opacity: 0;
1268
  }
@@ -1273,14 +1275,14 @@ html .pp-form-container .select2 input.select2-search__field {
1273
  right: 0;
1274
  left: 0;
1275
  z-index: 1;
1276
- height: calc(1.5em + .75rem + 2px);
1277
- padding: .375rem .75rem;
1278
  font-weight: 400;
1279
  line-height: 1.5;
1280
  color: #495057;
1281
  background-color: #fff;
1282
  border: 1px solid #ced4da;
1283
- border-radius: .25rem;
1284
  }
1285
 
1286
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-label::after {
@@ -1291,14 +1293,14 @@ html .pp-form-container .select2 input.select2-search__field {
1291
  bottom: 0;
1292
  z-index: 3;
1293
  display: block;
1294
- height: calc(1.5em + .75rem);
1295
- padding: .375rem .75rem;
1296
  line-height: 1.5;
1297
  color: #495057;
1298
  content: "Browse";
1299
  background-color: #e9ecef;
1300
  border-left: inherit;
1301
- border-radius: 0 .25rem .25rem 0;
1302
  }
1303
 
1304
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-input ~ .ppmyac-custom-file-label[data-browse]::after {
@@ -1320,11 +1322,11 @@ html .pp-form-container .select2 input.select2-search__field {
1320
 
1321
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-avatar {
1322
  position: relative;
1323
- padding: .75rem 1.25rem;
1324
  background-color: #fff;
1325
  border: 1px solid rgba(0, 0, 0, .125);
1326
  margin-bottom: 0;
1327
- border-radius: .25rem;
1328
  justify-content: space-between !important;
1329
  display: flex !important;
1330
  }
@@ -1339,12 +1341,12 @@ html .pp-form-container .select2 input.select2-search__field {
1339
  }
1340
 
1341
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .ppmyac-remove-avatar {
1342
- margin-bottom: .5rem !important;
1343
- margin-top: .5rem !important;
1344
- padding: .25rem .5rem;
1345
- font-size: .875rem;
1346
  line-height: 1.5;
1347
- border-radius: .2rem;
1348
  color: #fff;
1349
  height: 35px;
1350
  background-color: #6c757d;
@@ -1360,7 +1362,7 @@ html .pp-form-container .select2 input.select2-search__field {
1360
  }
1361
 
1362
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap .ppmyac-remove-avatar {
1363
- margin-top: .75rem !important;
1364
  margin-bottom: 0 !important;
1365
  }
1366
 
@@ -1372,7 +1374,7 @@ html .pp-form-container .select2 input.select2-search__field {
1372
  }
1373
 
1374
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .select2-selection {
1375
- border-radius: .25rem;
1376
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
1377
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
1378
  }
1
  @import url("hint.min.css");
2
+ @import url("checkout.css");
3
+ @import url("myac-payment-pages.css");
4
 
5
  @font-face {
6
  font-family: 'Material Icons';
1021
  text-decoration: none !important;
1022
  position: relative;
1023
  display: block;
1024
+ padding: .75em 1.25em;
1025
  margin-bottom: -1px;
1026
  background-color: #fff;
1027
  border: 1px solid rgba(0, 0, 0, .125);
1038
  }
1039
 
1040
  #profilepress-myaccount-wrapper .ppmyac-dashboard-item:first-child {
1041
+ border-top-left-radius: .25em;
1042
+ border-top-right-radius: .25em;
1043
  }
1044
 
1045
  #profilepress-myaccount-wrapper .ppmyac-dashboard-item:last-child {
1046
  margin-bottom: 0;
1047
+ border-bottom-right-radius: .25em;
1048
+ border-bottom-left-radius: .25em;
1049
  }
1050
 
1051
  #profilepress-myaccount-wrapper .ppmyac-icons {
1052
+ margin-right: .5em;
1053
  vertical-align: text-bottom;
1054
  }
1055
 
1108
  #profilepress-myaccount-wrapper .profilepress-myaccount-content h2,
1109
  #profilepress-myaccount-wrapper .profilepress-myaccount-content h3 {
1110
  margin-top: 0 !important;
1111
+ margin-bottom: 1em !important;
1112
  font-weight: 700 !important;
1113
  line-height: 1.2 !important;
1114
+ font-size: 2em !important;
1115
  }
1116
 
1117
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenus-wrap {
1118
+ margin-bottom: 2em;
1119
  }
1120
 
1121
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-wrap {
1122
  display: inline;
1123
+ padding-right: 1em;
1124
  }
1125
 
1126
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-item {
1134
 
1135
  #profilepress-myaccount-wrapper .profilepress-myaccount-content h3 {
1136
  font-weight: 500 !important;
1137
+ font-size: 1.2em !important;
1138
+ margin-bottom: 1em !important;
1139
  }
1140
 
1141
  .profilepress-myaccount-alert,
1142
  .profilepress-myaccount-edit-profile .profilepress-edit-profile-status {
1143
  position: relative;
1144
+ padding: .75em 1.25em;
1145
+ margin-bottom: 1em;
1146
  border: 1px solid transparent;
1147
+ border-radius: .25em;
1148
  }
1149
 
1150
  .profilepress-myaccount-alert.pp-alert-danger,
1162
  }
1163
 
1164
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field {
1165
+ margin-top: .5em;
1166
+ margin-bottom: 1em;
1167
  }
1168
 
1169
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-cover-image-empty {
1172
  }
1173
 
1174
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap {
1175
+ padding: .75em;
1176
  background-color: #fff;
1177
  border: 1px solid rgba(0, 0, 0, .125);
1178
  margin-bottom: 0;
1179
+ border-radius: .25em;
1180
  }
1181
 
1182
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap img {
1185
  }
1186
 
1187
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap .profilepress-myaccount-form-field {
1188
+ margin-top: .5em;
1189
+ margin-bottom: .5em;
1190
  }
1191
 
1192
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap {
1193
+ margin-bottom: 2em;
1194
  }
1195
 
1196
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field label {
1197
+ margin-bottom: .2em;
1198
  font-weight: 500;
1199
  display: block;
1200
  }
1210
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap select {
1211
  display: block;
1212
  width: 100%;
1213
+ height: calc(1.5em + .75em + 2px);
1214
+ padding: .375em .75em;
1215
+ font-size: 1em;
1216
  font-weight: 400;
1217
  line-height: 1.5;
1218
  background-color: #fff;
1219
  background-clip: padding-box;
1220
  border: 1px solid #ced4da;
1221
+ border-radius: .25em;
1222
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
1223
  overflow: visible;
1224
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
1256
  position: relative;
1257
  display: inline-block;
1258
  width: 100%;
1259
+ height: calc(1.5em + .75em + 2px);
1260
  margin-bottom: 0;
1261
  }
1262
 
1264
  position: relative;
1265
  z-index: 2;
1266
  width: 100%;
1267
+ height: calc(1.5em + .75em + 2px);
1268
  margin: 0;
1269
  opacity: 0;
1270
  }
1275
  right: 0;
1276
  left: 0;
1277
  z-index: 1;
1278
+ height: calc(1.5em + .75em + 2px);
1279
+ padding: .375em .75em;
1280
  font-weight: 400;
1281
  line-height: 1.5;
1282
  color: #495057;
1283
  background-color: #fff;
1284
  border: 1px solid #ced4da;
1285
+ border-radius: .25em;
1286
  }
1287
 
1288
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-label::after {
1293
  bottom: 0;
1294
  z-index: 3;
1295
  display: block;
1296
+ height: calc(1.5em + .75em);
1297
+ padding: .375em .75em;
1298
  line-height: 1.5;
1299
  color: #495057;
1300
  content: "Browse";
1301
  background-color: #e9ecef;
1302
  border-left: inherit;
1303
+ border-radius: 0 .25em .25em 0;
1304
  }
1305
 
1306
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-input ~ .ppmyac-custom-file-label[data-browse]::after {
1322
 
1323
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-avatar {
1324
  position: relative;
1325
+ padding: .75em 1.25em;
1326
  background-color: #fff;
1327
  border: 1px solid rgba(0, 0, 0, .125);
1328
  margin-bottom: 0;
1329
+ border-radius: .25em;
1330
  justify-content: space-between !important;
1331
  display: flex !important;
1332
  }
1341
  }
1342
 
1343
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .ppmyac-remove-avatar {
1344
+ margin-bottom: .5em !important;
1345
+ margin-top: .5em !important;
1346
+ padding: .25em .5em;
1347
+ font-size: .875em;
1348
  line-height: 1.5;
1349
+ border-radius: .2em;
1350
  color: #fff;
1351
  height: 35px;
1352
  background-color: #6c757d;
1362
  }
1363
 
1364
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap .ppmyac-remove-avatar {
1365
+ margin-top: .75em !important;
1366
  margin-bottom: 0 !important;
1367
  }
1368
 
1374
  }
1375
 
1376
  #profilepress-myaccount-wrapper .profilepress-myaccount-content .select2-selection {
1377
+ border-radius: .25em;
1378
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
1379
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
1380
  }
assets/css/frontend.min.css CHANGED
@@ -1 +1 @@
1
- .ppress-hint-wrap[class*=hint--]{position:relative;display:inline-block}.ppress-hint-wrap[class*=hint--]:after,.ppress-hint-wrap[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}.ppress-hint-wrap[class*=hint--]:before{content:"";background:0 0;border:6px solid transparent;z-index:1000001}.ppress-hint-wrap[class*=hint--]:hover:after,.ppress-hint-wrap[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}.ppress-hint-wrap[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0-1px 0#000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}.ppress-hint-wrap[class*=hint--][aria-label]:after{content:attr(aria-label)}.ppress-hint-wrap[class*=hint--][data-hint]:after{content:attr(data-hint)}.ppress-hint-wrap[aria-label=""]:after,.ppress-hint-wrap[aria-label=""]:before,[data-hint=""]:after,[data-hint=""]:before{display:none!important}.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--top:before{border-top-color:#383838}.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#383838}.ppress-hint-wrap.hint--top:after,.ppress-hint-wrap.hint--top:before{bottom:100%;left:50%}.ppress-hint-wrap.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.ppress-hint-wrap.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.ppress-hint-wrap.hint--bottom:after,.ppress-hint-wrap.hint--bottom:before{top:100%;left:50%}.ppress-hint-wrap.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.ppress-hint-wrap.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.ppress-hint-wrap.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.ppress-hint-wrap.hint--right:after{margin-bottom:-14px;left:100%;bottom:50%}.ppress-hint-wrap.hint--right:before{left:100%;bottom:50%}.ppress-hint-wrap.hint--right:hover:after,.ppress-hint-wrap.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.ppress-hint-wrap.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.ppress-hint-wrap.hint--left:after{margin-bottom:-14px;right:100%;bottom:50%}.ppress-hint-wrap.hint--left:before{right:100%;bottom:50%}.ppress-hint-wrap.hint--left:hover:after,.ppress-hint-wrap.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.ppress-hint-wrap.hint--top-left:after,.ppress-hint-wrap.hint--top-left:before{bottom:100%;left:50%}.ppress-hint-wrap.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.ppress-hint-wrap.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.ppress-hint-wrap.hint--top-right:after,.ppress-hint-wrap.hint--top-right:before{bottom:100%;left:50%}.ppress-hint-wrap.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.ppress-hint-wrap.hint--top-right:hover:after,.ppress-hint-wrap.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--bottom-left:after,.ppress-hint-wrap.hint--bottom-left:before{top:100%;left:50%}.ppress-hint-wrap.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.ppress-hint-wrap.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.ppress-hint-wrap.hint--bottom-right:after,.ppress-hint-wrap.hint--bottom-right:before{top:100%;left:50%}.ppress-hint-wrap.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.ppress-hint-wrap.hint--bottom-right:hover:after,.ppress-hint-wrap.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--large:after,.ppress-hint-wrap.hint--medium:after,.ppress-hint-wrap.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.ppress-hint-wrap.hint--small:after{width:80px}.ppress-hint-wrap.hint--medium:after{width:150px}.ppress-hint-wrap.hint--large:after{width:300px}.ppress-hint-wrap.hint--error:after{background-color:#b34e4d;text-shadow:0-1px 0#592726}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--top:before{border-top-color:#b34e4d}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#b34e4d}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--left:before{border-left-color:#b34e4d}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--right:before{border-right-color:#b34e4d}.ppress-hint-wrap.hint--warning:after{background-color:#c09854;text-shadow:0-1px 0#6c5328}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--top:before{border-top-color:#c09854}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#c09854}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--left:before{border-left-color:#c09854}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--right:before{border-right-color:#c09854}.ppress-hint-wrap.hint--info:after{background-color:#3986ac;text-shadow:0-1px 0#1a3c4d}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--top:before{border-top-color:#3986ac}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#3986ac}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--left:before{border-left-color:#3986ac}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--right:before{border-right-color:#3986ac}.ppress-hint-wrap.hint--success:after{background-color:#458746;text-shadow:0-1px 0#1a321a}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--top:before{border-top-color:#458746}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#458746}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--left:before{border-left-color:#458746}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--right:before{border-right-color:#458746}.ppress-hint-wrap.hint--always:after,.ppress-hint-wrap.hint--always:before{opacity:1;visibility:visible}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-right:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-right:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--left:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--right:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.ppress-hint-wrap.hint--rounded:after{border-radius:4px}.ppress-hint-wrap.hint--no-animate:after,.ppress-hint-wrap.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.ppress-hint-wrap.hint--bounce:after,.ppress-hint-wrap.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}.ppress-hint-wrap.hint--no-shadow:after,.ppress-hint-wrap.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}@font-face{font-family:"Material Icons";font-style:normal;font-weight:400;src:url(./material-icons/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(./material-icons/MaterialIcons-Regular.woff2)format("woff2"),url(./material-icons/MaterialIcons-Regular.woff)format("woff"),url(./material-icons/MaterialIcons-Regular.ttf)format("truetype")}#profilepress-myaccount-wrapper .ppmyac-icons,.pp-form-field-wrap .pp-form-material-icons,.ppress-material-icons{font-family:"Material Icons"!important;font-weight:400;font-style:normal;font-size:20px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.flatpickr-current-month .flatpickr-monthDropdown-months{display:inline-block!important}.pp-tab-widget-avatar img{display:block;border-radius:50%;height:190px;margin:0 auto 10px!important;padding:2px;text-align:center;width:190px;float:none!important}.pp-user-panel{border-radius:6px;text-align:center}.pp-user-panel-title{font-size:20px;margin:0}.pp-user-panel p{font-size:15px;margin-bottom:23px}.pp-tabbed-btn{border:0;font-size:15px;font-weight:400;line-height:1.4;border-radius:4px;padding:10px 15px;-webkit-font-smoothing:subpixel-antialiased;-webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;transition:border .25s linear,color .25s linear,background-color .25s linear}.pp-tabbed-btn-inverse{color:#fff!important;background-color:#34495e}.pp-password-reset-handler-wrap .pp-reset-password-form{padding:40px;max-width:500px;margin-top:5px;margin-bottom:5px}.pp-password-reset-handler-wrap .pp-reset-password-form h3{color:#444;font-weight:300;margin:0 auto 40px}.pp-password-reset-handler-wrap .pp-reset-password-form label{color:#444;font-size:15px}.pp-password-reset-handler-wrap .pp-reset-password-form label .req{margin:2px;color:red}.pp-password-reset-handler-wrap .pp-reset-password-form label.active .req{opacity:0}.pp-password-reset-handler-wrap .pp-reset-password-form input{font-size:22px;display:block;width:100%;box-sizing:border-box;height:auto;padding:5px 10px;background:0 0;margin-bottom:40px;border:1px solid #a0b3b0;border-radius:0;-webkit-transition:border-color .25s ease,box-shadow .25s ease;transition:border-color .25s ease,box-shadow .25s ease}.pp-password-reset-handler-wrap .pp-reset-password-form input:focus{outline:0;border-color:#1ab188}.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button{border:0;outline:0;border-radius:0;padding:15px 0;font-size:20px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;background:#1ab188;color:#fff;-webkit-transition:all .5s ease;transition:all .5s ease;-webkit-appearance:none;text-shadow:none;box-shadow:none}.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button:focus,.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button:hover{background:#179b77}.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button-block{display:block;width:100%}.pp-password-reset-handler-wrap .profilepress-reset-status{margin-left:40px;max-width:420px}#pp-pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;padding:3px 5px;text-align:center;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#pp-pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pp-pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pp-pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pp-pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}.pp-form-wrapper .pp-form-label-wrap .pp-form-required-label{color:red;font-weight:400}.pp-form-wrapper input[type=checkbox],.pp-form-wrapper input[type=radio]{cursor:pointer}.pp-form-wrapper p{margin:0 0 5px!important;padding:0!important}.pp-form-wrapper input[type=datetime],.pp-form-wrapper input[type=email],.pp-form-wrapper input[type=number],.pp-form-wrapper input[type=password],.pp-form-wrapper input[type=search],.pp-form-wrapper input[type=tel],.pp-form-wrapper input[type=text],.pp-form-wrapper input[type=url],.pp-form-wrapper select,.pp-form-wrapper textarea{-webkit-appearance:none;width:100%;background:#fff;border:1px solid #dedee5;padding:13px 15px;outline:0;line-height:1}.pp-form-wrapper select{background-image:url(../images/frontend/arrow-down.png)!important;background-position:right 20px center!important;background-repeat:no-repeat!important;background-size:10px auto!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.pp-form-wrapper .pp-form-label-wrap{margin:0 0 4px;padding:0}.pp-form-wrapper .pp-form-label{font-size:14px;text-transform:none;text-align:left;font-weight:400;font-style:normal;float:none;line-height:1.3;margin:0;padding:0;width:auto;display:inline;cursor:pointer}.pp-form-wrapper .pp-checkbox-wrap,.pp-form-wrapper .pp-radio-wrap{display:block;text-align:left;line-height:normal;margin:5px 0;padding:0}.pp-form-wrapper .pp-checkbox-wrap label,.pp-form-wrapper .pp-radio-wrap label{margin-left:5px}.pp-form-wrapper input[type=checkbox],.pp-form-wrapper input[type=radio]{border:1px solid #ccc;background-color:#fff;width:14px!important;height:14px!important;display:inline-block;vertical-align:baseline}.pp-form-wrapper .ppress-pf-profile-connect{padding:5px 0 10px}.pp-form-wrapper a.ppress-pf-social-icon{width:100%;height:100%;display:inline}.pp-form-wrapper .ppress-pf-social-icon svg{vertical-align:middle;width:40px;height:40px}.pp-form-wrapper .ppress-pf-social-icon.dpf-github svg,.pp-form-wrapper .ppress-pf-social-icon.dpf-instagram svg,.pp-form-wrapper .ppress-pf-social-icon.dpf-pinterest svg{padding:3px}a.pp-button-social-login:focus{outline-color:transparent}a.pp-button-social-login:focus .ppsc,a.pp-button-social-login:hover .ppsc{background-color:rgba(255,255,255,.75)}a.pp-button-social-login:visited{color:#fff}a.pp-button-social-login,a.pp-button-social-login .ppsc{display:inline-block;font-size:100%;height:2.5em;padding:0}a.pp-button-social-login{position:relative;vertical-align:middle;line-height:2.5em;font-family:inherit;font-weight:700;overflow:hidden;white-space:nowrap;border:1px solid #333;color:#fff!important;background:#333;margin:6px 0;border-radius:2px;box-sizing:content-box;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.1);text-decoration:none!important;min-width:220px}a.pp-button-social-login .ppsc{font-style:normal;font-weight:400;text-decoration:none;text-transform:none;vertical-align:top;text-align:center;width:2.5em;background-color:#fff;background-repeat:no-repeat;background-position:50%;background-size:1.8em 1.8em;border-top-left-radius:1px;border-bottom-left-radius:1px;-moz-font-smoothing:antialiased;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;position:absolute;left:0;margin:0}a.pp-button-social-login span.ppsc-text{margin-left:40px;padding:.5em;color:#fff!important}a.pp-button-social-login .ppsc-google{background-image:url(../images/social-login/google.svg)}a.pp-button-social-login.pp-button-social-login-google{background:#4285f4;border-color:#4285f4}a.pp-button-social-login.pp-button-social-login-facebook{background:#3b5998;border-color:#3b5998}a.pp-button-social-login.pp-button-social-login-twitter{background:#55acee;border-color:#55acee}a.pp-button-social-login.pp-button-social-login-linkedin{background:#0077b5;border-color:#0077b5}a.pp-button-social-login.pp-button-social-login-vk{background:#4a76a8;border-color:#4a76a8}a.pp-button-social-login.pp-button-social-login-github{background:#24292e;border-color:#24292e}a.pp-button-social-login .ppsc-vk{background-image:url(../images/social-login/vk-fa.svg)}a.pp-button-social-login .ppsc-facebook{background-image:url(../images/social-login/facebook.svg)}a.pp-button-social-login .ppsc-twitter{background-image:url(../images/social-login/twitter.svg)}a.pp-button-social-login .ppsc-linkedin{background-image:url(../images/social-login/linkedin.svg)}a.pp-button-social-login .ppsc-github{background-image:url(../images/social-login/github-fa.svg)}#profilepress-myaccount-wrapper,#profilepress-myaccount-wrapper *,#profilepress-myaccount-wrapper ::after,#profilepress-myaccount-wrapper ::before,.pp-form-container *,.pp-form-container .pp-form-wrapper,.pp-form-container .pp-form-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap span.select2-selection.select2-selection--multiple,html .pp-form-container .select2 input.select2-search__field{border:0!important}.pp-form-container form input[type=submit]{-webkit-appearance:none!important;cursor:pointer;text-shadow:none}.pp-form-container form{margin:0;padding:0;background-color:transparent}.woocommerce .woocommerce-MyAccount-content .pp-form-container{margin-right:0!important;margin-left:0!important}.pp-form-container form input,.pp-form-container form select,.pp-form-container form textarea{outline:0;background-image:none;height:auto;float:none;position:static;box-shadow:none;text-shadow:none;text-transform:none;text-decoration:none;resize:vertical}.pp-form-container form p{margin:0 0 .5em}.pp-form-container form input[type=submit]:focus{outline:0}.pp-form-container .pp-user-avatar{border-radius:50%!important;display:block!important;margin:0 auto 10px!important;text-align:center!important}.pp-form-container img.pp-user-cover-image{width:100%!important;height:auto!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=checkbox],#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border:1px solid #7e8993!important;border-radius:4px!important;background:#fff!important;color:#555!important;clear:none!important;cursor:pointer!important;display:inline-block!important;line-height:0!important;margin:0!important;outline:0!important;padding:0!important;text-align:center!important;vertical-align:middle!important;-webkit-appearance:none!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)!important;transition:.05s border-color ease-in-out!important;width:16px!important;height:16px!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border-radius:50%!important}.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border-radius:4px!important}.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border-radius:50%!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=checkbox]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox]:checked::before{content:url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E)!important;margin:-3px 0 0-4px!important;width:20px!important;height:20px!important;position:static}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]:checked::before{content:"";border-radius:50%!important;margin:3px!important;background-color:#000!important;line-height:1.14285714!important;width:8px!important;height:8px!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=checkbox]:checked::before,#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]:checked::before{float:left!important;display:inline-block!important;vertical-align:middle!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pp-form-container .pp-form-wrapper.ppBuildScratch,.pp-form-container .pp-form-wrapper.ppBuildScratch *{font-family:"Merriweather",sans-serif}.pp-form-container .pp-form-wrapper.ppBuildScratch .ppbs-headline{font-weight:700;font-size:20px;margin-bottom:1em;margin-top:0;text-align:center;margin-right:6.387%}.pp-form-container .pp-form-wrapper.ppBuildScratch h1,.pp-form-container .pp-form-wrapper.ppBuildScratch h2,.pp-form-container .pp-form-wrapper.ppBuildScratch h3,.pp-form-container .pp-form-wrapper.ppBuildScratch h4{font-weight:700;font-size:20px;margin-bottom:1em;margin-top:1em}.pp-form-container .pp-form-wrapper.ppBuildScratch input:disabled{opacity:.5}.pp-form-container .pp-form-wrapper.ppBuildScratch{max-width:100%;width:100%;padding:6%0 6% 6%;background:#fff;color:#222;font-size:14px;position:relative;box-shadow:0 0 0 .5px rgba(0,20,40,.1),0 2px 8px 0 rgba(50,55,90,.2);border-radius:3px;margin:0 auto}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppf-remove-frame{box-shadow:none;border-radius:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap{padding:0 6.387% 4%0;display:inline-block;width:100%;vertical-align:top}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap{display:inline-block;width:100%;vertical-align:top;padding:0 6.387%0 0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .pp-form-label-wrap{margin:0 0 5px;padding:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-reveal .pp-form-field-description,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-reveal .ppress-hint-tooltip,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-standard .ppress-hint-tooltip,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-tooltip .pp-form-field-description{display:none}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-reveal .pp-form-field-input-textarea-wrap .pp-form-field:focus~.pp-form-field-description{display:block}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-tooltip .ppress-hint-tooltip{display:inline;font-weight:400}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-tooltip .ppress-hint-tooltip .pp-form-material-icons{position:relative;margin:0;padding:0;font-size:110%;display:inline;vertical-align:top}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fld-inside{position:relative}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fld-inside .pp-form-label-wrap{position:absolute;top:5px;left:15px;z-index:2}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap.fld-inside .pp-form-label-wrap{left:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fld-inside .pp-form-field-input-textarea-wrap .pp-form-field{padding-top:18px;padding-bottom:2px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap.fld-inside .pp-form-field-input-textarea-wrap .pp-form-field{padding-top:23px;padding-bottom:7px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap.fld-inside .pp-form-field-input-textarea-wrap .pp-form-field{padding-top:30px;padding-bottom:10px}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fw-half{width:50%}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fw-third{width:33.3333333333%}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap textarea{border:1px solid #dbdbdb;font-size:14px;padding:10px 15px;-webkit-transition:all .35s;transition:all .35s;background:#fff;color:#69717a;width:100%;border-radius:0;line-height:1.3;min-height:40px;display:inline-block;margin:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap textarea{height:100px;overflow:auto}.pp-form-field-wrap .pp-form-material-icons{width:24px;height:24px;position:absolute;right:0;top:0;cursor:text;margin:8px 12px 0 0}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-right .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-right .pp-form-field-wrap.field-has-icon textarea{padding-right:40px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-left .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-left .pp-form-field-wrap.field-has-icon textarea{padding-left:40px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-left .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-left .pp-form-field-wrap.field-has-icon textarea{padding-left:30px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-right .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-right .pp-form-field-wrap.field-has-icon textarea{padding-right:30px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-left .pp-form-field-wrap .pp-form-material-icons{left:0;margin-left:12px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-left .pp-form-field-wrap .pp-form-material-icons{left:0!important;margin-left:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-right .pp-form-field-wrap .pp-form-material-icons{margin-right:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap .pp-form-material-icons{margin-top:10px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap .pp-form-material-icons{margin-top:18px}.pp-form-container .pp-form-wrapper.ppBuildScratch .has-password-visibility-icon .pp-form-material-icons{cursor:pointer}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-pill .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-pill .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-pill .pp-form-field-wrap textarea{border-radius:25px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-round .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-round .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-round .pp-form-field-wrap textarea{border-radius:6px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap .select2.select2-container,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap textarea{border:0!important;border-bottom:1px solid #dbdbdb!important;padding-left:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap input[type=text]:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap select:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap textarea:focus{border-top:0!important;border-right:0!important;border-left:0!important;box-shadow:none!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap .select2-selection,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap textarea{border:0!important;background:#f7f7f7!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap select{padding-top:15px;padding-bottom:15px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap textarea{height:150px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap select{padding-top:20px;padding-bottom:20px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap textarea{height:200px}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap input[type=text]:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap select:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap textarea:focus{border:1px solid #999}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .pp-form-label-wrap .pp-form-label,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .ppform-remember-label{font-style:normal;background-color:transparent;display:block;font-weight:700;font-size:14px;float:none;line-height:1.3;margin:0;padding:0;color:#444}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .ppform-remember-label{display:inline-block}.pp-field-user-avatar-picture-wrap .pp-profile-avatar-overlay ins,.pp-field-user-cover-image-wrap .pp-cover-image-overlay ins,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppf-hide-asterisk .pp-form-required-label{display:none}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap input[type=submit]{background:#000;border:0;color:#fff;font-weight:700;font-size:16px;line-height:1;padding:15px 10px;transition:.15s ease-in-out;width:auto;min-width:110px;text-align:center}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-submit-button-wrap input[type=submit],.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-submit-button-wrap input[type=submit]{padding-top:20px;padding-bottom:20px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbl-pill .pp-form-submit-button-wrap input[type=submit]{border-radius:25px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbl-round .pp-form-submit-button-wrap input[type=submit]{border-radius:6px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap input[type=submit]:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap input[type=submit]:hover{background-color:#ededed;color:#000;text-decoration:none}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-checkbox-wrap,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-radio-wrap{margin:0 0 5px}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-checkboxes-container,.ppressmd-new-dropdown ul{margin:0;padding:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-checkbox-wrap:last-of-type,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-radio-wrap:last-of-type{margin-bottom:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-description{font-size:12px;font-weight:400;color:#666;line-height:1.3;text-align:left;margin:4px 0 0}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-wide .pp-form-submit-button-wrap input[type=submit]{width:100%}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width .pp-form-submit-button-wrap{margin-top:4%;margin-bottom:4%}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width .pp-form-submit-button-wrap input[type=submit]{width:100%!important;position:absolute!important;bottom:0!important;right:0!important;left:0!important;border-top-right-radius:0!important;border-top-left-radius:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width.ppsbl-pill{border-bottom-right-radius:25px!important;border-bottom-left-radius:25px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width.ppsbl-round{border-bottom-right-radius:6px!important;border-bottom-left-radius:6px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch a.pp-button-social-login:last-of-type{margin-bottom:1.5em!important}#profilepress-myaccount-wrapper{font-size:16px}#profilepress-myaccount-wrapper .profilepress-myaccount-row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}#profilepress-myaccount-wrapper .profilepress-myaccount-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0}#profilepress-myaccount-wrapper .ppmyac-dashboard-item{text-decoration:none!important;position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125);width:100%;text-align:inherit;box-shadow:none}#profilepress-myaccount-wrapper .ppmyac-dashboard-item.isactive{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}#profilepress-myaccount-wrapper .ppmyac-dashboard-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}#profilepress-myaccount-wrapper .ppmyac-dashboard-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}#profilepress-myaccount-wrapper .ppmyac-icons{margin-right:.5rem;vertical-align:text-bottom}#profilepress-myaccount-wrapper .profilepress-myaccount-col-sm-3{position:relative;width:100%;padding-right:15px;padding-left:15px}@media (min-width:576px){#profilepress-myaccount-wrapper .profilepress-myaccount-col-sm-3{flex:0 0 25%;max-width:25%}}#profilepress-myaccount-wrapper .profilepress-myaccount-content{position:relative;width:100%;padding-top:30px;padding-right:15px;padding-left:15px}@media (min-width:576px){#profilepress-myaccount-wrapper .profilepress-myaccount-content{flex:0 0 75%;max-width:75%}}#profilepress-myaccount-wrapper .profilepress-myaccount-avatar-wrap{text-align:center;margin-bottom:20px}#profilepress-myaccount-wrapper .profilepress-myaccount-avatar-wrap .profilepress-myaccount-avatar img.pp-user-avatar{margin:0!important;position:static!important;float:none!important;display:inline-block;-moz-border-radius:999px;-webkit-border-radius:999px;border-radius:999px;width:120px;height:120px}#profilepress-myaccount-wrapper .profilepress-myaccount-nav a:focus{outline:0;text-shadow:none;box-shadow:none}#profilepress-myaccount-wrapper .profilepress-myaccount-content h2{margin-top:0!important;margin-bottom:1.8rem!important;font-weight:700!important;line-height:1.2!important;font-size:2rem!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content h3{margin-top:0!important;line-height:1.2!important;font-weight:500!important;font-size:1.2rem!important;margin-bottom:1rem!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenus-wrap{margin-bottom:2rem}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-wrap{display:inline;padding-right:1rem}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-item{color:inherit;padding:0 0 10px}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-item.ppsubmenu-active{border-bottom:3px solid #6c757d}.profilepress-myaccount-alert,.profilepress-myaccount-edit-profile .profilepress-edit-profile-status{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.profilepress-myaccount-alert.pp-alert-danger,.profilepress-myaccount-edit-profile .profilepress-edit-profile-status{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.profilepress-myaccount-alert.pp-alert-success,.profilepress-myaccount-edit-profile .profilepress-edit-profile-status.success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field{margin-top:.5rem;margin-bottom:1rem}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-cover-image-empty{min-height:250px;background-color:#eee}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap{padding:.75rem;background-color:#fff;border:1px solid rgba(0,0,0,.125);margin-bottom:0;border-radius:.25rem}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap img{width:100%;height:auto}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap .profilepress-myaccount-form-field{margin-top:.5rem;margin-bottom:.5rem}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap{margin-bottom:2rem}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field label{margin-bottom:.2rem;font-weight:500;display:block}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field input[type=checkbox]+label,#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field input[type=radio]+label{display:inline}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .profilepress-myaccount-form-control:not([type=radio]):not([type=checkbox]),#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap input:not([type=radio]):not([type=checkbox]):not([type=submit]),#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap select,#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap textarea{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;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;overflow:visible;box-shadow:inset 0 1px 1px rgba(0,0,0,.125)}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap textarea{height:auto!important;min-height:100px!important;resize:vertical!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input.profilepress-myaccount-form-control:focus,#profilepress-myaccount-wrapper .profilepress-myaccount-content select.profilepress-myaccount-form-control:focus,#profilepress-myaccount-wrapper .profilepress-myaccount-content textarea.profilepress-myaccount-form-control:focus{background-color:#fff;border-color:#bbb;outline:0;box-shadow:none}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .profilepress-myaccount-form-field input[type=submit]{display:inline-block;cursor:pointer;width:auto}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .profilepress-myaccount-form-field input[type=submit]:hover{color:#fff;background-color:#0069d9;border-color:#0062cc;text-decoration:none}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);margin-bottom:0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75rem + 2px);margin:0;opacity:0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-label::after{position:absolute;top:0;right:0;box-sizing:border-box;bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);padding:.375rem .75rem;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-input~.ppmyac-custom-file-label[data-browse]::after{content:attr(data-browse)}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field .pp-checkbox-wrap label.pp-form-label,#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field .pp-radio-wrap label.pp-form-label{display:inline-block;margin:0 0 0 .3819820591em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-avatar-wrap{display:flex;flex-direction:column;margin:1em 0 0;padding-left:0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-avatar{position:relative;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125);margin-bottom:0;border-radius:.25rem;justify-content:space-between!important;display:flex!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content .pp-user-avatar{width:70px;height:70px;min-height:100%;object-fit:cover;object-position:center;border-radius:50%}#profilepress-myaccount-wrapper .profilepress-myaccount-content .ppmyac-remove-avatar{margin-bottom:.5rem!important;margin-top:.5rem!important;padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem;color:#fff;height:35px;background-color:#6c757d;display:inline-block;font-weight:400;text-align:center;vertical-align:middle;text-shadow:none;cursor:pointer;user-select:none;border:1px solid #6c757d;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap .ppmyac-remove-avatar{margin-top:.75rem!important;margin-bottom:0!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input.profilepress-myaccount-form-control::-webkit-file-upload-button{background:#fff;border-radius:6px;font-size:14px;border:1px solid #ddd}#profilepress-myaccount-wrapper .profilepress-myaccount-content .select2-selection{border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;box-shadow:inset 0 1px 1px rgba(0,0,0,.125)}.ppress-2fa-setup-wrap .ppmyac-2fa-recovery-codes-wrap{width:250px;text-align:center}.pp-form-container .pp-field-user-avatar-picture-wrap{width:250px;height:auto;margin:auto;position:relative}.pp-form-container .pp-field-user-cover-image-wrap{margin:auto;position:relative}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay-wrap,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay-wrap{position:absolute;top:0;left:0;background:rgba(0,0,0,.5);text-align:center;box-sizing:border-box;padding:0;color:#fff;text-shadow:0 1px #666;line-height:21px;font-size:16px;height:100%;width:100%;border-radius:50%}.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay-wrap{border-radius:0}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay{display:table;height:100%;width:100%}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay ins,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay ins{display:table-cell;vertical-align:middle;height:100%;text-decoration:none!important;background:0 0!important;color:#fff!important;border-bottom:none!important}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay-wrap .pp-profile-avatar-overlay .pp-form-material-icons,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay-wrap .pp-cover-image-overlay .pp-form-material-icons{font-size:35px!important;display:block!important;position:static!important;right:auto!important;top:auto!important;color:#fff!important;margin:0!important;width:auto!important;height:auto!important;cursor:pointer}html .select2.select2-container .select2-selection.select2-selection--multiple input.select2-search__field{border:0!important;height:auto!important}.select2.select2-container .select2-selection.select2-selection--multiple input.select2-search__field{border:0!important;box-shadow:none!important}.select2.select2-container .select2-selection.select2-selection--multiple li.select2-selection__choice{height:auto;line-height:normal}.pp-form-wrapper.pp-member-directory{opacity:0}.pp-form-wrapper.ppress-default-profile{max-width:1000px;width:100%;box-sizing:border-box;font-size:15px;color:#666;margin-bottom:30px;opacity:0}.pp-form-wrapper.ppress-default-profile *{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pp-form-wrapper.ppress-default-profile a,.pp-form-wrapper.ppress-default-profile a:hover{text-decoration:none!important}.pp-form-wrapper.ppress-default-profile .ppress-default-profile-cover{background-color:#eee;box-sizing:border-box;position:relative}.pp-form-wrapper.ppress-default-profile .ppress-default-profile-cover-e{text-align:center;overflow:hidden}.pp-form-wrapper.ppress-default-profile .ppress-default-profile-cover-e img{width:100%;display:block;overflow:hidden;border-radius:0;margin:0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-header{position:relative;padding:0 0 25px;border-bottom:solid 2px #eee;min-height:85px;box-sizing:content-box}.pp-form-wrapper.ppress-default-profile .ppress-dpf-headericon{position:absolute;top:15px;right:0;vertical-align:middle;font-size:30px;height:30px;line-height:30px;z-index:66;margin-right:10px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-headericon .ppress-dpf-edit-a .ppress-material-icons{font-size:30px}.pp-form-wrapper.ppress-default-profile a.ppress-dpf-edit-a{color:#aaa;text-decoration:none;border-bottom:0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-headericon a:hover,.pp-form-wrapper.ppress-default-profile a.ppress-dpf-edit-a.active{color:#007bff}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-photo{float:left;position:absolute;margin:0 0 0 30px;box-sizing:border-box;width:200px;height:200px}.pp-form-wrapper.ppress-default-profile.ppdf-nocover .ppress-dpf-profile-photo{position:relative}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-photo img{width:100%;height:auto;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;display:block;overflow:hidden;margin:0;box-shadow:none;background:#fff;border:5px solid #fff}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-meta{padding-right:30px;-ms-word-break:break-all;word-break:break-word;word-wrap:break-word}.pp-form-wrapper.ppress-default-profile .ppress-dpf-main-meta{padding:10px 0 0;color:#999}.pp-form-wrapper.ppress-default-profile .ppress-dpf-name{font-size:24px;font-weight:700;margin-right:30px;color:#555;line-height:1.7em}.pp-form-wrapper.ppress-default-profile .ppress-dpf-clear{clear:both}.pp-form-wrapper.ppress-default-profile .ppress-dpf-meta span{margin:0 5px;font-size:14px;display:inline-block;line-height:.1}.pp-form-wrapper.ppress-default-profile .ppress-dpf-meta span:first-child{margin:0 5px 0 0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-meta-text{margin:5px 0 0;line-height:1.4em;font-size:13px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav{padding:10px;background:#444;text-align:center}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item a{color:#fff;font-size:14px;font-weight:600;padding:6px 10px 6px 28px;display:block;float:left;border-radius:4px;margin-left:5px;position:relative;border-bottom:0;text-decoration:none!important}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item a:hover{background:#555}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item .ppress-material-icons{font-size:18px;height:18px;line-height:1.5;position:absolute;display:block;left:10px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item span.ppress-dpf-nav-title{padding-left:5px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item.ppress-dpf-active a{background:#007bff}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-body{max-width:600px;padding-top:15px;padding-bottom:15px;margin:auto}.pp-form-wrapper.ppress-default-profile .pp-user-comment-no-item,.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note{text-align:center;padding-top:20px;color:#666}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note .ppress-material-icons{display:inline-block;font-size:70px;height:70px;line-height:70px}.pp-form-wrapper.ppress-default-profile .pp-user-comment-no-item span,.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note span{margin-top:10px;display:block;font-size:16px;color:#888}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note a{border:0!important}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-body-items{margin:0 0 30px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-body-item{position:relative;padding:15px 0 0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-item-label{display:block;margin:0 0 8px;border-bottom:solid 2px #eee;padding-bottom:4px;font-size:15px;line-height:22px;font-weight:700}.pp-form-wrapper.ppress-default-profile .ppress-dpf-field-label-icon{float:left;margin:0 8px 0 0;height:22px;line-height:18px;display:inline-block;width:24px;text-align:center}.pp-form-wrapper.ppress-default-profile .ppress-dpf-field-label-icon i{font-size:22px;position:relative;top:1px}.pp-form-wrapper.ppress-default-profile .ppdf-nocover .ppress-dpf-profile-photo{float:none;margin:0 auto;text-align:center;position:relative}.pp-form-wrapper.ppress-default-profile .ppdf-nocover .ppress-dpf-profile-meta{padding-left:0!important;padding-right:0!important;text-align:center!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav{padding:0!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item a,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item a{margin-left:0!important;border-radius:0!important}.ppress-dpf-profile-nav-item.ppressui340 .ppress-dpf-profile-body{padding-left:0!important;padding-right:0!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{position:static!important;top:auto!important;left:auto!important}.ppress-default-profile.ppressui340 .ppress-dpf-header .ppress-dpf-profile-meta{text-align:center!important;padding:0!important;margin-top:-30px!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-meta{padding-top:0!important}.ppress-default-profile.ppressui340 .ppress-dpf-header .ppress-dpf-name{float:none!important;margin-right:0!important;font-size:18px!important}.ppress-default-profile.ppressui340 .ppress-dpf-header .ppress-dpf-meta-text{padding:0 20px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-photo{position:relative!important;width:100px!important;height:100px!important;margin:0 auto!important;float:none!important;left:auto!important;text-align:center!important;top:-40px!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{width:120px!important;height:120px!important}.ppress-default-profile.ppressui340 .ppress-dpf-nav-title{font-size:12px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item .ppress-material-icons,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item i{display:block!important;position:static!important;top:auto!important;left:auto!important;height:20px!important;line-height:20px!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-meta{margin-top:0!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav{padding:0!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item i{font-size:22px!important;height:22px!important;line-height:22px!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-body{padding-left:0!important;padding-right:0!important}.ppress-default-profile.ppressui500.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{position:static!important;top:auto!important;left:auto!important;width:120px!important;height:120px!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-photo{position:relative!important;width:100px!important;height:100px!important;margin:0 auto!important;float:none!important;display:block!important;top:-40px!important;left:0!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-profile-meta{text-align:center!important;padding:0!important;margin-top:-30px!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-name{float:none!important;margin-right:0!important;font-size:21px!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-meta-text{padding-top:10px!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-meta{padding:0 20px!important;display:block!important}.ppress-default-profile.ppressui500 .ppress-dpf-nav-title{font-size:12px!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item .ppress-material-icons{display:block!important;position:static!important;top:auto!important;left:auto!important;height:20px!important;line-height:20px!important}.ppress-default-profile.ppressui500.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-meta{margin-top:0!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-nav{padding:0!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-nav-item a{padding:10px 20px!important;margin-left:0!important;border-radius:0!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-photo{width:140px!important;height:140px!important;top:-70px!important}.ppress-default-profile.ppressui800.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{top:auto!important}.ppress-default-profile.ppressui800 .ppress-dpf-header .ppress-dpf-meta-text{padding-top:10px!important}.ppress-default-profile.ppressui800 .ppress-dpf-nav-title{font-size:12px!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-nav-item .ppress-material-icons{display:block!important;position:static!important;top:auto!important;left:auto!important;font-size:20px!important;height:20px!important;line-height:20px!important}.ppress-default-profile.ppressui960 .ppress-dpf-profile-photo{width:140px!important;height:140px!important;top:-70px!important}.ppress-default-profile.ppressui960.ppdf-nocover .ppress-dpf-profile-meta{margin-top:-50px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item a,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item a{padding:5px 11px!important;font-size:12px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item .ppress-material-icons,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item .ppress-material-icons{font-size:14px!important}.ppress-default-profile.ppressui340 span.ppress-dpf-nav-title,.ppress-default-profile.ppressui500 span.ppress-dpf-nav-title{font-size:10px!important}.pp-form-wrapper.ppress-default-profile ul.pp-user-post-list{list-style:none;margin:0;padding:0}.pp-form-wrapper.ppress-default-profile li.pp-user-post-item{padding:20px 0;border-bottom:1px solid #eee}.pp-form-wrapper.ppress-default-profile .pp-user-post-item a,.pp-form-wrapper.ppress-default-profile .pp-user-post-item h3{font-size:16px;font-weight:400;margin:0;text-decoration:none}.pp-form-wrapper.ppress-default-profile .pp-user-post-item h3.pp-post-item-head{line-height:20px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-more-post-wrap{text-align:center;padding-top:30px}.pp-form-wrapper.ppress-default-profile a.ppress-dpf-more-post-btn{font-size:15px;border:0;display:block;width:100%;line-height:1em;padding:15px;text-decoration:none;text-align:center;text-transform:none;font-weight:400;transition:.25s;border-radius:4px;-webkit-box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);max-width:250px;margin:0 auto;color:#fff;background:#007bff}.pp-form-wrapper.ppress-default-profile .pp-user-comment-item{padding:20px 0;border-bottom:1px solid #eee}.pp-form-wrapper.ppress-default-profile .pp-user-comment-item-link a{color:inherit}.pp-form-wrapper.ppress-default-profile .pp-user-comment-no-item+.ppress-dpf-more-post-wrap{display:none}.pp-member-directory .ppressmd-member-directory-header.ppressmd-form{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;flex-wrap:nowrap;width:100%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row:not(.ppressmd-member-directory-filters-bar){display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;margin:0 0 10px}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row.ppressmd-member-directory-search-row{justify-content:flex-end}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:nowrap;width:60%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label{flex:1;margin:0 10px 0 0;min-width:90px;max-width:85%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label .ppressmd-search-line{-webkit-appearance:textfield;width:100%;padding:0 12px!important;display:block!important;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;outline:0!important;cursor:text!important;font-size:15px!important;height:40px!important;box-sizing:border-box!important;box-shadow:none!important;margin:0!important;position:static}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line .ppressmd-do-search{min-width:15%;width:auto}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:nowrap;width:100%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-sorting{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;flex:5}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-sorting .ppressmd-member-directory-sorting-a{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;position:relative;cursor:pointer}.pp-member-directory .ppressmd-member-directory-header a{text-decoration:none;border-bottom:none;box-shadow:none}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppress-material-icons{display:inline;vertical-align:middle}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters{display:flex;flex-direction:row;justify-content:flex-end;align-items:baseline;flex-wrap:nowrap;flex:2;text-align:right}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;cursor:pointer}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a a{margin:0 5px 0 0}.ppressmd-member-directory-header:not(.ppmd-filters-expand) .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a .ppress-up{display:none}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search.ppressmd-search-invisible,.ppressmd-member-directory-header.ppmd-filters-expand .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a .ppress-down{display:none}.ppressmd-new-dropdown{font-size:16px;margin:0;position:absolute;height:auto;background:#fff;z-index:10;display:none;border:1px solid #ddd;box-shadow:0 7px 14px 0 rgba(50,50,93,.1),0 3px 6px 0 rgba(0,0,0,.07);-webkit-box-shadow:0 7px 14px 0 rgba(50,50,93,.1),0 3px 6px 0 rgba(0,0,0,.07);box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;-webkit-border-radius:5px 5px 5px 5px}.ppressmd-new-dropdown ul li{list-style-type:none;padding:0;margin:0}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-sorting .ppressmd-member-directory-sorting-a .ppressmd-new-dropdown{top:24px;width:200px;left:-12px}.ppressmd-new-dropdown ul li a{display:block;padding:8px 12px;line-height:1}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row.ppressmd-member-directory-filters-bar{padding:0 0 10px}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row.ppressmd-header-row-invisible{margin:0}.ppressmd-member-directory-header.ppmd-filters-expand .ppressmd-member-directory-header-row .ppressmd-search.ppressmd-search-invisible{display:grid}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search{margin:0;width:100%;display:grid;grid-template-rows:auto 1fr;grid-template-columns:repeat(3,1fr);grid-gap:10px;grid-auto-rows:minmax(max-content,auto);-ms-grid-template-rows:auto 1fr;-ms-grid-template-columns:repeat(3,1fr);-ms-grid-gap:10px;-ms-grid-auto-rows:minmax(max-content,auto);align-items:center}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;width:100%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter.ppressmd-text-filter-type input{width:100%;padding:10px 30px}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label .ppressmd-search-line,.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter.ppressmd-text-filter-type input:not(.select2-search__field),.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection{background-color:transparent;border:1px solid #ddd!important}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppress-material-icons,.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label .ppressmd-search-line,.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter.ppressmd-text-filter-type input,.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection__rendered{color:#666;background-color:transparent}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row input[type=search]:focus{border:1px solid #bbb!important}.pp-member-directory .ppressmd-member-directory-header .ppressmd-button{border:0!important;display:block;width:100%;line-height:1em!important;padding:16px 20px!important;text-decoration:none!important;text-align:center;text-transform:none!important;font-weight:400!important;overflow:hidden;position:relative;transition:.25s;box-sizing:border-box;-moz-border-radius:4px!important;-webkit-border-radius:4px!important;border-radius:4px!important;box-shadow:none;vertical-align:middle!important;height:auto!important;cursor:pointer!important;text-shadow:none;font-family:inherit;outline:0!important;margin:0;-webkit-appearance:none}.pp-member-directory .ppressmd-members-total-wrap{text-align:center;margin:0 0 10px}.pp-member-directory .ppressmd-members-total{font-size:20px;font-weight:300}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container{width:100%!important}.pp-member-directory .ppressmd-member-directory-header .select2-search.select2-search--inline .select2-search__field{width:auto!important}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection{display:block!important;height:40px;padding:0 0 0 12px!important;overflow:hidden!important;position:relative!important;white-space:nowrap!important;line-height:35px!important;font-size:15px!important;text-align:left!important;text-decoration:none!important;-moz-border-radius:2px!important;-webkit-border-radius:2px!important;border-radius:2px!important;background-clip:padding-box!important;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:0 0!important}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection .select2-selection__arrow{display:inline-block!important;width:34px!important;height:100%!important;position:absolute!important;right:0!important;top:0!important;-moz-border-radius:0 2px 2px 0!important;-webkit-border-radius:0 2px 2px 0!important;border-radius:0 2px 2px 0!important;background-clip:padding-box!important;text-align:center!important;background:0 0!important;border-left:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container.select2-container--open .select2-dropdown{border:1px solid #ddd;border-top:0;border-radius:0}.pp-member-directory .ppressmd-member-directory-header .select2-container.select2-container--open .select2-dropdown .select2-results li{list-style:none;display:list-item;background-image:none;font-size:15px;margin:5px!important;color:#666!important;padding:3px 7px 4px!important;cursor:pointer;min-height:1em!important}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection.select2-selection--multiple{height:auto!important;line-height:.8!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:0!important;line-height:37px}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__rendered{line-height:37px;box-sizing:border-box;list-style:none;margin:0;padding-left:0!important;padding-right:30px;width:100%;font-size:13px}.pp-member-directory .ppressmd-member-directory-header .select2-results li.select2-results__option.select2-results__option--highlighted{background:0 0!important;background:#f4f4f4!important;color:#666!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__clear{right:10px;margin:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__clear{right:10px;font-size:30px;margin:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__clear,.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__arrow b,.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__clear{color:#888!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__clear{position:absolute}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__choice{padding:3px 3px 3px 5px}.pp-member-directory .ppressmd-member-directory-header .select2-container .select2-search.select2-search--inline>input{border:0!important;padding:0!important;border-radius:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__rendered li{overflow-x:hidden;text-overflow:ellipsis;max-width:100%;box-sizing:border-box}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__clear{font-size:20px!important}.pp-member-directory .ppmd-pagination-wrap{font-size:16px;width:100%;margin:0 auto 10px;padding:0;text-align:center}.pp-member-directory .ppmd-pagination-wrap .page-numbers{display:inline-block;width:auto;height:34px;line-height:34px;transition:all .2s linear;padding:0 14px;color:#666;font-weight:400}.pp-member-directory .ppmd-pagination-wrap .page-numbers.current{background:#007bff;color:#fff}.pp-member-directory .ppmd-pagination-wrap .page-numbers .ppress-material-icons{vertical-align:middle}
1
+ @keyframes ppress-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}.ppress-hint-wrap[class*=hint--]{position:relative;display:inline-block}.ppress-hint-wrap[class*=hint--]:after,.ppress-hint-wrap[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}.ppress-hint-wrap[class*=hint--]:before{content:"";background:0 0;border:6px solid transparent;z-index:1000001}.ppress-hint-wrap[class*=hint--]:hover:after,.ppress-hint-wrap[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}.ppress-hint-wrap[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0-1px 0#000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}.ppress-hint-wrap[class*=hint--][aria-label]:after{content:attr(aria-label)}.ppress-hint-wrap[class*=hint--][data-hint]:after{content:attr(data-hint)}.ppress-hint-wrap[aria-label=""]:after,.ppress-hint-wrap[aria-label=""]:before,[data-hint=""]:after,[data-hint=""]:before{display:none!important}.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--top:before{border-top-color:#383838}.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#383838}.ppress-hint-wrap.hint--top:after,.ppress-hint-wrap.hint--top:before{bottom:100%;left:50%}.ppress-hint-wrap.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.ppress-hint-wrap.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.ppress-hint-wrap.hint--bottom:after,.ppress-hint-wrap.hint--bottom:before{top:100%;left:50%}.ppress-hint-wrap.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.ppress-hint-wrap.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.ppress-hint-wrap.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.ppress-hint-wrap.hint--right:after{margin-bottom:-14px;left:100%;bottom:50%}.ppress-hint-wrap.hint--right:before{left:100%;bottom:50%}.ppress-hint-wrap.hint--right:hover:after,.ppress-hint-wrap.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.ppress-hint-wrap.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.ppress-hint-wrap.hint--left:after{margin-bottom:-14px;right:100%;bottom:50%}.ppress-hint-wrap.hint--left:before{right:100%;bottom:50%}.ppress-hint-wrap.hint--left:hover:after,.ppress-hint-wrap.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.ppress-hint-wrap.hint--top-left:after,.ppress-hint-wrap.hint--top-left:before{bottom:100%;left:50%}.ppress-hint-wrap.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.ppress-hint-wrap.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.ppress-hint-wrap.hint--top-right:after,.ppress-hint-wrap.hint--top-right:before{bottom:100%;left:50%}.ppress-hint-wrap.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.ppress-hint-wrap.hint--top-right:hover:after,.ppress-hint-wrap.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--bottom-left:after,.ppress-hint-wrap.hint--bottom-left:before{top:100%;left:50%}.ppress-hint-wrap.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.ppress-hint-wrap.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.ppress-hint-wrap.hint--bottom-right:after,.ppress-hint-wrap.hint--bottom-right:before{top:100%;left:50%}.ppress-hint-wrap.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.ppress-hint-wrap.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.ppress-hint-wrap.hint--bottom-right:hover:after,.ppress-hint-wrap.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--large:after,.ppress-hint-wrap.hint--medium:after,.ppress-hint-wrap.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.ppress-hint-wrap.hint--small:after{width:80px}.ppress-hint-wrap.hint--medium:after{width:150px}.ppress-hint-wrap.hint--large:after{width:300px}.ppress-hint-wrap.hint--error:after{background-color:#b34e4d;text-shadow:0-1px 0#592726}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--top:before{border-top-color:#b34e4d}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#b34e4d}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--left:before{border-left-color:#b34e4d}.ppress-hint-wrap.hint--error.ppress-hint-wrap.hint--right:before{border-right-color:#b34e4d}.ppress-hint-wrap.hint--warning:after{background-color:#c09854;text-shadow:0-1px 0#6c5328}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--top:before{border-top-color:#c09854}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#c09854}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--left:before{border-left-color:#c09854}.ppress-hint-wrap.hint--warning.ppress-hint-wrap.hint--right:before{border-right-color:#c09854}.ppress-hint-wrap.hint--info:after{background-color:#3986ac;text-shadow:0-1px 0#1a3c4d}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--top:before{border-top-color:#3986ac}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#3986ac}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--left:before{border-left-color:#3986ac}.ppress-hint-wrap.hint--info.ppress-hint-wrap.hint--right:before{border-right-color:#3986ac}.ppress-hint-wrap.hint--success:after{background-color:#458746;text-shadow:0-1px 0#1a321a}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--top-left:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--top-right:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--top:before{border-top-color:#458746}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--bottom-left:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--bottom-right:before,.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--bottom:before{border-bottom-color:#458746}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--left:before{border-left-color:#458746}.ppress-hint-wrap.hint--success.ppress-hint-wrap.hint--right:before{border-right-color:#458746}.ppress-hint-wrap.hint--always:after,.ppress-hint-wrap.hint--always:before{opacity:1;visibility:visible}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-right:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-right:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--left:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--right:after,.ppress-hint-wrap.hint--always.ppress-hint-wrap.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.ppress-hint-wrap.hint--rounded:after{border-radius:4px}.ppress-hint-wrap.hint--no-animate:after,.ppress-hint-wrap.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.ppress-hint-wrap.hint--bounce:after,.ppress-hint-wrap.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}.ppress-hint-wrap.hint--no-shadow:after,.ppress-hint-wrap.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}.ppress-checkout__form *{--ppress-heading-fs:22px;--ppress-body-fs:16px;--ppress-btn-color:#2563eb;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:var(--ppress-body-fs)}.ppress-checkout__form{margin:1px auto 10px;max-width:100%;width:100%;line-height:20px;position:relative}.ppress-checkout__form p{margin:0 0 5px}.ppress-checkout__form,.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap{display:flex;flex-wrap:wrap}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap{margin:5px 0 10px}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap .ppress-main-checkout-form__block__item{border-radius:6px;background-color:#eff6ff;padding:14px 16px}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap .ppress-main-checkout-form__block__item a,.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__logged_in_text_wrap .ppress-main-checkout-form__block__item p{font-size:14px;margin:0;line-height:20px}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item{margin-bottom:5px}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item:last-of-type{margin-bottom:15px}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item.ppress-login-submit-btn p{padding:0;margin:10px 0}.ppress-checkout__form .ppress-checkout-section.ppress-checkout_side_section{width:35%;order:2}.ppress-checkout__form .ppress-checkout-section.ppress-checkout_main{width:65%;order:1;padding:0 30px 0 0}.ppress-checkout__form .ppress-checkout_order_summary{border:1px solid #e5e7eb;border-radius:5px}.ppress-checkout__form .ppress-checkout_order_summary__plan_name{padding:10px 20px;font-size:var(--ppress-body-fs);font-weight:700;border-bottom:1px solid #e4e4e4}.ppress-checkout__form .ppress-checkout_order_summary__plan_price{font-weight:500;font-size:14px}.ppress-checkout__form .ppress-checkout_order_summary__bottom_details *{font-size:var(--ppress-body-fs)}.ppress-checkout__form .ppress-checkout_order_summary__bottom_details .checkout_order_summary__fee_structure__item dd a{font-size:14px;display:block;text-decoration:none;margin:0;padding:0}.ppress-checkout__form .checkout_order_summary__fee_structure__item dt .checkout_order_summary__fee_structure__item__trial_term{display:block;background:unset;margin-left:0;font-weight:600;padding-left:0}.ppress-checkout__form .ppress-checkout_order_summary__bottom_details{padding:10px 20px}.ppress-checkout__form .ppress-checkout_order_summary__plan_description{padding:20px;border-bottom:1px solid #e5e7eb;line-height:1.7;font-size:var(--ppress-body-fs)}.ppress-checkout__form .checkout_order_summary__fee_structure__item{display:flex;flex-wrap:nowrap;padding:5px 0;font-size:16px}.ppress-checkout__form .checkout_order_summary__fee_structure__item dt{width:60%;text-align:left}.ppress-checkout__form .checkout_order_summary__fee_structure__item dd{width:40%;text-align:right}.ppress-checkout__form .checkout_order_summary__fee_structure__item dt span{color:#4b5563;background-color:#e5e7eb;margin-left:5px;border-radius:9999px;letter-spacing:.35px;padding:2px 6px;font-size:12px}.ppress-checkout__form .ppress-main-checkout-form__block fieldset{margin:0;padding:0;border:0}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__block__fieldset{border:0;margin:10px 0 0;padding:20px 0 0}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__block__fieldset:first-of-type{border:0;margin-top:10px;padding-top:0}.ppress-checkout__form .ppress-main-checkout-form__block legend{border:0;color:#000;font-size:var(--ppress-heading-fs);font-weight:700;line-height:1.7;margin:0 0 15px;padding:0 5px;width:100%}.ppress-checkout__form .ppress-main-checkout-form__block a.ppress-checkout-show-login-form,.ppress-checkout__form a.ppress-checkout-show-login-form{cursor:pointer;float:right;font-size:14px;font-weight:400;line-height:35px;margin:0;padding:0;text-decoration:none;vertical-align:baseline}.ppress-checkout__form .ppress-checkout_order_summary__discount{margin:0 0 5px}.ppress-checkout__form .ppress-checkout_order_summary__discount p{font-size:14px}.ppress-checkout__form .ppress-checkout__link{cursor:pointer;font-size:14px;font-weight:400;line-height:35px;margin:10px 0;padding:0;text-decoration:none}.ppress-checkout__form .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item{width:calc(100% - 5px);display:inline-block;padding:5px;margin-bottom:15px}.ppress-checkout__form .ppress-main-checkout-form__block__fieldset .ppress-main-checkout-form__login_form_wrap .ppress-main-checkout-form__block__item{margin-bottom:10px}.ppress-checkout-form__payment_method__content_wrap .ppress-main-checkout-form__block__item:first-of-type{margin-top:15px}.ppress-checkout__form .ppress-main-checkout-form__block__fieldset .ppress-main-checkout-form__block__item:last-of-type{margin-bottom:0}.ppress-checkout__form .ppress-required{color:rgb(239 68 68)}.ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-co-half{width:calc(50% - 5px)}.ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-two-third{width:calc(66.6666666667% - 5px)}.ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-one-third{width:calc(33.3333333333% - 5px)}.ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-expiry-date{width:calc(40% - 5px)}.ppress-checkout__form .ppress-main-checkout-form__block__item.ppress-cc-cvc{width:calc(60% - 5px)}.ppress-checkout__form .press-main-checkout-form__block__item__cc_expiry_date{display:flex;flex-wrap:wrap;width:100%}.ppress-checkout__form .press-main-checkout-form__block__item__cc_expiry_date select{width:calc(50% - 5px)!important;margin:0 5px 0 0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4MjgzNGQzMC03MmY4LTRkM2MtYTU4NC1lNzMzZDE1YjU2NzYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzJGMzNGODgwRkI5MTFFN0E3NzQ5QUE3QTdEMENEQjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzJGMzNGODcwRkI5MTFFN0E3NzQ5QUE3QTdEMENEQjEiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMzAzN2MxMy01N2VhLTRiN2UtYjg3Yi04OGZhODk2NDYzZTgiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplMTI0MmMzNy1mZTljLTExNzktYWE3NC1kYzYxZWJhMDdhNDAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7ItaH1AAABFklEQVR42uzZuw3CMBAG4NhiAFiDAsahp0sqJOaghQ5mIkgwBmwQzlJAoLz8OCe29Z90urMb65MfjUVVVVkKIbNEAhBAAAEEEEAAoZjdyseG6olyEanhSZmL8npXzTzyDXnJRI6XVIhdApCdXK2XF2qKiBGFMojPiO5KTuUYIUI9VJn4nY0M80U0IBFh/hCtkAgwDUQnJGBMK6IXEiCmEzEICQjTi9CCBIAZRGhDJsRoIYwgE2C0EcaQETFGCCvICBhjhDXEI8YK4QTxgLFGOEMYMU4IFggDxhnBBnHAsCBYIRYYNgQ7xADDivAC0cCwI7xBejBeEF4hNWZL5VAP94Q4+1pL4FcXEEAAAQQQQAABxFu8BRgA2gaBhwO0rwAAAAAASUVORK5CYII=);background-position:right 20px center;background-repeat:no-repeat;background-size:10px auto}.ppress-checkout__form .press-main-checkout-form__block__item__cc_expiry_date select:last-of-type{margin-right:0}.ppress-checkout__form label.checkout_order_summary__discount__label{width:100%;line-height:20px}.ppress-checkout__form .checkout_order_summary__discount__field_wrap{margin-bottom:20px}.ppress-checkout__form .ppress-checkout-section .ppress-checkout-form__place_order_wrap{margin:20px 0 10px}.ppress-checkout__form .ppress-checkout-section #ppress-stripe-card-element,.ppress-checkout__form .ppress-checkout-section input:not([type=checkbox]):not([type=radio]),.ppress-checkout__form .ppress-checkout-section select,.ppress-checkout__form .ppress-checkout-section textarea{width:100%;background-color:#fff;border:1px solid #d1d5db;padding:8px 12px;line-height:20px;border-radius:6px;box-shadow:0 0#0000,0 0#0000,0 1px 2px 0 rgba(0,0,0,.05)}.ppress-checkout__form .ppress-checkout-section #ppress-stripe-card-element{padding-top:10px;padding-bottom:10px}.ppress-checkout__form .ppress-checkout-section textarea{min-height:100px}.ppress-checkout__form .ppress-checkout-section.ppress-checkout_main input[type=submit]{padding:12px 16px;border-color:transparent;background:var(--ppress-btn-color);background-color:var(--ppress-btn-color);color:#fff;box-shadow:none;font-weight:500;text-align:center;-webkit-appearance:none;width:100%}.ppress-checkout__form .ppress-checkout-section.ppress-checkout_main input[type=submit]:disabled{opacity:.65}.ppress-checkout__form .ppress-checkout-section input[type=checkbox],.ppress-checkout__form .ppress-checkout-section input[type=radio]{display:inline-block;vertical-align:middle;border:1px solid #d1d5db;height:16px;width:16px;color:#4f46e5;padding:0 5px}.ppress-checkout__form .ppress-checkout-section input[type=radio]{border-radius:100%}.ppress-checkout__form .ppress-checkout-section input[type=checkbox]{border-radius:0;cursor:pointer}.ppress-checkout__form .ppress-checkout-section #ppress-stripe-card-element:focus,.ppress-checkout__form .ppress-checkout-section input:not([type=checkbox]):not([type=radio]):focus,.ppress-checkout__form .ppress-checkout-section textarea:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:0 0 0 0#fff,0 0 0 calc(1px + 0px) var(--ppress-btn-color),0 0#0000;border-color:#2563eb}.ppress-checkout__form .ppress-checkout-section input[type=submit]:hover{filter:brightness(85%)}.ppress-checkout__form .ppress-checkout-section label{font-weight:500;display:block;line-height:25px;vertical-align:baseline}.ppress-checkout__form .ppress-checkout-section .pp-checkbox-wrap label,.ppress-checkout__form .ppress-checkout-section .pp-radio-wrap label{display:inline-block}.ppress-checkout__form .ppress-checkout-section .pp-checkbox-wrap .ppress-checkout-field__input,.ppress-checkout__form .ppress-checkout-section .pp-radio-wrap .ppress-checkout-field__input{margin-right:5px}.ppress-checkout__form .checkout_order_summary__discount__field_wrap input[type=text].checkout_order_summary__discount__input{width:68%}.ppress-checkout__form .ppress-checkout-section input[type=submit].ppress-apply-discount-btn{width:25%;margin-left:10px;border:0;border-radius:6px;padding:8px 15px;font-size:14px;line-height:20px;font-weight:500;color:#4b5563;background-color:#d1d5db}.ppress-checkout__form .ppress-checkout_charge_details{padding:10px 20px}.ppress-checkout__form .ppress-checkout_charge_details span{font-weight:700}.ppress-checkout__form .ppress-checkout-form__payment_methods_wrap{border:1px solid #ddd;border-radius:5px;line-height:1;list-style:none;overflow:visible;padding:0;margin:5px 0 0}.ppress-checkout__form .ppress-checkout-form__payment_method{border-top:1px solid #ddd;padding:0}.ppress-checkout__form .ppress-checkout-form__payment_method:first-of-type{border-top:none;border-bottom:none}.ppress-checkout__form .ppress-checkout-form__payment_method__title_wrap{background:#fff;margin:0;padding:16px 8px}.ppress-checkout__form .ppress-checkout-form__payment_method__title_wrap:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}.ppress-checkout__form .ppress-checkout-form__payment_method:last-of-type .ppress-checkout-form__payment_method__content_wrap,.ppress-checkout__form .ppress-checkout-form__payment_method:last-of-type .ppress-checkout-form__payment_method__title_wrap{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.ppress-checkout__form .ppress-checkout-section .ppress-checkout-form__payment_method__title_wrap label{display:inline-block;padding-left:5px;padding-top:2px;position:relative;cursor:pointer;width:calc(100% - 30px);line-height:1}.ppress-checkout__form .ppress-checkout-form__payment_method__icons{position:absolute;right:20px;top:-5px}.ppress-checkout__form .ppress-checkout-form__payment_method__icons img,.ppress-checkout__form .ppress-checkout-form__payment_method__icons svg{max-height:22px}.ppress-checkout__form .ppress-checkout-form__payment_method .ppress-checkout-form__payment_method__content_wrap p{padding:0 5px;font-size:14px;line-height:1.25;margin:0!important}.ppress-checkout__form .ppress-checkout-form__payment_method .ppress-checkout-form__payment_method__content_wrap{background:#f4f4f4;border-top:1px solid #ddd;margin:0!important;padding:20px 10px;display:none}.ppress-checkout__form .ppress-checkout-form__payment_method .ppress-checkout-form__payment_method__title_wrap input[type=radio]{vertical-align:bottom}.ppress-checkout__form .ppress-checkout-form__payment_method.ppress-active .ppress-checkout-form__payment_method__content_wrap{display:block}.pp-form-wrapper.ppress-default-profile .pp-user-post-item h3.pp-post-item-head,.ppress-checkout__form .ppress-checkout-form__payment_method__content_wrap label{line-height:20px}.ppress-checkout__form .ppress-checkout-form__payment_method__content_wrap .ppress-checkout-form__payment_method__heading{padding:10px 5px;margin:0 0 15px;font-size:var(--ppress-body-fs);font-weight:700;border-bottom:1px solid #e4e4e4}.ppress-checkout__form .ppress-checkout-form__terms_condition_wrap{margin:0;border:0;padding:40px 0 0}.ppress-checkout__form .ppress-checkout-form__terms_condition_wrap .ppress-checkout-form__terms_condition__checkbox__label span{vertical-align:middle}.ppress-checkout__form .ppress-checkout-form__terms_condition__content{border:1px solid #e5e7eb;padding:20px;max-height:200px;overflow:auto;border-radius:6px;display:none;margin:0 0 20px}.ppress-checkout__form .ppress-checkout-form__terms_condition__checkbox_wrap{margin:0 0 20px}.ppress-checkout__form .ppress-checkout__form__preloader{position:absolute;top:0;width:100%;height:100%;background:rgba(250,250,250,.9);z-index:99995}.ppress-checkout__form .ppress-checkout__form__spinner{display:block;width:85px;height:85px;top:40%;right:50%;text-align:center;margin:auto;position:fixed}.ppress-checkout__form .ppress-checkout__form__spinner:after{content:" ";display:block;width:70px;height:70px;margin:8px;border-radius:50%;border:6px solid #212529;border-color:#212529 transparent;animation:ppress-dual-ring 1.2s linear infinite}.ppress-checkout__form .ppress-checkout-alert{width:100%;padding:12px 16px;border-radius:6px;margin:10px 0}.ppress-checkout__form .ppress-checkout-alert ul{margin:0 0 0 16px;padding:0;list-style-type:disc}.ppress-checkout__form .ppress-checkout-alert li{font-weight:400}.ppress-checkout__form .ppress-checkout-alert li,.ppress-checkout__form .ppress-checkout-alert li strong,.ppress-checkout__form .ppress-checkout-alert p{font-size:var(--ppress-body-fs);margin:0!important;padding:0!important;line-height:22px}.ppress-checkout__form .ppress-checkout-alert li strong{font-weight:700}.ppress-checkout__form .ppress-checkout-alert.ppress-error{background-color:#fef2f2;color:#b91c1c}.ppress-checkout__form .ppress-checkout-alert.ppress-success{background-color:#ecfdf5;color:#065f46}.ppress-checkout-alert.ppress-warning{border-left:4px solid rgb(250 204 21);border-radius:0;background-color:rgb(254 252 232);color:rgb(161 98 7)}.ppress-checkout__form .ppress-checkout-alert p{font-weight:500}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-reveal .pp-form-field-description,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-reveal .ppress-hint-tooltip,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-standard .ppress-hint-tooltip,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-tooltip .pp-form-field-description,.ppress-checkout__form .ppress-checkout_order_summary #ppress-checkout-coupon-code-wrap{display:none}.ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_side_section{width:100%}.ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_side_section,.ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_side_section{order:1;margin-bottom:15px}.ppress-checkout__form.ppressui340 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui500 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui768 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui800 .ppress-checkout-section.ppress-checkout_main,.ppress-checkout__form.ppressui960 .ppress-checkout-section.ppress-checkout_main{order:2;padding-right:0}.ppress-checkout__form.ppressui340 .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item,.ppress-checkout__form.ppressui500 .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item,.ppress-checkout__form.ppressui768 .ppress-main-checkout-form__block .ppress-main-checkout-form__block__item{width:100%}.profilepress-myaccount-orders-subs,.profilepress-myaccount-orders-subs *{font-family:Inter var,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.profilepress-myaccount-orders-subs .ppress-my-account-order-sub-wrap{box-shadow:transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.05)0 1px 2px 0;border-radius:8px;border:1px solid rgb(229 231 235);margin-top:16px}.ppress-details-table p:first-child,.profilepress-myaccount-orders-subs .ppress-my-account-order-sub-wrap:first-child{margin-top:0}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content-header p{margin-bottom:8px}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header-wrap{padding:16px;border-color:rgb(229 231 235);display:grid;column-gap:8px;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid rgb(229 231 235)}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details{display:grid;column-gap:16px;margin:0;font-size:14px;line-height:20px;grid-template-columns:auto auto auto;grid-column:span 2/span 2}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details dt{margin:0;font-weight:500;font-size:14px}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details dd{margin:4px 0 0}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--actions{justify-content:flex-end;display:flex;grid-column:span 2/span 2;align-items:center}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--actions a,.profilepress-myaccount-orders-subs a.ppress-myac-action{box-shadow:transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.05)0 1px 2px 0;font-weight:500;font-size:14px;padding:6px 8px;border:1px solid rgb(209 213 219);border-radius:6px;justify-content:center;display:flex;align-items:center;text-decoration:inherit}.profilepress-myaccount-orders-subs a.ppress-myac-action{display:inline-block;margin-right:5px}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content{padding:16px;align-items:flex-start;flex:1 1 0%;font-size:14px;line-height:20px}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content-header{font-weight:500;display:flex;justify-content:space-between}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-product-name{font-weight:500;font-size:14px}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap p.ppress-my-account-order-sub-product-price{margin-top:0!important}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content p{margin:8px 0 0;display:block}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-wrap{display:flex;align-items:flex-start}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details dd span{border-radius:6px;color:rgb(31 41 55);background-color:rgb(243 244 246);padding:4px 8px;margin:0;font-weight:500;font-size:12px}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .active span,.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .completed span,.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .trialling span{background-color:rgb(220 252 231);color:rgb(22 101 52)}.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .cancelled span,.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .expired span,.profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .refunded span{background-color:rgb(254 226 226);color:rgb(153 27 27)}.profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap{padding:10px 0;text-align:right}.profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap .page-numbers{border:1px solid rgb(209 213 219);padding:8px 16px;font-size:14px;line-height:20px}.profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap .page-numbers.current{background-color:#eeeeec;color:rgb(107 114 128)}.profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap .ppress-material-icons{vertical-align:middle;margin:0}table.ppress-details-table{text-indent:0;border-color:inherit;border-collapse:collapse;border-spacing:0;width:100%;table-layout:fixed;box-shadow:transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.05)0 1px 2px 0}.ppress-details-table thead{background-color:rgb(249 250 251)}.ppress-details-table thead tr th{padding:14px 12px;text-align:left;font-size:16px;line-height:20px;font-weight:600;background-color:rgb(249 250 251)}.ppress-details-table thead th,.ppress-details-table tr td{padding:16px;border:1px solid rgb(229 231 235)}.ppress-details-table thead th{text-align:left;background:rgb(229 231 235);vertical-align:bottom}.ppress-details-table-wrap .ppress-details-table tr:nth-of-type(odd){background-color:rgb(249 250 251)}.ppress-details-table tr td:first-child{font-weight:700}.ppress-details-table td:last-child{width:70%}.ppress-details-table p{margin:5px 0 0}.ppress-details-table .ppress-billing-title{font-weight:500}.ppress-details-table .ppress-sub-info{color:#4b5563;background-color:#e5e7eb;margin-left:5px;border-radius:9999px;padding:4px 8px;font-size:14px}@font-face{font-family:"Material Icons";font-style:normal;font-weight:400;src:url(./material-icons/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(./material-icons/MaterialIcons-Regular.woff2)format("woff2"),url(./material-icons/MaterialIcons-Regular.woff)format("woff"),url(./material-icons/MaterialIcons-Regular.ttf)format("truetype")}#profilepress-myaccount-wrapper .ppmyac-icons,.pp-form-field-wrap .pp-form-material-icons,.ppress-material-icons{font-family:"Material Icons"!important;font-weight:400;font-style:normal;font-size:20px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.flatpickr-current-month .flatpickr-monthDropdown-months{display:inline-block!important}.pp-tab-widget-avatar img{display:block;border-radius:50%;height:190px;margin:0 auto 10px!important;padding:2px;text-align:center;width:190px;float:none!important}.pp-user-panel{border-radius:6px;text-align:center}.pp-user-panel-title{font-size:20px;margin:0}.pp-user-panel p{font-size:15px;margin-bottom:23px}.pp-tabbed-btn{border:0;font-size:15px;font-weight:400;line-height:1.4;border-radius:4px;padding:10px 15px;-webkit-font-smoothing:subpixel-antialiased;-webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;transition:border .25s linear,color .25s linear,background-color .25s linear}.pp-tabbed-btn-inverse{color:#fff!important;background-color:#34495e}.pp-password-reset-handler-wrap .pp-reset-password-form{padding:40px;max-width:500px;margin-top:5px;margin-bottom:5px}.pp-password-reset-handler-wrap .pp-reset-password-form h3{color:#444;font-weight:300;margin:0 auto 40px}.pp-password-reset-handler-wrap .pp-reset-password-form label{color:#444;font-size:15px}.pp-password-reset-handler-wrap .pp-reset-password-form label .req{margin:2px;color:red}.pp-password-reset-handler-wrap .pp-reset-password-form label.active .req{opacity:0}.pp-password-reset-handler-wrap .pp-reset-password-form input{font-size:22px;display:block;width:100%;box-sizing:border-box;height:auto;padding:5px 10px;background:0 0;margin-bottom:40px;border:1px solid #a0b3b0;border-radius:0;-webkit-transition:border-color .25s ease,box-shadow .25s ease;transition:border-color .25s ease,box-shadow .25s ease}.pp-password-reset-handler-wrap .pp-reset-password-form input:focus{outline:0;border-color:#1ab188}.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button{border:0;outline:0;border-radius:0;padding:15px 0;font-size:20px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;background:#1ab188;color:#fff;-webkit-transition:all .5s ease;transition:all .5s ease;-webkit-appearance:none;text-shadow:none;box-shadow:none}.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button:focus,.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button:hover{background:#179b77}.pp-password-reset-handler-wrap .pp-reset-password-form .pp-reset-button-block{display:block;width:100%}.pp-password-reset-handler-wrap .profilepress-reset-status{margin-left:40px;max-width:420px}#pp-pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;padding:3px 5px;text-align:center;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#pp-pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pp-pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pp-pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pp-pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}.pp-form-wrapper .pp-form-label-wrap .pp-form-required-label{color:red;font-weight:400}.pp-form-wrapper input[type=checkbox],.pp-form-wrapper input[type=radio]{cursor:pointer}.pp-form-wrapper p{margin:0 0 5px!important;padding:0!important}.pp-form-wrapper input[type=datetime],.pp-form-wrapper input[type=email],.pp-form-wrapper input[type=number],.pp-form-wrapper input[type=password],.pp-form-wrapper input[type=search],.pp-form-wrapper input[type=tel],.pp-form-wrapper input[type=text],.pp-form-wrapper input[type=url],.pp-form-wrapper select,.pp-form-wrapper textarea{-webkit-appearance:none;width:100%;background:#fff;border:1px solid #dedee5;padding:13px 15px;outline:0;line-height:1}.pp-form-wrapper select{background-image:url(../images/frontend/arrow-down.png)!important;background-position:right 20px center!important;background-repeat:no-repeat!important;background-size:10px auto!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.pp-form-wrapper .pp-form-label-wrap{margin:0 0 4px;padding:0}.pp-form-wrapper .pp-form-label{font-size:14px;text-transform:none;text-align:left;font-weight:400;font-style:normal;float:none;line-height:1.3;margin:0;padding:0;width:auto;display:inline;cursor:pointer}.pp-form-wrapper .pp-checkbox-wrap,.pp-form-wrapper .pp-radio-wrap{display:block;text-align:left;line-height:normal;margin:5px 0;padding:0}.pp-form-wrapper .pp-checkbox-wrap label,.pp-form-wrapper .pp-radio-wrap label{margin-left:5px}.pp-form-wrapper input[type=checkbox],.pp-form-wrapper input[type=radio]{border:1px solid #ccc;background-color:#fff;width:14px!important;height:14px!important;display:inline-block;vertical-align:baseline}.pp-form-wrapper .ppress-pf-profile-connect{padding:5px 0 10px}.pp-form-wrapper a.ppress-pf-social-icon{width:100%;height:100%;display:inline}.pp-form-wrapper .ppress-pf-social-icon svg{vertical-align:middle;width:40px;height:40px}.pp-form-wrapper .ppress-pf-social-icon.dpf-github svg,.pp-form-wrapper .ppress-pf-social-icon.dpf-instagram svg,.pp-form-wrapper .ppress-pf-social-icon.dpf-pinterest svg{padding:3px}a.pp-button-social-login:focus{outline-color:transparent}a.pp-button-social-login:focus .ppsc,a.pp-button-social-login:hover .ppsc{background-color:rgba(255,255,255,.75)}a.pp-button-social-login:visited{color:#fff}a.pp-button-social-login,a.pp-button-social-login .ppsc{display:inline-block;font-size:100%;height:2.5em;padding:0}a.pp-button-social-login{position:relative;vertical-align:middle;line-height:2.5em;font-family:inherit;font-weight:700;overflow:hidden;white-space:nowrap;border:1px solid #333;color:#fff!important;background:#333;margin:6px 0;border-radius:2px;box-sizing:content-box;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.1);text-decoration:none!important;min-width:220px}a.pp-button-social-login .ppsc{font-style:normal;font-weight:400;text-decoration:none;text-transform:none;vertical-align:top;text-align:center;width:2.5em;background-color:#fff;background-repeat:no-repeat;background-position:50%;background-size:1.8em 1.8em;border-top-left-radius:1px;border-bottom-left-radius:1px;-moz-font-smoothing:antialiased;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;position:absolute;left:0;margin:0}a.pp-button-social-login span.ppsc-text{margin-left:40px;padding:.5em;color:#fff!important}a.pp-button-social-login .ppsc-google{background-image:url(../images/social-login/google.svg)}a.pp-button-social-login.pp-button-social-login-google{background:#4285f4;border-color:#4285f4}a.pp-button-social-login.pp-button-social-login-facebook{background:#3b5998;border-color:#3b5998}a.pp-button-social-login.pp-button-social-login-twitter{background:#55acee;border-color:#55acee}a.pp-button-social-login.pp-button-social-login-linkedin{background:#0077b5;border-color:#0077b5}a.pp-button-social-login.pp-button-social-login-vk{background:#4a76a8;border-color:#4a76a8}a.pp-button-social-login.pp-button-social-login-github{background:#24292e;border-color:#24292e}a.pp-button-social-login .ppsc-vk{background-image:url(../images/social-login/vk-fa.svg)}a.pp-button-social-login .ppsc-facebook{background-image:url(../images/social-login/facebook.svg)}a.pp-button-social-login .ppsc-twitter{background-image:url(../images/social-login/twitter.svg)}a.pp-button-social-login .ppsc-linkedin{background-image:url(../images/social-login/linkedin.svg)}a.pp-button-social-login .ppsc-github{background-image:url(../images/social-login/github-fa.svg)}#profilepress-myaccount-wrapper,#profilepress-myaccount-wrapper *,#profilepress-myaccount-wrapper ::after,#profilepress-myaccount-wrapper ::before,.pp-form-container *,.pp-form-container .pp-form-wrapper,.pp-form-container .pp-form-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap span.select2-selection.select2-selection--multiple,html .pp-form-container .select2 input.select2-search__field{border:0!important}.pp-form-container form input[type=submit]{-webkit-appearance:none!important;cursor:pointer;text-shadow:none}.pp-form-container form{margin:0;padding:0;background-color:transparent}.woocommerce .woocommerce-MyAccount-content .pp-form-container{margin-right:0!important;margin-left:0!important}.pp-form-container form input,.pp-form-container form select,.pp-form-container form textarea{outline:0;background-image:none;height:auto;float:none;position:static;box-shadow:none;text-shadow:none;text-transform:none;text-decoration:none;resize:vertical}.pp-form-container form p{margin:0 0 .5em}.pp-form-container form input[type=submit]:focus{outline:0}.pp-form-container .pp-user-avatar{border-radius:50%!important;display:block!important;margin:0 auto 10px!important;text-align:center!important}.pp-form-container img.pp-user-cover-image{width:100%!important;height:auto!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=checkbox],#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border:1px solid #7e8993!important;border-radius:4px!important;background:#fff!important;color:#555!important;clear:none!important;cursor:pointer!important;display:inline-block!important;line-height:0!important;margin:0!important;outline:0!important;padding:0!important;text-align:center!important;vertical-align:middle!important;-webkit-appearance:none!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)!important;transition:.05s border-color ease-in-out!important;width:16px!important;height:16px!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border-radius:50%!important}.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox],.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border-radius:4px!important}.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]{border-radius:50%!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=checkbox]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox]:checked::before{content:url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E)!important;margin:-3px 0 0-4px!important;width:20px!important;height:20px!important;position:static}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]:checked::before{content:"";border-radius:50%!important;margin:3px!important;background-color:#000!important;line-height:1.14285714!important;width:8px!important;height:8px!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=checkbox]:checked::before,#profilepress-myaccount-wrapper .profilepress-myaccount-content input[type=radio]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=checkbox]:checked::before,.pp-form-container .pp-form-wrapper .pp-form-field-wrap input[type=radio]:checked::before{float:left!important;display:inline-block!important;vertical-align:middle!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pp-form-container .pp-form-wrapper.ppBuildScratch,.pp-form-container .pp-form-wrapper.ppBuildScratch *{font-family:"Merriweather",sans-serif}.pp-form-container .pp-form-wrapper.ppBuildScratch .ppbs-headline{font-weight:700;font-size:20px;margin-bottom:1em;margin-top:0;text-align:center;margin-right:6.387%}.pp-form-container .pp-form-wrapper.ppBuildScratch h1,.pp-form-container .pp-form-wrapper.ppBuildScratch h2,.pp-form-container .pp-form-wrapper.ppBuildScratch h3,.pp-form-container .pp-form-wrapper.ppBuildScratch h4{font-weight:700;font-size:20px;margin-bottom:1em;margin-top:1em}.pp-form-container .pp-form-wrapper.ppBuildScratch input:disabled{opacity:.5}.pp-form-container .pp-form-wrapper.ppBuildScratch{max-width:100%;width:100%;padding:6%0 6% 6%;background:#fff;color:#222;font-size:14px;position:relative;box-shadow:0 0 0 .5px rgba(0,20,40,.1),0 2px 8px 0 rgba(50,55,90,.2);border-radius:3px;margin:0 auto}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppf-remove-frame{box-shadow:none;border-radius:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap{padding:0 6.387% 4%0;display:inline-block;width:100%;vertical-align:top}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap{display:inline-block;width:100%;vertical-align:top;padding:0 6.387%0 0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .pp-form-label-wrap{margin:0 0 5px;padding:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-reveal .pp-form-field-input-textarea-wrap .pp-form-field:focus~.pp-form-field-description{display:block}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-tooltip .ppress-hint-tooltip{display:inline;font-weight:400}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fda-tooltip .ppress-hint-tooltip .pp-form-material-icons{position:relative;margin:0;padding:0;font-size:110%;display:inline;vertical-align:top}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fld-inside{position:relative}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fld-inside .pp-form-label-wrap{position:absolute;top:5px;left:15px;z-index:2}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap.fld-inside .pp-form-label-wrap{left:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fld-inside .pp-form-field-input-textarea-wrap .pp-form-field{padding-top:18px;padding-bottom:2px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap.fld-inside .pp-form-field-input-textarea-wrap .pp-form-field{padding-top:23px;padding-bottom:7px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap.fld-inside .pp-form-field-input-textarea-wrap .pp-form-field{padding-top:30px;padding-bottom:10px}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fw-half{width:50%}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap.fw-third{width:33.3333333333%}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap textarea{border:1px solid #dbdbdb;font-size:14px;padding:10px 15px;-webkit-transition:all .35s;transition:all .35s;background:#fff;color:#69717a;width:100%;border-radius:0;line-height:1.3;min-height:40px;display:inline-block;margin:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap textarea{height:100px;overflow:auto}.pp-form-field-wrap .pp-form-material-icons{width:24px;height:24px;position:absolute;right:0;top:0;cursor:text;margin:8px 12px 0 0}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-right .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-right .pp-form-field-wrap.field-has-icon textarea{padding-right:40px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-left .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-left .pp-form-field-wrap.field-has-icon textarea{padding-left:40px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-left .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-left .pp-form-field-wrap.field-has-icon textarea{padding-left:30px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-right .pp-form-field-wrap.field-has-icon input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-right .pp-form-field-wrap.field-has-icon textarea{padding-right:30px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfia-left .pp-form-field-wrap .pp-form-material-icons{left:0;margin-left:12px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-left .pp-form-field-wrap .pp-form-material-icons{left:0!important;margin-left:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material.ppfia-right .pp-form-field-wrap .pp-form-material-icons{margin-right:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap .pp-form-material-icons{margin-top:10px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap .pp-form-material-icons{margin-top:18px}.pp-form-container .pp-form-wrapper.ppBuildScratch .has-password-visibility-icon .pp-form-material-icons{cursor:pointer}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-pill .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-pill .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-pill .pp-form-field-wrap textarea{border-radius:25px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-round .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-round .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-round .pp-form-field-wrap textarea{border-radius:6px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap .select2.select2-container,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap textarea{border:0!important;border-bottom:1px solid #dbdbdb!important;padding-left:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap input[type=text]:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap select:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-material .pp-form-field-wrap textarea:focus{border-top:0!important;border-right:0!important;border-left:0!important;box-shadow:none!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap .select2-selection,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap input:not([type=radio]):not([type=checkbox]),.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap select,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfl-flat .pp-form-field-wrap textarea{border:0!important;background:#f7f7f7!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap select{padding-top:15px;padding-bottom:15px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-field-wrap textarea{height:150px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap input,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap select{padding-top:20px;padding-bottom:20px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-field-wrap textarea{height:200px}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap input[type=text]:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap select:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap textarea:focus{border:1px solid #999}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .pp-form-label-wrap .pp-form-label,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .ppform-remember-label{font-style:normal;background-color:transparent;display:block;font-weight:700;font-size:14px;float:none;line-height:1.3;margin:0;padding:0;color:#444}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-wrap .ppform-remember-label{display:inline-block}.pp-field-user-avatar-picture-wrap .pp-profile-avatar-overlay ins,.pp-field-user-cover-image-wrap .pp-cover-image-overlay ins,.pp-form-container .pp-form-wrapper.ppBuildScratch.ppf-hide-asterisk .pp-form-required-label{display:none}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap input[type=submit]{background:#000;border:0;color:#fff;font-weight:700;font-size:16px;line-height:1;padding:15px 10px;transition:.15s ease-in-out;width:auto;min-width:110px;text-align:center}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-large .pp-form-submit-button-wrap input[type=submit],.pp-form-container .pp-form-wrapper.ppBuildScratch.ppfs-medium .pp-form-submit-button-wrap input[type=submit]{padding-top:20px;padding-bottom:20px}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbl-pill .pp-form-submit-button-wrap input[type=submit]{border-radius:25px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbl-round .pp-form-submit-button-wrap input[type=submit]{border-radius:6px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap input[type=submit]:focus,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-submit-button-wrap input[type=submit]:hover{background-color:#ededed;color:#000;text-decoration:none}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-checkbox-wrap,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-radio-wrap{margin:0 0 5px}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-checkboxes-container,.ppressmd-new-dropdown ul{margin:0;padding:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-checkbox-wrap:last-of-type,.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-radio-wrap:last-of-type{margin-bottom:0}.pp-form-container .pp-form-wrapper.ppBuildScratch .pp-form-field-description{font-size:12px;font-weight:400;color:#666;line-height:1.3;text-align:left;margin:4px 0 0}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-wide .pp-form-submit-button-wrap input[type=submit]{width:100%}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width .pp-form-submit-button-wrap{margin-top:4%;margin-bottom:4%}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width .pp-form-submit-button-wrap input[type=submit]{width:100%!important;position:absolute!important;bottom:0!important;right:0!important;left:0!important;border-top-right-radius:0!important;border-top-left-radius:0!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width.ppsbl-pill{border-bottom-right-radius:25px!important;border-bottom-left-radius:25px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch.ppsbw-full-width.ppsbl-round{border-bottom-right-radius:6px!important;border-bottom-left-radius:6px!important}.pp-form-container .pp-form-wrapper.ppBuildScratch a.pp-button-social-login:last-of-type{margin-bottom:1.5em!important}#profilepress-myaccount-wrapper{font-size:16px}#profilepress-myaccount-wrapper .profilepress-myaccount-row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}#profilepress-myaccount-wrapper .profilepress-myaccount-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0}#profilepress-myaccount-wrapper .ppmyac-dashboard-item{text-decoration:none!important;position:relative;display:block;padding:.75em 1.25em;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125);width:100%;text-align:inherit;box-shadow:none}#profilepress-myaccount-wrapper .ppmyac-dashboard-item.isactive{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}#profilepress-myaccount-wrapper .ppmyac-dashboard-item:first-child{border-top-left-radius:.25em;border-top-right-radius:.25em}#profilepress-myaccount-wrapper .ppmyac-dashboard-item:last-child{margin-bottom:0;border-bottom-right-radius:.25em;border-bottom-left-radius:.25em}#profilepress-myaccount-wrapper .ppmyac-icons{margin-right:.5em;vertical-align:text-bottom}#profilepress-myaccount-wrapper .profilepress-myaccount-col-sm-3{position:relative;width:100%;padding-right:15px;padding-left:15px}@media (min-width:576px){#profilepress-myaccount-wrapper .profilepress-myaccount-col-sm-3{flex:0 0 25%;max-width:25%}}#profilepress-myaccount-wrapper .profilepress-myaccount-content{position:relative;width:100%;padding-top:30px;padding-right:15px;padding-left:15px}@media (min-width:576px){#profilepress-myaccount-wrapper .profilepress-myaccount-content{flex:0 0 75%;max-width:75%}}#profilepress-myaccount-wrapper .profilepress-myaccount-avatar-wrap{text-align:center;margin-bottom:20px}#profilepress-myaccount-wrapper .profilepress-myaccount-avatar-wrap .profilepress-myaccount-avatar img.pp-user-avatar{margin:0!important;position:static!important;float:none!important;display:inline-block;-moz-border-radius:999px;-webkit-border-radius:999px;border-radius:999px;width:120px;height:120px}#profilepress-myaccount-wrapper .profilepress-myaccount-nav a:focus{outline:0;text-shadow:none;box-shadow:none}#profilepress-myaccount-wrapper .profilepress-myaccount-content h2,#profilepress-myaccount-wrapper .profilepress-myaccount-content h3{margin-top:0!important;margin-bottom:1em!important;font-weight:700!important;line-height:1.2!important;font-size:2em!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content h3{font-weight:500!important;font-size:1.2em!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenus-wrap{margin-bottom:2em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-wrap{display:inline;padding-right:1em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-item{color:inherit;padding:0 0 10px}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-submenu-item.ppsubmenu-active{border-bottom:3px solid #6c757d}.profilepress-myaccount-alert,.profilepress-myaccount-edit-profile .profilepress-edit-profile-status{position:relative;padding:.75em 1.25em;margin-bottom:1em;border:1px solid transparent;border-radius:.25em}.profilepress-myaccount-alert.pp-alert-danger,.profilepress-myaccount-edit-profile .profilepress-edit-profile-status{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.profilepress-myaccount-alert.pp-alert-success,.profilepress-myaccount-edit-profile .profilepress-edit-profile-status.success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field{margin-top:.5em;margin-bottom:1em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-cover-image-empty{min-height:250px;background-color:#eee}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap{padding:.75em;background-color:#fff;border:1px solid rgba(0,0,0,.125);margin-bottom:0;border-radius:.25em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap img{width:100%;height:auto}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap .profilepress-myaccount-form-field{margin-top:.5em;margin-bottom:.5em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-email-notifications-wrap{margin-bottom:2em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field label{margin-bottom:.2em;font-weight:500;display:block}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field input[type=checkbox]+label,#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field input[type=radio]+label{display:inline}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .profilepress-myaccount-form-control:not([type=radio]):not([type=checkbox]),#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap input:not([type=radio]):not([type=checkbox]):not([type=submit]),#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap select,#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap textarea{display:block;width:100%;height:calc(1.5em + .75em + 2px);padding:.375em .75em;font-size:1em;font-weight:400;line-height:1.5;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25em;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;overflow:visible;box-shadow:inset 0 1px 1px rgba(0,0,0,.125)}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap textarea{height:auto!important;min-height:100px!important;resize:vertical!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input.profilepress-myaccount-form-control:focus,#profilepress-myaccount-wrapper .profilepress-myaccount-content select.profilepress-myaccount-form-control:focus,#profilepress-myaccount-wrapper .profilepress-myaccount-content textarea.profilepress-myaccount-form-control:focus{background-color:#fff;border-color:#bbb;outline:0;box-shadow:none}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .profilepress-myaccount-form-field input[type=submit]{display:inline-block;cursor:pointer;width:auto}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .profilepress-myaccount-form-field input[type=submit]:hover{color:#fff;background-color:#0069d9;border-color:#0062cc;text-decoration:none}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + .75em + 2px);margin-bottom:0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + .75em + 2px);margin:0;opacity:0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + .75em + 2px);padding:.375em .75em;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;border:1px solid #ced4da;border-radius:.25em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-label::after{position:absolute;top:0;right:0;box-sizing:border-box;bottom:0;z-index:3;display:block;height:calc(1.5em + .75em);padding:.375em .75em;line-height:1.5;color:#495057;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25em .25em 0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-wrap .ppmyac-custom-file-input~.ppmyac-custom-file-label[data-browse]::after{content:attr(data-browse)}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field .pp-checkbox-wrap label.pp-form-label,#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-form-field .pp-radio-wrap label.pp-form-label{display:inline-block;margin:0 0 0 .3819820591em}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-avatar-wrap{display:flex;flex-direction:column;margin:1em 0 0;padding-left:0}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-avatar{position:relative;padding:.75em 1.25em;background-color:#fff;border:1px solid rgba(0,0,0,.125);margin-bottom:0;border-radius:.25em;justify-content:space-between!important;display:flex!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content .pp-user-avatar{width:70px;height:70px;min-height:100%;object-fit:cover;object-position:center;border-radius:50%}#profilepress-myaccount-wrapper .profilepress-myaccount-content .ppmyac-remove-avatar{margin-bottom:.5em!important;margin-top:.5em!important;padding:.25em .5em;font-size:.875em;line-height:1.5;border-radius:.2em;color:#fff;height:35px;background-color:#6c757d;display:inline-block;font-weight:400;text-align:center;vertical-align:middle;text-shadow:none;cursor:pointer;user-select:none;border:1px solid #6c757d;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}#profilepress-myaccount-wrapper .profilepress-myaccount-content .profilepress-myaccount-delete-cover-image-wrap .ppmyac-remove-avatar{margin-top:.75em!important;margin-bottom:0!important}#profilepress-myaccount-wrapper .profilepress-myaccount-content input.profilepress-myaccount-form-control::-webkit-file-upload-button{background:#fff;border-radius:6px;font-size:14px;border:1px solid #ddd}#profilepress-myaccount-wrapper .profilepress-myaccount-content .select2-selection{border-radius:.25em;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;box-shadow:inset 0 1px 1px rgba(0,0,0,.125)}.ppress-2fa-setup-wrap .ppmyac-2fa-recovery-codes-wrap{width:250px;text-align:center}.pp-form-container .pp-field-user-avatar-picture-wrap{width:250px;height:auto;margin:auto;position:relative}.pp-form-container .pp-field-user-cover-image-wrap{margin:auto;position:relative}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay-wrap,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay-wrap{position:absolute;top:0;left:0;background:rgba(0,0,0,.5);text-align:center;box-sizing:border-box;padding:0;color:#fff;text-shadow:0 1px #666;line-height:21px;font-size:16px;height:100%;width:100%;border-radius:50%}.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay-wrap{border-radius:0}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay{display:table;height:100%;width:100%}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay ins,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay ins{display:table-cell;vertical-align:middle;height:100%;text-decoration:none!important;background:0 0!important;color:#fff!important;border-bottom:none!important}.pp-field-user-avatar-picture-wrap:hover .pp-profile-avatar-overlay-wrap .pp-profile-avatar-overlay .pp-form-material-icons,.pp-field-user-cover-image-wrap:hover .pp-cover-image-overlay-wrap .pp-cover-image-overlay .pp-form-material-icons{font-size:35px!important;display:block!important;position:static!important;right:auto!important;top:auto!important;color:#fff!important;margin:0!important;width:auto!important;height:auto!important;cursor:pointer}html .select2.select2-container .select2-selection.select2-selection--multiple input.select2-search__field{border:0!important;height:auto!important}.select2.select2-container .select2-selection.select2-selection--multiple input.select2-search__field{border:0!important;box-shadow:none!important}.select2.select2-container .select2-selection.select2-selection--multiple li.select2-selection__choice{height:auto;line-height:normal}.pp-form-wrapper.pp-member-directory{opacity:0}.pp-form-wrapper.ppress-default-profile{max-width:1000px;width:100%;box-sizing:border-box;font-size:15px;color:#666;margin-bottom:30px;opacity:0}.pp-form-wrapper.ppress-default-profile *{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pp-form-wrapper.ppress-default-profile a,.pp-form-wrapper.ppress-default-profile a:hover{text-decoration:none!important}.pp-form-wrapper.ppress-default-profile .ppress-default-profile-cover{background-color:#eee;box-sizing:border-box;position:relative}.pp-form-wrapper.ppress-default-profile .ppress-default-profile-cover-e{text-align:center;overflow:hidden}.pp-form-wrapper.ppress-default-profile .ppress-default-profile-cover-e img{width:100%;display:block;overflow:hidden;border-radius:0;margin:0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-header{position:relative;padding:0 0 25px;border-bottom:solid 2px #eee;min-height:85px;box-sizing:content-box}.pp-form-wrapper.ppress-default-profile .ppress-dpf-headericon{position:absolute;top:15px;right:0;vertical-align:middle;font-size:30px;height:30px;line-height:30px;z-index:66;margin-right:10px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-headericon .ppress-dpf-edit-a .ppress-material-icons{font-size:30px}.pp-form-wrapper.ppress-default-profile a.ppress-dpf-edit-a{color:#aaa;text-decoration:none;border-bottom:0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-headericon a:hover,.pp-form-wrapper.ppress-default-profile a.ppress-dpf-edit-a.active{color:#007bff}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-photo{float:left;position:absolute;margin:0 0 0 30px;box-sizing:border-box;width:200px;height:200px}.pp-form-wrapper.ppress-default-profile.ppdf-nocover .ppress-dpf-profile-photo{position:relative}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-photo img{width:100%;height:auto;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;display:block;overflow:hidden;margin:0;box-shadow:none;background:#fff;border:5px solid #fff}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-meta{padding-right:30px;-ms-word-break:break-all;word-break:break-word;word-wrap:break-word}.pp-form-wrapper.ppress-default-profile .ppress-dpf-main-meta{padding:10px 0 0;color:#999}.pp-form-wrapper.ppress-default-profile .ppress-dpf-name{font-size:24px;font-weight:700;margin-right:30px;color:#555;line-height:1.7em}.pp-form-wrapper.ppress-default-profile .ppress-dpf-clear{clear:both}.pp-form-wrapper.ppress-default-profile .ppress-dpf-meta span{margin:0 5px;font-size:14px;display:inline-block;line-height:.1}.pp-form-wrapper.ppress-default-profile .ppress-dpf-meta span:first-child{margin:0 5px 0 0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-meta-text{margin:5px 0 0;line-height:1.4em;font-size:13px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav{padding:10px;background:#444;text-align:center}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item a{color:#fff;font-size:14px;font-weight:600;padding:6px 10px 6px 28px;display:block;float:left;border-radius:4px;margin-left:5px;position:relative;border-bottom:0;text-decoration:none!important}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item a:hover{background:#555}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item .ppress-material-icons{font-size:18px;height:18px;line-height:1.5;position:absolute;display:block;left:10px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item span.ppress-dpf-nav-title{padding-left:5px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-nav-item.ppress-dpf-active a{background:#007bff}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-body{max-width:600px;padding-top:15px;padding-bottom:15px;margin:auto}.pp-form-wrapper.ppress-default-profile .pp-user-comment-no-item,.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note{text-align:center;padding-top:20px;color:#666}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note .ppress-material-icons{display:inline-block;font-size:70px;height:70px;line-height:70px}.pp-form-wrapper.ppress-default-profile .pp-user-comment-no-item span,.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note span{margin-top:10px;display:block;font-size:16px;color:#888}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-note a{border:0!important}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-body-items{margin:0 0 30px}.pp-form-wrapper.ppress-default-profile .ppress-dpf-profile-body-item{position:relative;padding:15px 0 0}.pp-form-wrapper.ppress-default-profile .ppress-dpf-item-label{display:block;margin:0 0 8px;border-bottom:solid 2px #eee;padding-bottom:4px;font-size:15px;line-height:22px;font-weight:700}.pp-form-wrapper.ppress-default-profile .ppress-dpf-field-label-icon{float:left;margin:0 8px 0 0;height:22px;line-height:18px;display:inline-block;width:24px;text-align:center}.pp-form-wrapper.ppress-default-profile .ppress-dpf-field-label-icon i{font-size:22px;position:relative;top:1px}.pp-form-wrapper.ppress-default-profile .ppdf-nocover .ppress-dpf-profile-photo{float:none;margin:0 auto;text-align:center;position:relative}.pp-form-wrapper.ppress-default-profile .ppdf-nocover .ppress-dpf-profile-meta{padding-left:0!important;padding-right:0!important;text-align:center!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav{padding:0!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item a,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item a{margin-left:0!important;border-radius:0!important}.ppress-dpf-profile-nav-item.ppressui340 .ppress-dpf-profile-body{padding-left:0!important;padding-right:0!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{position:static!important;top:auto!important;left:auto!important}.ppress-default-profile.ppressui340 .ppress-dpf-header .ppress-dpf-profile-meta{text-align:center!important;padding:0!important;margin-top:-30px!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-meta{padding-top:0!important}.ppress-default-profile.ppressui340 .ppress-dpf-header .ppress-dpf-name{float:none!important;margin-right:0!important;font-size:18px!important}.ppress-default-profile.ppressui340 .ppress-dpf-header .ppress-dpf-meta-text{padding:0 20px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-photo{position:relative!important;width:100px!important;height:100px!important;margin:0 auto!important;float:none!important;left:auto!important;text-align:center!important;top:-40px!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{width:120px!important;height:120px!important}.ppress-default-profile.ppressui340 .ppress-dpf-nav-title{font-size:12px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item .ppress-material-icons,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item i{display:block!important;position:static!important;top:auto!important;left:auto!important;height:20px!important;line-height:20px!important}.ppress-default-profile.ppressui340.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-meta{margin-top:0!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav{padding:0!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item i{font-size:22px!important;height:22px!important;line-height:22px!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-body{padding-left:0!important;padding-right:0!important}.ppress-default-profile.ppressui500.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{position:static!important;top:auto!important;left:auto!important;width:120px!important;height:120px!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-photo{position:relative!important;width:100px!important;height:100px!important;margin:0 auto!important;float:none!important;display:block!important;top:-40px!important;left:0!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-profile-meta{text-align:center!important;padding:0!important;margin-top:-30px!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-name{float:none!important;margin-right:0!important;font-size:21px!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-meta-text{padding-top:10px!important}.ppress-default-profile.ppressui500 .ppress-dpf-header .ppress-dpf-meta{padding:0 20px!important;display:block!important}.ppress-default-profile.ppressui500 .ppress-dpf-nav-title{font-size:12px!important}.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item .ppress-material-icons{display:block!important;position:static!important;top:auto!important;left:auto!important;height:20px!important;line-height:20px!important}.ppress-default-profile.ppressui500.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-meta{margin-top:0!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-nav{padding:0!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-nav-item a{padding:10px 20px!important;margin-left:0!important;border-radius:0!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-photo{width:140px!important;height:140px!important;top:-70px!important}.ppress-default-profile.ppressui800.ppdf-nocover .ppress-dpf-header .ppress-dpf-profile-photo{top:auto!important}.ppress-default-profile.ppressui800 .ppress-dpf-header .ppress-dpf-meta-text{padding-top:10px!important}.ppress-default-profile.ppressui800 .ppress-dpf-nav-title{font-size:12px!important}.ppress-default-profile.ppressui800 .ppress-dpf-profile-nav-item .ppress-material-icons{display:block!important;position:static!important;top:auto!important;left:auto!important;font-size:20px!important;height:20px!important;line-height:20px!important}.ppress-default-profile.ppressui960 .ppress-dpf-profile-photo{width:140px!important;height:140px!important;top:-70px!important}.ppress-default-profile.ppressui960.ppdf-nocover .ppress-dpf-profile-meta{margin-top:-50px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item a,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item a{padding:5px 11px!important;font-size:12px!important}.ppress-default-profile.ppressui340 .ppress-dpf-profile-nav-item .ppress-material-icons,.ppress-default-profile.ppressui500 .ppress-dpf-profile-nav-item .ppress-material-icons{font-size:14px!important}.ppress-default-profile.ppressui340 span.ppress-dpf-nav-title,.ppress-default-profile.ppressui500 span.ppress-dpf-nav-title{font-size:10px!important}.pp-form-wrapper.ppress-default-profile ul.pp-user-post-list{list-style:none;margin:0;padding:0}.pp-form-wrapper.ppress-default-profile li.pp-user-post-item{padding:20px 0;border-bottom:1px solid #eee}.pp-form-wrapper.ppress-default-profile .pp-user-post-item a,.pp-form-wrapper.ppress-default-profile .pp-user-post-item h3{font-size:16px;font-weight:400;margin:0;text-decoration:none}.pp-form-wrapper.ppress-default-profile .ppress-dpf-more-post-wrap{text-align:center;padding-top:30px}.pp-form-wrapper.ppress-default-profile a.ppress-dpf-more-post-btn{font-size:15px;border:0;display:block;width:100%;line-height:1em;padding:15px;text-decoration:none;text-align:center;text-transform:none;font-weight:400;transition:.25s;border-radius:4px;-webkit-box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);max-width:250px;margin:0 auto;color:#fff;background:#007bff}.pp-form-wrapper.ppress-default-profile .pp-user-comment-item{padding:20px 0;border-bottom:1px solid #eee}.pp-form-wrapper.ppress-default-profile .pp-user-comment-item-link a{color:inherit}.pp-form-wrapper.ppress-default-profile .pp-user-comment-no-item+.ppress-dpf-more-post-wrap{display:none}.pp-member-directory .ppressmd-member-directory-header.ppressmd-form{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;flex-wrap:nowrap;width:100%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row:not(.ppressmd-member-directory-filters-bar){display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;margin:0 0 10px}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row.ppressmd-member-directory-search-row{justify-content:flex-end}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:nowrap;width:60%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label{flex:1;margin:0 10px 0 0;min-width:90px;max-width:85%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label .ppressmd-search-line{-webkit-appearance:textfield;width:100%;padding:0 12px!important;display:block!important;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;outline:0!important;cursor:text!important;font-size:15px!important;height:40px!important;box-sizing:border-box!important;box-shadow:none!important;margin:0!important;position:static}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line .ppressmd-do-search{min-width:15%;width:auto}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:nowrap;width:100%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-sorting{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;flex:5}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-sorting .ppressmd-member-directory-sorting-a{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;position:relative;cursor:pointer}.pp-member-directory .ppressmd-member-directory-header a{text-decoration:none;border-bottom:none;box-shadow:none}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppress-material-icons{display:inline;vertical-align:middle}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters{display:flex;flex-direction:row;justify-content:flex-end;align-items:baseline;flex-wrap:nowrap;flex:2;text-align:right}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;cursor:pointer}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a a{margin:0 5px 0 0}.ppressmd-member-directory-header:not(.ppmd-filters-expand) .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a .ppress-up{display:none}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search.ppressmd-search-invisible,.ppressmd-member-directory-header.ppmd-filters-expand .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-filters .ppressmd-member-directory-filters-a .ppress-down{display:none}.ppressmd-new-dropdown{font-size:16px;margin:0;position:absolute;height:auto;background:#fff;z-index:10;display:none;border:1px solid #ddd;box-shadow:0 7px 14px 0 rgba(50,50,93,.1),0 3px 6px 0 rgba(0,0,0,.07);-webkit-box-shadow:0 7px 14px 0 rgba(50,50,93,.1),0 3px 6px 0 rgba(0,0,0,.07);box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;-webkit-border-radius:5px 5px 5px 5px}.ppressmd-new-dropdown ul li{list-style-type:none;padding:0;margin:0}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppressmd-member-directory-sorting .ppressmd-member-directory-sorting-a .ppressmd-new-dropdown{top:24px;width:200px;left:-12px}.ppressmd-new-dropdown ul li a{display:block;padding:8px 12px;line-height:1}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row.ppressmd-member-directory-filters-bar{padding:0 0 10px}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row.ppressmd-header-row-invisible{margin:0}.ppressmd-member-directory-header.ppmd-filters-expand .ppressmd-member-directory-header-row .ppressmd-search.ppressmd-search-invisible{display:grid}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search{margin:0;width:100%;display:grid;grid-template-rows:auto 1fr;grid-template-columns:repeat(3,1fr);grid-gap:10px;grid-auto-rows:minmax(max-content,auto);-ms-grid-template-rows:auto 1fr;-ms-grid-template-columns:repeat(3,1fr);-ms-grid-gap:10px;-ms-grid-auto-rows:minmax(max-content,auto);align-items:center}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter{display:flex;flex-direction:row;justify-content:flex-start;align-items:baseline;flex-wrap:nowrap;width:100%}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter.ppressmd-text-filter-type input{width:100%;padding:10px 30px}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label .ppressmd-search-line,.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter.ppressmd-text-filter-type input:not(.select2-search__field),.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection{background-color:transparent;border:1px solid #ddd!important}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-nav-line .ppress-material-icons,.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-member-directory-search-line label .ppressmd-search-line,.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row .ppressmd-search .ppressmd-search-filter.ppressmd-text-filter-type input,.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection__rendered{color:#666;background-color:transparent}.pp-member-directory .ppressmd-member-directory-header .ppressmd-member-directory-header-row input[type=search]:focus{border:1px solid #bbb!important}.pp-member-directory .ppressmd-member-directory-header .ppressmd-button{border:0!important;display:block;width:100%;line-height:1em!important;padding:16px 20px!important;text-decoration:none!important;text-align:center;text-transform:none!important;font-weight:400!important;overflow:hidden;position:relative;transition:.25s;box-sizing:border-box;-moz-border-radius:4px!important;-webkit-border-radius:4px!important;border-radius:4px!important;box-shadow:none;vertical-align:middle!important;height:auto!important;cursor:pointer!important;text-shadow:none;font-family:inherit;outline:0!important;margin:0;-webkit-appearance:none}.pp-member-directory .ppressmd-members-total-wrap{text-align:center;margin:0 0 10px}.pp-member-directory .ppressmd-members-total{font-size:20px;font-weight:300}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container{width:100%!important}.pp-member-directory .ppressmd-member-directory-header .select2-search.select2-search--inline .select2-search__field{width:auto!important}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection{display:block!important;height:40px;padding:0 0 0 12px!important;overflow:hidden!important;position:relative!important;white-space:nowrap!important;line-height:35px!important;font-size:15px!important;text-align:left!important;text-decoration:none!important;-moz-border-radius:2px!important;-webkit-border-radius:2px!important;border-radius:2px!important;background-clip:padding-box!important;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:0 0!important}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection .select2-selection__arrow{display:inline-block!important;width:34px!important;height:100%!important;position:absolute!important;right:0!important;top:0!important;-moz-border-radius:0 2px 2px 0!important;-webkit-border-radius:0 2px 2px 0!important;border-radius:0 2px 2px 0!important;background-clip:padding-box!important;text-align:center!important;background:0 0!important;border-left:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container.select2-container--open .select2-dropdown{border:1px solid #ddd;border-top:0;border-radius:0}.pp-member-directory .ppressmd-member-directory-header .select2-container.select2-container--open .select2-dropdown .select2-results li{list-style:none;display:list-item;background-image:none;font-size:15px;margin:5px!important;color:#666!important;padding:3px 7px 4px!important;cursor:pointer;min-height:1em!important}.pp-member-directory .ppressmd-member-directory-header .select2.select2-container .select2-selection.select2-selection--multiple{height:auto!important;line-height:.8!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:0!important;line-height:37px}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__rendered{line-height:37px;box-sizing:border-box;list-style:none;margin:0;padding-left:0!important;padding-right:30px;width:100%;font-size:13px}.pp-member-directory .ppressmd-member-directory-header .select2-results li.select2-results__option.select2-results__option--highlighted{background:0 0!important;background:#f4f4f4!important;color:#666!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__clear{right:10px;margin:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__clear{right:10px;font-size:30px;margin:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__clear,.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__arrow b,.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__clear{color:#888!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__clear{position:absolute}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__choice{padding:3px 3px 3px 5px}.pp-member-directory .ppressmd-member-directory-header .select2-container .select2-search.select2-search--inline>input{border:0!important;padding:0!important;border-radius:0!important}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--multiple .select2-selection__rendered li{overflow-x:hidden;text-overflow:ellipsis;max-width:100%;box-sizing:border-box}.pp-member-directory .ppressmd-member-directory-header .select2-container--default .select2-selection--single .select2-selection__clear{font-size:20px!important}.pp-member-directory .ppmd-pagination-wrap{font-size:16px;width:100%;margin:0 auto 10px;padding:0;text-align:center}.pp-member-directory .ppmd-pagination-wrap .page-numbers{display:inline-block;width:auto;height:34px;line-height:34px;transition:all .2s linear;padding:0 14px;color:#666;font-weight:400}.pp-member-directory .ppmd-pagination-wrap .page-numbers.current{background:#007bff;color:#fff}.pp-member-directory .ppmd-pagination-wrap .page-numbers .ppress-material-icons{vertical-align:middle}
assets/css/myac-payment-pages.css ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .profilepress-myaccount-orders-subs, .profilepress-myaccount-orders-subs * {
2
+ font-family: Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3
+ }
4
+
5
+ .profilepress-myaccount-orders-subs .ppress-my-account-order-sub-wrap {
6
+ box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
7
+ border-radius: 8px;
8
+ border: 1px solid rgb(229 231 235);
9
+ margin-top: 16px;
10
+ }
11
+
12
+ .profilepress-myaccount-orders-subs .ppress-my-account-order-sub-wrap:first-child {
13
+ margin-top: 0;
14
+ }
15
+
16
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content-header p {
17
+ margin-bottom: 8px
18
+ }
19
+
20
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header-wrap {
21
+ padding: 16px;
22
+ border-color: rgb(229 231 235);
23
+ display: grid;
24
+ column-gap: 8px;
25
+ grid-template-columns: repeat(4, minmax(0, 1fr));
26
+ border-bottom: 1px solid rgb(229 231 235);
27
+ }
28
+
29
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details {
30
+ display: grid;
31
+ column-gap: 16px;
32
+ margin: 0;
33
+ font-size: 14px;
34
+ line-height: 20px;
35
+ grid-template-columns: auto auto auto;
36
+ grid-column: span 2/span 2;
37
+ }
38
+
39
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details dt {
40
+ margin: 0;
41
+ font-weight: 500;
42
+ font-size: 14px;
43
+ }
44
+
45
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details dd {
46
+ margin: 0;
47
+ margin-top: 4px;
48
+ }
49
+
50
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--actions {
51
+ justify-content: flex-end;
52
+ display: flex;
53
+ grid-column: span 2/span 2;
54
+ align-items: center;
55
+ }
56
+
57
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--actions a,
58
+ .profilepress-myaccount-orders-subs a.ppress-myac-action {
59
+ box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
60
+ font-weight: 500;
61
+ font-size: 14px;
62
+ padding: 6px 8px;
63
+ border: 1px solid rgb(209 213 219);
64
+ border-radius: 6px;
65
+ justify-content: center;
66
+ display: flex;
67
+ align-items: center;
68
+ text-decoration: inherit;
69
+ }
70
+
71
+ .profilepress-myaccount-orders-subs a.ppress-myac-action {
72
+ display: inline-block;
73
+ margin-right: 5px;
74
+ }
75
+
76
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content {
77
+ padding: 16px;
78
+ align-items: flex-start;
79
+ flex: 1 1 0%;
80
+ font-size: 14px;
81
+ line-height: 20px;
82
+ }
83
+
84
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content-header {
85
+ font-weight: 500;
86
+ display: flex;
87
+ justify-content: space-between;
88
+ }
89
+
90
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-product-name {
91
+ font-weight: 500;
92
+ font-size: 14px;
93
+ }
94
+
95
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap p.ppress-my-account-order-sub-product-price {
96
+ margin-top: 0 !important;
97
+ }
98
+
99
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-content p {
100
+ margin: 0;
101
+ margin-top: 8px;
102
+ display: block;
103
+ }
104
+
105
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-body-wrap {
106
+ display: flex;
107
+ align-items: flex-start;
108
+ }
109
+
110
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details dd span {
111
+ border-radius: 6px;
112
+ color: rgb(31 41 55);
113
+ background-color: rgb(243 244 246);
114
+ padding: 4px 8px;
115
+ margin: 0;
116
+ font-weight: 500;
117
+ font-size: 12px;
118
+ }
119
+
120
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .active span,
121
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .trialling span,
122
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .completed span {
123
+ background-color: rgb(220 252 231);
124
+ color: rgb(22 101 52);
125
+ }
126
+
127
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .refunded span,
128
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .expired span,
129
+ .profilepress-myaccount-orders-subs .profilepress-myaccount-orders-subs-wrap .ppress-my-account-order-sub-header--details .cancelled span {
130
+ background-color: rgb(254 226 226);
131
+ color: rgb(153 27 27);
132
+ }
133
+
134
+ .profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap {
135
+ padding: 10px 0;
136
+ text-align: right;
137
+ }
138
+
139
+ .profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap .page-numbers {
140
+ border: 1px solid rgb(209 213 219);
141
+ padding: 8px 16px;
142
+ font-size: 14px;
143
+ line-height: 20px;
144
+ }
145
+
146
+ .profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap .page-numbers.current {
147
+ background-color: #eeeeec;
148
+ color: rgb(107 114 128);
149
+ }
150
+
151
+ .profilepress-myaccount-orders-subs .ppress-myac-pagination-wrap .ppress-material-icons {
152
+ vertical-align: middle;
153
+ margin: 0;
154
+ }
155
+
156
+ table.ppress-details-table {
157
+ text-indent: 0;
158
+ border-color: inherit;
159
+ border-collapse: collapse;
160
+ border-spacing: 0;
161
+ width: 100%;
162
+ table-layout: fixed;
163
+ box-shadow: transparent 0 0 0 0, transparent 0 0 0 0, rgba(0, 0, 0, .05) 0 1px 2px 0;
164
+ }
165
+
166
+ .ppress-details-table thead {
167
+ background-color: rgb(249 250 251);
168
+ }
169
+
170
+ .ppress-details-table thead tr th {
171
+ padding: 14px 12px;
172
+ text-align: left;
173
+ font-size: 16px;
174
+ line-height: 20px;
175
+ font-weight: 600;
176
+ background-color: rgb(249 250 251);
177
+ }
178
+
179
+ .ppress-details-table thead th,
180
+ .ppress-details-table tr td {
181
+ padding: 16px;
182
+ border: 1px solid rgb(229 231 235);
183
+ }
184
+
185
+ .ppress-details-table thead th {
186
+ text-align: left;
187
+ background: rgb(229 231 235);
188
+ }
189
+
190
+ .ppress-details-table thead th {
191
+ vertical-align: bottom;
192
+ }
193
+
194
+ .ppress-details-table-wrap .ppress-details-table tr:nth-of-type(odd) {
195
+ background-color: rgb(249 250 251);
196
+ }
197
+
198
+ .ppress-details-table tr td:first-child {
199
+ font-weight: bold;
200
+ }
201
+
202
+ .ppress-details-table td:last-child {
203
+ width: 70%;
204
+ }
205
+
206
+ .ppress-details-table p {
207
+ margin: 0;
208
+ margin-top: 5px;
209
+ }
210
+
211
+ .ppress-details-table p:first-child {
212
+ margin-top: 0;
213
+ }
214
+
215
+ .ppress-details-table .ppress-billing-title {
216
+ font-weight: 500;
217
+ }
218
+
219
+ .ppress-details-table .ppress-sub-info {
220
+ color: #4b5563;
221
+ background-color: #e5e7eb;
222
+ margin-left: 5px;
223
+ border-radius: 9999px;
224
+ padding: 4px 8px;
225
+ font-size: 14px;
226
+ }
assets/flatpickr/flatpickr.min.css CHANGED
@@ -1 +1 @@
1
- @-webkit-keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0#e6e6e6,-1px 0 0#e6e6e6,0 1px 0#e6e6e6,0-1px 0#e6e6e6,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0#e6e6e6,-1px 0 0#e6e6e6,0 1px 0#e6e6e6,0-1px 0#e6e6e6,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0#e6e6e6,5px 0 0#e6e6e6;box-shadow:-2px 0 0#e6e6e6,5px 0 0#e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0-5px}.flatpickr-calendar:after{border-width:4px;margin:0-4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus,.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month,.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:34px;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9)}.flatpickr-months .flatpickr-month{background:0 0;line-height:1;text-align:center;position:relative;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;padding:10px;z-index:3}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i,.numInputWrapper{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.flatpickr-current-month span.cur-month:hover,.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month .flatpickr-monthDropdown-months,.flatpickr-current-month input.cur-year{background:0 0;border:0;border-radius:0;box-sizing:border-box;color:inherit;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;padding:0 0 0 .5ch;vertical-align:initial;-webkit-box-sizing:border-box}.flatpickr-current-month input.cur-year{cursor:text;margin:0;display:inline-block;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;cursor:pointer;margin:-1px 0 0;outline:0;position:relative;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{background:0 0;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer,span.flatpickr-weekday{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:0 0;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;font-weight:bolder}.flatpickr-weeks{padding:1px 0 0}.flatpickr-days,.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-days{position:relative;overflow:hidden;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer,.flatpickr-day{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0#e6e6e6;box-shadow:-1px 0 0#e6e6e6}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0#569ff7;box-shadow:-10px 0 0#569ff7}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0#e6e6e6,5px 0 0#e6e6e6;box-shadow:-5px 0 0#e6e6e6,5px 0 0#e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{background:0 0;border-color:transparent}.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(57,57,57,.3);background:0 0;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0#569ff7,5px 0 0#569ff7;box-shadow:-5px 0 0#569ff7,5px 0 0#569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0#e6e6e6;box-shadow:1px 0 0#e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:0 0;cursor:default;border:0}.flatpickr-innerContainer,.flatpickr-rContainer{-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0}.flatpickr-time,.flatpickr-time input{text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{outline:0;display:block;height:0;line-height:40px;max-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#393939;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-time-separator{font-weight:700;width:2%}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#eee}.flatpickr-input[readonly]{cursor:pointer}
1
+ @-webkit-keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;box-sizing:border-box;touch-action:manipulation;background:#fff;box-shadow:1px 0 0#e6e6e6,-1px 0 0#e6e6e6,0 1px 0#e6e6e6,0-1px 0#e6e6e6,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){box-shadow:-2px 0 0#e6e6e6,5px 0 0#e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0-5px}.flatpickr-calendar:after{border-width:4px;margin:0-4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus,.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:flex}.flatpickr-months .flatpickr-month,.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:34px;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9)}.flatpickr-months .flatpickr-month{background:0 0;line-height:1;text-align:center;position:relative;overflow:hidden;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;padding:10px;z-index:3}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i,.numInputWrapper{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{transition:fill .1s;fill:inherit}.numInputWrapper{height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.flatpickr-current-month span.cur-month:hover,.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month .flatpickr-monthDropdown-months,.flatpickr-current-month input.cur-year{background:0 0;border:0;border-radius:0;box-sizing:border-box;color:inherit;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;padding:0 0 0 .5ch;vertical-align:initial}.flatpickr-current-month input.cur-year{cursor:text;margin:0;display:inline-block;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;cursor:pointer;margin:-1px 0 0;outline:0;position:relative;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{background:0 0;text-align:center;overflow:hidden;width:100%;display:flex;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:flex;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:0 0;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;flex:1;font-weight:bolder}.flatpickr-weeks{padding:1px 0 0}.flatpickr-days{position:relative;overflow:hidden;display:flex;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer,.flatpickr-day{box-sizing:border-box;display:inline-block}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;display:flex;flex-wrap:wrap;-ms-flex-wrap:wrap;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{box-shadow:-1px 0 0#e6e6e6}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;position:relative;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#569ff7;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){box-shadow:-10px 0 0#569ff7}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;box-shadow:-5px 0 0#e6e6e6,5px 0 0#e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{background:0 0;border-color:transparent}.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(57,57,57,.3);background:0 0;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1)}.flatpickr-day.week.selected{border-radius:0;box-shadow:-5px 0 0#569ff7,5px 0 0#569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;box-shadow:1px 0 0#e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:0 0;cursor:default;border:0}.flatpickr-innerContainer{display:block;display:flex;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;box-sizing:border-box}.flatpickr-time,.flatpickr-time input{text-align:center;box-sizing:border-box}.flatpickr-time{outline:0;display:block;height:0;line-height:40px;max-height:40px;overflow:hidden;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;box-shadow:none;border:0;border-radius:0;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#393939;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-self:center}.flatpickr-time .flatpickr-time-separator{font-weight:700;width:2%}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#eee}.flatpickr-input[readonly]{cursor:pointer}
assets/flatpickr/flatpickr.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /* flatpickr v4.6.13,, @license MIT */
2
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=n()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var n,t=1,a=arguments.length;t<a;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function n(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var a=Array(e),i=0;for(n=0;n<t;n++)for(var o=arguments[n],r=0,l=o.length;r<l;r++,i++)a[i]=o[r];return a}var t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],a={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var n=new Date(e.getTime());n.setHours(0,0,0,0),n.setDate(n.getDate()+3-(n.getDay()+6)%7);var t=new Date(n.getFullYear(),0,4);return 1+Math.round(((n.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},i={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var n=e%100;if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},o=function(e,n){return void 0===n&&(n=2),("000"+e).slice(-1*n)},r=function(e){return!0===e?1:0};function l(e,n){var t;return function(){var a=this,i=arguments;clearTimeout(t),t=setTimeout((function(){return e.apply(a,i)}),n)}}var c=function(e){return e instanceof Array?e:[e]};function s(e,n,t){if(!0===t)return e.classList.add(n);e.classList.remove(n)}function d(e,n,t){var a=window.document.createElement(e);return n=n||"",t=t||"",a.className=n,void 0!==t&&(a.textContent=t),a}function u(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e,n){return n(e)?e:e.parentNode?f(e.parentNode,n):void 0}function m(e,n){var t=d("div","numInputWrapper"),a=d("input","numInput "+e),i=d("span","arrowUp"),o=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?a.type="number":(a.type="text",a.pattern="\\d*"),void 0!==n)for(var r in n)a.setAttribute(r,n[r]);return t.appendChild(a),t.appendChild(i),t.appendChild(o),t}function g(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(n){return e.target}}var p=function(){},h=function(e,n,t){return t.months[n?"shorthand":"longhand"][e]},v={D:p,F:function(e,n,t){e.setMonth(t.months.longhand.indexOf(n))},G:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},H:function(e,n){e.setHours(parseFloat(n))},J:function(e,n){e.setDate(parseFloat(n))},K:function(e,n,t){e.setHours(e.getHours()%12+12*r(new RegExp(t.amPM[1],"i").test(n)))},M:function(e,n,t){e.setMonth(t.months.shorthand.indexOf(n))},S:function(e,n){e.setSeconds(parseFloat(n))},U:function(e,n){return new Date(1e3*parseFloat(n))},W:function(e,n,t){var a=parseInt(n),i=new Date(e.getFullYear(),0,2+7*(a-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+t.firstDayOfWeek),i},Y:function(e,n){e.setFullYear(parseFloat(n))},Z:function(e,n){return new Date(n)},d:function(e,n){e.setDate(parseFloat(n))},h:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},i:function(e,n){e.setMinutes(parseFloat(n))},j:function(e,n){e.setDate(parseFloat(n))},l:p,m:function(e,n){e.setMonth(parseFloat(n)-1)},n:function(e,n){e.setMonth(parseFloat(n)-1)},s:function(e,n){e.setSeconds(parseFloat(n))},u:function(e,n){return new Date(parseFloat(n))},w:p,y:function(e,n){e.setFullYear(2e3+parseFloat(n))}},D={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},w={Z:function(e){return e.toISOString()},D:function(e,n,t){return n.weekdays.shorthand[w.w(e,n,t)]},F:function(e,n,t){return h(w.n(e,n,t)-1,!1,n)},G:function(e,n,t){return o(w.h(e,n,t))},H:function(e){return o(e.getHours())},J:function(e,n){return void 0!==n.ordinal?e.getDate()+n.ordinal(e.getDate()):e.getDate()},K:function(e,n){return n.amPM[r(e.getHours()>11)]},M:function(e,n){return h(e.getMonth(),!0,n)},S:function(e){return o(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,n,t){return t.getWeek(e)},Y:function(e){return o(e.getFullYear(),4)},d:function(e){return o(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return o(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,n){return n.weekdays.longhand[e.getDay()]},m:function(e){return o(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},b=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o,l=e.isMobile,c=void 0!==l&&l;return function(e,n,a){var i=a||r;return void 0===t.formatDate||c?n.split("").map((function(n,a,o){return w[n]&&"\\"!==o[a-1]?w[n](e,i,t):"\\"!==n?n:""})).join(""):t.formatDate(e,n,i)}},C=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o;return function(e,n,i,o){if(0===e||e){var l,c=o||r,s=e;if(e instanceof Date)l=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)l=new Date(e);else if("string"==typeof e){var d=n||(t||a).dateFormat,u=String(e).trim();if("today"===u)l=new Date,i=!0;else if(t&&t.parseDate)l=t.parseDate(e,d);else if(/Z$/.test(u)||/GMT$/.test(u))l=new Date(e);else{for(var f=void 0,m=[],g=0,p=0,h="";g<d.length;g++){var w=d[g],b="\\"===w,C="\\"===d[g-1]||b;if(D[w]&&!C){h+=D[w];var M=new RegExp(h).exec(e);M&&(f=!0)&&m["Y"!==w?"push":"unshift"]({fn:v[w],val:M[++p]})}else b||(h+=".")}l=t&&t.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),m.forEach((function(e){var n=e.fn,t=e.val;return l=n(l,t,c)||l})),l=f?l:void 0}}if(l instanceof Date&&!isNaN(l.getTime()))return!0===i&&l.setHours(0,0,0,0),l;t.errorHandler(new Error("Invalid date provided: "+s))}}};function M(e,n,t){return void 0===t&&(t=!0),!1!==t?new Date(e.getTime()).setHours(0,0,0,0)-new Date(n.getTime()).setHours(0,0,0,0):e.getTime()-n.getTime()}var y=function(e,n,t){return 3600*e+60*n+t};function x(e){var n=e.defaultHour,t=e.defaultMinute,a=e.defaultSeconds;if(void 0!==e.minDate){var i=e.minDate.getHours(),o=e.minDate.getMinutes(),r=e.minDate.getSeconds();n<i&&(n=i),n===i&&t<o&&(t=o),n===i&&t===o&&a<r&&(a=e.minDate.getSeconds())}if(void 0!==e.maxDate){var l=e.maxDate.getHours(),c=e.maxDate.getMinutes();(n=Math.min(n,l))===l&&(t=Math.min(c,t)),n===l&&t===c&&(a=e.maxDate.getSeconds())}return{hours:n,minutes:t,seconds:a}}function E(p,v){var w={config:e(e({},a),T.defaultConfig),l10n:i};function E(){var e;return(null===(e=w.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function k(e){return e.bind(w)}function I(){var e=w.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==w.calendarContainer&&(w.calendarContainer.style.visibility="hidden",w.calendarContainer.style.display="block"),void 0!==w.daysContainer){var n=(w.days.offsetWidth+1)*e.showMonths;w.daysContainer.style.width=n+"px",w.calendarContainer.style.width=n+(void 0!==w.weekWrapper?w.weekWrapper.offsetWidth:0)+"px",w.calendarContainer.style.removeProperty("visibility"),w.calendarContainer.style.removeProperty("display")}}))}function S(e){if(0===w.selectedDates.length){var n=void 0===w.config.minDate||M(new Date,w.config.minDate)>=0?new Date:new Date(w.config.minDate.getTime()),t=x(w.config);n.setHours(t.hours,t.minutes,t.seconds,n.getMilliseconds()),w.selectedDates=[n],w.latestSelectedDateObj=n}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var n="keydown"===e.type,t=g(e),a=t;void 0!==w.amPM&&t===w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]);var i=parseFloat(a.getAttribute("min")),l=parseFloat(a.getAttribute("max")),c=parseFloat(a.getAttribute("step")),s=parseInt(a.value,10),d=s+c*(e.delta||(n?38===e.which?1:-1:0));if(void 0!==a.value&&2===a.value.length){var u=a===w.hourElement,f=a===w.minuteElement;d<i?(d=l+d+r(!u)+(r(u)&&r(!w.amPM)),f&&H(void 0,-1,w.hourElement)):d>l&&(d=a===w.hourElement?d-l-r(!w.amPM):i,f&&H(void 0,1,w.hourElement)),w.amPM&&u&&(1===c?d+s===23:Math.abs(d-s)>c)&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]),a.value=o(d)}}(e);var a=w._input.value;_(),Me(),w._input.value!==a&&w._debouncedChange()}function _(){if(void 0!==w.hourElement&&void 0!==w.minuteElement){var e,n,t=(parseInt(w.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(w.minuteElement.value,10)||0)%60,i=void 0!==w.secondElement?(parseInt(w.secondElement.value,10)||0)%60:0;void 0!==w.amPM&&(e=t,n=w.amPM.textContent,t=e%12+12*r(n===w.l10n.amPM[1]));var o=void 0!==w.config.minTime||w.config.minDate&&w.minDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.minDate,!0),l=void 0!==w.config.maxTime||w.config.maxDate&&w.maxDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.maxDate,!0);if(void 0!==w.config.maxTime&&void 0!==w.config.minTime&&w.config.minTime>w.config.maxTime){var c=y(w.config.minTime.getHours(),w.config.minTime.getMinutes(),w.config.minTime.getSeconds()),s=y(w.config.maxTime.getHours(),w.config.maxTime.getMinutes(),w.config.maxTime.getSeconds()),d=y(t,a,i);if(d>s&&d<c){var u=function(e){var n=Math.floor(e/3600),t=(e-3600*n)/60;return[n,t,e-3600*n-60*t]}(c);t=u[0],a=u[1],i=u[2]}}else{if(l){var f=void 0!==w.config.maxTime?w.config.maxTime:w.config.maxDate;(t=Math.min(t,f.getHours()))===f.getHours()&&(a=Math.min(a,f.getMinutes())),a===f.getMinutes()&&(i=Math.min(i,f.getSeconds()))}if(o){var m=void 0!==w.config.minTime?w.config.minTime:w.config.minDate;(t=Math.max(t,m.getHours()))===m.getHours()&&a<m.getMinutes()&&(a=m.getMinutes()),a===m.getMinutes()&&(i=Math.max(i,m.getSeconds()))}}F(t,a,i)}}function O(e){var n=e||w.latestSelectedDateObj;n&&n instanceof Date&&F(n.getHours(),n.getMinutes(),n.getSeconds())}function F(e,n,t){void 0!==w.latestSelectedDateObj&&w.latestSelectedDateObj.setHours(e%24,n,t||0,0),w.hourElement&&w.minuteElement&&!w.isMobile&&(w.hourElement.value=o(w.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),w.minuteElement.value=o(n),void 0!==w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(e>=12)]),void 0!==w.secondElement&&(w.secondElement.value=o(t)))}function A(e){var n=g(e),t=parseInt(n.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&X(t)}function N(e,n,t,a){return n instanceof Array?n.forEach((function(n){return N(e,n,t,a)})):e instanceof Array?e.forEach((function(e){return N(e,n,t,a)})):(e.addEventListener(n,t,a),void w._handlers.push({remove:function(){return e.removeEventListener(n,t,a)}}))}function P(){ve("onChange")}function Y(e,n){var t=void 0!==e?w.parseDate(e):w.latestSelectedDateObj||(w.config.minDate&&w.config.minDate>w.now?w.config.minDate:w.config.maxDate&&w.config.maxDate<w.now?w.config.maxDate:w.now),a=w.currentYear,i=w.currentMonth;try{void 0!==t&&(w.currentYear=t.getFullYear(),w.currentMonth=t.getMonth())}catch(e){e.message="Invalid date supplied: "+t,w.config.errorHandler(e)}n&&w.currentYear!==a&&(ve("onYearChange"),U()),!n||w.currentYear===a&&w.currentMonth===i||ve("onMonthChange"),w.redraw()}function j(e){var n=g(e);~n.className.indexOf("arrow")&&H(e,n.classList.contains("arrowUp")?1:-1)}function H(e,n,t){var a=e&&g(e),i=t||a&&a.parentNode&&a.parentNode.firstChild,o=De("increment");o.delta=n,i&&i.dispatchEvent(o)}function L(e,n,t,a){var i=ee(n,!0),o=d("span",e,n.getDate().toString());return o.dateObj=n,o.$i=a,o.setAttribute("aria-label",w.formatDate(n,w.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===M(n,w.now)&&(w.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,we(n)&&(o.classList.add("selected"),w.selectedDateElem=o,"range"===w.config.mode&&(s(o,"startRange",w.selectedDates[0]&&0===M(n,w.selectedDates[0],!0)),s(o,"endRange",w.selectedDates[1]&&0===M(n,w.selectedDates[1],!0)),"nextMonthDay"===e&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===w.config.mode&&function(e){return!("range"!==w.config.mode||w.selectedDates.length<2)&&M(e,w.selectedDates[0])>=0&&M(e,w.selectedDates[1])<=0}(n)&&!we(n)&&o.classList.add("inRange"),w.weekNumbers&&1===w.config.showMonths&&"prevMonthDay"!==e&&a%7==6&&w.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+w.config.getWeek(n)+"</span>"),ve("onDayCreate",o),o}function R(e){e.focus(),"range"===w.config.mode&&ie(e)}function W(e){for(var n=e>0?0:w.config.showMonths-1,t=e>0?w.config.showMonths:-1,a=n;a!=t;a+=e)for(var i=w.daysContainer.children[a],o=e>0?0:i.children.length-1,r=e>0?i.children.length:-1,l=o;l!=r;l+=e){var c=i.children[l];if(-1===c.className.indexOf("hidden")&&ee(c.dateObj))return c}}function B(e,n){var t=E(),a=ne(t||document.body),i=void 0!==e?e:a?t:void 0!==w.selectedDateElem&&ne(w.selectedDateElem)?w.selectedDateElem:void 0!==w.todayDateElem&&ne(w.todayDateElem)?w.todayDateElem:W(n>0?1:-1);void 0===i?w._input.focus():a?function(e,n){for(var t=-1===e.className.indexOf("Month")?e.dateObj.getMonth():w.currentMonth,a=n>0?w.config.showMonths:-1,i=n>0?1:-1,o=t-w.currentMonth;o!=a;o+=i)for(var r=w.daysContainer.children[o],l=t-w.currentMonth===o?e.$i+n:n<0?r.children.length-1:0,c=r.children.length,s=l;s>=0&&s<c&&s!=(n>0?c:-1);s+=i){var d=r.children[s];if(-1===d.className.indexOf("hidden")&&ee(d.dateObj)&&Math.abs(e.$i-s)>=Math.abs(n))return R(d)}w.changeMonth(i),B(W(i),0)}(i,n):R(i)}function J(e,n){for(var t=(new Date(e,n,1).getDay()-w.l10n.firstDayOfWeek+7)%7,a=w.utils.getDaysInMonth((n-1+12)%12,e),i=w.utils.getDaysInMonth(n,e),o=window.document.createDocumentFragment(),r=w.config.showMonths>1,l=r?"prevMonthDay hidden":"prevMonthDay",c=r?"nextMonthDay hidden":"nextMonthDay",s=a+1-t,u=0;s<=a;s++,u++)o.appendChild(L("flatpickr-day "+l,new Date(e,n-1,s),0,u));for(s=1;s<=i;s++,u++)o.appendChild(L("flatpickr-day",new Date(e,n,s),0,u));for(var f=i+1;f<=42-t&&(1===w.config.showMonths||u%7!=0);f++,u++)o.appendChild(L("flatpickr-day "+c,new Date(e,n+1,f%i),0,u));var m=d("div","dayContainer");return m.appendChild(o),m}function K(){if(void 0!==w.daysContainer){u(w.daysContainer),w.weekNumbers&&u(w.weekNumbers);for(var e=document.createDocumentFragment(),n=0;n<w.config.showMonths;n++){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),e.appendChild(J(t.getFullYear(),t.getMonth()))}w.daysContainer.appendChild(e),w.days=w.daysContainer.firstChild,"range"===w.config.mode&&1===w.selectedDates.length&&ie()}}function U(){if(!(w.config.showMonths>1||"dropdown"!==w.config.monthSelectorType)){var e=function(e){return!(void 0!==w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&e<w.config.minDate.getMonth()||void 0!==w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()&&e>w.config.maxDate.getMonth())};w.monthsDropdownContainer.tabIndex=-1,w.monthsDropdownContainer.innerHTML="";for(var n=0;n<12;n++)if(e(n)){var t=d("option","flatpickr-monthDropdown-month");t.value=new Date(w.currentYear,n).getMonth().toString(),t.textContent=h(n,w.config.shorthandCurrentMonth,w.l10n),t.tabIndex=-1,w.currentMonth===n&&(t.selected=!0),w.monthsDropdownContainer.appendChild(t)}}}function $(){var e,n=d("div","flatpickr-month"),t=window.document.createDocumentFragment();w.config.showMonths>1||"static"===w.config.monthSelectorType?e=d("span","cur-month"):(w.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),w.monthsDropdownContainer.setAttribute("aria-label",w.l10n.monthAriaLabel),N(w.monthsDropdownContainer,"change",(function(e){var n=g(e),t=parseInt(n.value,10);w.changeMonth(t-w.currentMonth),ve("onMonthChange")})),U(),e=w.monthsDropdownContainer);var a=m("cur-year",{tabindex:"-1"}),i=a.getElementsByTagName("input")[0];i.setAttribute("aria-label",w.l10n.yearAriaLabel),w.config.minDate&&i.setAttribute("min",w.config.minDate.getFullYear().toString()),w.config.maxDate&&(i.setAttribute("max",w.config.maxDate.getFullYear().toString()),i.disabled=!!w.config.minDate&&w.config.minDate.getFullYear()===w.config.maxDate.getFullYear());var o=d("div","flatpickr-current-month");return o.appendChild(e),o.appendChild(a),t.appendChild(o),n.appendChild(t),{container:n,yearElement:i,monthElement:e}}function q(){u(w.monthNav),w.monthNav.appendChild(w.prevMonthNav),w.config.showMonths&&(w.yearElements=[],w.monthElements=[]);for(var e=w.config.showMonths;e--;){var n=$();w.yearElements.push(n.yearElement),w.monthElements.push(n.monthElement),w.monthNav.appendChild(n.container)}w.monthNav.appendChild(w.nextMonthNav)}function V(){w.weekdayContainer?u(w.weekdayContainer):w.weekdayContainer=d("div","flatpickr-weekdays");for(var e=w.config.showMonths;e--;){var n=d("div","flatpickr-weekdaycontainer");w.weekdayContainer.appendChild(n)}return z(),w.weekdayContainer}function z(){if(w.weekdayContainer){var e=w.l10n.firstDayOfWeek,t=n(w.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=n(t.splice(e,t.length),t.splice(0,e)));for(var a=w.config.showMonths;a--;)w.weekdayContainer.children[a].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function G(e,n){void 0===n&&(n=!0);var t=n?e:e-w.currentMonth;t<0&&!0===w._hidePrevMonthArrow||t>0&&!0===w._hideNextMonthArrow||(w.currentMonth+=t,(w.currentMonth<0||w.currentMonth>11)&&(w.currentYear+=w.currentMonth>11?1:-1,w.currentMonth=(w.currentMonth+12)%12,ve("onYearChange"),U()),K(),ve("onMonthChange"),be())}function Z(e){return w.calendarContainer.contains(e)}function Q(e){if(w.isOpen&&!w.config.inline){var n=g(e),t=Z(n),a=!(n===w.input||n===w.altInput||w.element.contains(n)||e.path&&e.path.indexOf&&(~e.path.indexOf(w.input)||~e.path.indexOf(w.altInput))||t||Z(e.relatedTarget)),i=!w.config.ignoredFocusElements.some((function(e){return e.contains(n)}));a&&i&&(w.config.allowInput&&w.setDate(w._input.value,!1,w.config.altInput?w.config.altFormat:w.config.dateFormat),void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement&&""!==w.input.value&&void 0!==w.input.value&&S(),w.close(),w.config&&"range"===w.config.mode&&1===w.selectedDates.length&&w.clear(!1))}}function X(e){if(!(!e||w.config.minDate&&e<w.config.minDate.getFullYear()||w.config.maxDate&&e>w.config.maxDate.getFullYear())){var n=e,t=w.currentYear!==n;w.currentYear=n||w.currentYear,w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth=Math.min(w.config.maxDate.getMonth(),w.currentMonth):w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&(w.currentMonth=Math.max(w.config.minDate.getMonth(),w.currentMonth)),t&&(w.redraw(),ve("onYearChange"),U())}}function ee(e,n){var t;void 0===n&&(n=!0);var a=w.parseDate(e,void 0,n);if(w.config.minDate&&a&&M(a,w.config.minDate,void 0!==n?n:!w.minDateHasTime)<0||w.config.maxDate&&a&&M(a,w.config.maxDate,void 0!==n?n:!w.maxDateHasTime)>0)return!1;if(!w.config.enable&&0===w.config.disable.length)return!0;if(void 0===a)return!1;for(var i=!!w.config.enable,o=null!==(t=w.config.enable)&&void 0!==t?t:w.config.disable,r=0,l=void 0;r<o.length;r++){if("function"==typeof(l=o[r])&&l(a))return i;if(l instanceof Date&&void 0!==a&&l.getTime()===a.getTime())return i;if("string"==typeof l){var c=w.parseDate(l,void 0,!0);return c&&c.getTime()===a.getTime()?i:!i}if("object"==typeof l&&void 0!==a&&l.from&&l.to&&a.getTime()>=l.from.getTime()&&a.getTime()<=l.to.getTime())return i}return!i}function ne(e){return void 0!==w.daysContainer&&-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&w.daysContainer.contains(e)}function te(e){var n=e.target===w._input,t=w._input.value.trimEnd()!==Ce();!n||!t||e.relatedTarget&&Z(e.relatedTarget)||w.setDate(w._input.value,!0,e.target===w.altInput?w.config.altFormat:w.config.dateFormat)}function ae(e){var n=g(e),t=w.config.wrap?p.contains(n):n===w._input,a=w.config.allowInput,i=w.isOpen&&(!a||!t),o=w.config.inline&&t&&!a;if(13===e.keyCode&&t){if(a)return w.setDate(w._input.value,!0,n===w.altInput?w.config.altFormat:w.config.dateFormat),w.close(),n.blur();w.open()}else if(Z(n)||i||o){var r=!!w.timeContainer&&w.timeContainer.contains(n);switch(e.keyCode){case 13:r?(e.preventDefault(),S(),ue()):fe(e);break;case 27:e.preventDefault(),ue();break;case 8:case 46:t&&!w.config.allowInput&&(e.preventDefault(),w.clear());break;case 37:case 39:if(r||t)w.hourElement&&w.hourElement.focus();else{e.preventDefault();var l=E();if(void 0!==w.daysContainer&&(!1===a||l&&ne(l))){var c=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),G(c),B(W(1),0)):B(void 0,c)}}break;case 38:case 40:e.preventDefault();var s=40===e.keyCode?1:-1;w.daysContainer&&void 0!==n.$i||n===w.input||n===w.altInput?e.ctrlKey?(e.stopPropagation(),X(w.currentYear-s),B(W(1),0)):r||B(void 0,7*s):n===w.currentYearElement?X(w.currentYear-s):w.config.enableTime&&(!r&&w.hourElement&&w.hourElement.focus(),S(e),w._debouncedChange());break;case 9:if(r){var d=[w.hourElement,w.minuteElement,w.secondElement,w.amPM].concat(w.pluginElements).filter((function(e){return e})),u=d.indexOf(n);if(-1!==u){var f=d[u+(e.shiftKey?-1:1)];e.preventDefault(),(f||w._input).focus()}}else!w.config.noCalendar&&w.daysContainer&&w.daysContainer.contains(n)&&e.shiftKey&&(e.preventDefault(),w._input.focus())}}if(void 0!==w.amPM&&n===w.amPM)switch(e.key){case w.l10n.amPM[0].charAt(0):case w.l10n.amPM[0].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[0],_(),Me();break;case w.l10n.amPM[1].charAt(0):case w.l10n.amPM[1].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[1],_(),Me()}(t||Z(n))&&ve("onKeyDown",e)}function ie(e,n){if(void 0===n&&(n="flatpickr-day"),1===w.selectedDates.length&&(!e||e.classList.contains(n)&&!e.classList.contains("flatpickr-disabled"))){for(var t=e?e.dateObj.getTime():w.days.firstElementChild.dateObj.getTime(),a=w.parseDate(w.selectedDates[0],void 0,!0).getTime(),i=Math.min(t,w.selectedDates[0].getTime()),o=Math.max(t,w.selectedDates[0].getTime()),r=!1,l=0,c=0,s=i;s<o;s+=864e5)ee(new Date(s),!0)||(r=r||s>i&&s<o,s<a&&(!l||s>l)?l=s:s>a&&(!c||s<c)&&(c=s));Array.from(w.rContainer.querySelectorAll("*:nth-child(-n+"+w.config.showMonths+") > ."+n)).forEach((function(n){var i,o,s,d=n.dateObj.getTime(),u=l>0&&d<l||c>0&&d>c;if(u)return n.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){n.classList.remove(e)}));r&&!u||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){n.classList.remove(e)})),void 0!==e&&(e.classList.add(t<=w.selectedDates[0].getTime()?"startRange":"endRange"),a<t&&d===a?n.classList.add("startRange"):a>t&&d===a&&n.classList.add("endRange"),d>=l&&(0===c||d<=c)&&(o=a,s=t,(i=d)>Math.min(o,s)&&i<Math.max(o,s))&&n.classList.add("inRange")))}))}}function oe(){!w.isOpen||w.config.static||w.config.inline||se()}function re(e){return function(n){var t=w.config["_"+e+"Date"]=w.parseDate(n,w.config.dateFormat),a=w.config["_"+("min"===e?"max":"min")+"Date"];void 0!==t&&(w["min"===e?"minDateHasTime":"maxDateHasTime"]=t.getHours()>0||t.getMinutes()>0||t.getSeconds()>0),w.selectedDates&&(w.selectedDates=w.selectedDates.filter((function(e){return ee(e)})),w.selectedDates.length||"min"!==e||O(t),Me()),w.daysContainer&&(de(),void 0!==t?w.currentYearElement[e]=t.getFullYear().toString():w.currentYearElement.removeAttribute(e),w.currentYearElement.disabled=!!a&&void 0!==t&&a.getFullYear()===t.getFullYear())}}function le(){return w.config.wrap?p.querySelector("[data-input]"):p}function ce(){"object"!=typeof w.config.locale&&void 0===T.l10ns[w.config.locale]&&w.config.errorHandler(new Error("flatpickr: invalid locale "+w.config.locale)),w.l10n=e(e({},T.l10ns.default),"object"==typeof w.config.locale?w.config.locale:"default"!==w.config.locale?T.l10ns[w.config.locale]:void 0),D.D="("+w.l10n.weekdays.shorthand.join("|")+")",D.l="("+w.l10n.weekdays.longhand.join("|")+")",D.M="("+w.l10n.months.shorthand.join("|")+")",D.F="("+w.l10n.months.longhand.join("|")+")",D.K="("+w.l10n.amPM[0]+"|"+w.l10n.amPM[1]+"|"+w.l10n.amPM[0].toLowerCase()+"|"+w.l10n.amPM[1].toLowerCase()+")",void 0===e(e({},v),JSON.parse(JSON.stringify(p.dataset||{}))).time_24hr&&void 0===T.defaultConfig.time_24hr&&(w.config.time_24hr=w.l10n.time_24hr),w.formatDate=b(w),w.parseDate=C({config:w.config,l10n:w.l10n})}function se(e){if("function"!=typeof w.config.position){if(void 0!==w.calendarContainer){ve("onPreCalendarPosition");var n=e||w._positionElement,t=Array.prototype.reduce.call(w.calendarContainer.children,(function(e,n){return e+n.offsetHeight}),0),a=w.calendarContainer.offsetWidth,i=w.config.position.split(" "),o=i[0],r=i.length>1?i[1]:null,l=n.getBoundingClientRect(),c=window.innerHeight-l.bottom,d="above"===o||"below"!==o&&c<t&&l.top>t,u=window.pageYOffset+l.top+(d?-t-2:n.offsetHeight+2);if(s(w.calendarContainer,"arrowTop",!d),s(w.calendarContainer,"arrowBottom",d),!w.config.inline){var f=window.pageXOffset+l.left,m=!1,g=!1;"center"===r?(f-=(a-l.width)/2,m=!0):"right"===r&&(f-=a-l.width,g=!0),s(w.calendarContainer,"arrowLeft",!m&&!g),s(w.calendarContainer,"arrowCenter",m),s(w.calendarContainer,"arrowRight",g);var p=window.document.body.offsetWidth-(window.pageXOffset+l.right),h=f+a>window.document.body.offsetWidth,v=p+a>window.document.body.offsetWidth;if(s(w.calendarContainer,"rightMost",h),!w.config.static)if(w.calendarContainer.style.top=u+"px",h)if(v){var D=function(){for(var e=null,n=0;n<document.styleSheets.length;n++){var t=document.styleSheets[n];if(t.cssRules){try{t.cssRules}catch(e){continue}e=t;break}}return null!=e?e:(a=document.createElement("style"),document.head.appendChild(a),a.sheet);var a}();if(void 0===D)return;var b=window.document.body.offsetWidth,C=Math.max(0,b/2-a/2),M=D.cssRules.length,y="{left:"+l.left+"px;right:auto;}";s(w.calendarContainer,"rightMost",!1),s(w.calendarContainer,"centerMost",!0),D.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+y,M),w.calendarContainer.style.left=C+"px",w.calendarContainer.style.right="auto"}else w.calendarContainer.style.left="auto",w.calendarContainer.style.right=p+"px";else w.calendarContainer.style.left=f+"px",w.calendarContainer.style.right="auto"}}}else w.config.position(w,e)}function de(){w.config.noCalendar||w.isMobile||(U(),be(),K())}function ue(){w._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(w.close,0):w.close()}function fe(e){e.preventDefault(),e.stopPropagation();var n=f(g(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==n){var t=n,a=w.latestSelectedDateObj=new Date(t.dateObj.getTime()),i=(a.getMonth()<w.currentMonth||a.getMonth()>w.currentMonth+w.config.showMonths-1)&&"range"!==w.config.mode;if(w.selectedDateElem=t,"single"===w.config.mode)w.selectedDates=[a];else if("multiple"===w.config.mode){var o=we(a);o?w.selectedDates.splice(parseInt(o),1):w.selectedDates.push(a)}else"range"===w.config.mode&&(2===w.selectedDates.length&&w.clear(!1,!1),w.latestSelectedDateObj=a,w.selectedDates.push(a),0!==M(a,w.selectedDates[0],!0)&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()})));if(_(),i){var r=w.currentYear!==a.getFullYear();w.currentYear=a.getFullYear(),w.currentMonth=a.getMonth(),r&&(ve("onYearChange"),U()),ve("onMonthChange")}if(be(),K(),Me(),i||"range"===w.config.mode||1!==w.config.showMonths?void 0!==w.selectedDateElem&&void 0===w.hourElement&&w.selectedDateElem&&w.selectedDateElem.focus():R(t),void 0!==w.hourElement&&void 0!==w.hourElement&&w.hourElement.focus(),w.config.closeOnSelect){var l="single"===w.config.mode&&!w.config.enableTime,c="range"===w.config.mode&&2===w.selectedDates.length&&!w.config.enableTime;(l||c)&&ue()}P()}}w.parseDate=C({config:w.config,l10n:w.l10n}),w._handlers=[],w.pluginElements=[],w.loadedPlugins=[],w._bind=N,w._setHoursFromDate=O,w._positionCalendar=se,w.changeMonth=G,w.changeYear=X,w.clear=function(e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),w.input.value="",void 0!==w.altInput&&(w.altInput.value=""),void 0!==w.mobileInput&&(w.mobileInput.value=""),w.selectedDates=[],w.latestSelectedDateObj=void 0,!0===n&&(w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth()),!0===w.config.enableTime){var t=x(w.config);F(t.hours,t.minutes,t.seconds)}w.redraw(),e&&ve("onChange")},w.close=function(){w.isOpen=!1,w.isMobile||(void 0!==w.calendarContainer&&w.calendarContainer.classList.remove("open"),void 0!==w._input&&w._input.classList.remove("active")),ve("onClose")},w.onMouseOver=ie,w._createElement=d,w.createDay=L,w.destroy=function(){void 0!==w.config&&ve("onDestroy");for(var e=w._handlers.length;e--;)w._handlers[e].remove();if(w._handlers=[],w.mobileInput)w.mobileInput.parentNode&&w.mobileInput.parentNode.removeChild(w.mobileInput),w.mobileInput=void 0;else if(w.calendarContainer&&w.calendarContainer.parentNode)if(w.config.static&&w.calendarContainer.parentNode){var n=w.calendarContainer.parentNode;if(n.lastChild&&n.removeChild(n.lastChild),n.parentNode){for(;n.firstChild;)n.parentNode.insertBefore(n.firstChild,n);n.parentNode.removeChild(n)}}else w.calendarContainer.parentNode.removeChild(w.calendarContainer);w.altInput&&(w.input.type="text",w.altInput.parentNode&&w.altInput.parentNode.removeChild(w.altInput),delete w.altInput),w.input&&(w.input.type=w.input._type,w.input.classList.remove("flatpickr-input"),w.input.removeAttribute("readonly")),
3
- ["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete w[e]}catch(e){}}))},w.isEnabled=ee,w.jumpToDate=Y,w.updateValue=Me,w.open=function(e,n){if(void 0===n&&(n=w._positionElement),!0===w.isMobile){if(e){e.preventDefault();var t=g(e);t&&t.blur()}return void 0!==w.mobileInput&&(w.mobileInput.focus(),w.mobileInput.click()),void ve("onOpen")}if(!w._input.disabled&&!w.config.inline){var a=w.isOpen;w.isOpen=!0,a||(w.calendarContainer.classList.add("open"),w._input.classList.add("active"),ve("onOpen"),se(n)),!0===w.config.enableTime&&!0===w.config.noCalendar&&(!1!==w.config.allowInput||void 0!==e&&w.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return w.hourElement.select()}),50))}},w.redraw=de,w.set=function(e,n){if(null!==e&&"object"==typeof e)for(var a in Object.assign(w.config,e),e)void 0!==me[a]&&me[a].forEach((function(e){return e()}));else w.config[e]=n,void 0!==me[e]?me[e].forEach((function(e){return e()})):t.indexOf(e)>-1&&(w.config[e]=c(n));w.redraw(),Me(!0)},w.setDate=function(e,n,t){if(void 0===n&&(n=!1),void 0===t&&(t=w.config.dateFormat),0!==e&&!e||e instanceof Array&&0===e.length)return w.clear(n);ge(e,t),w.latestSelectedDateObj=w.selectedDates[w.selectedDates.length-1],w.redraw(),Y(void 0,n),O(),0===w.selectedDates.length&&w.clear(!1),Me(n),n&&ve("onChange")},w.toggle=function(e){if(!0===w.isOpen)return w.close();w.open(e)};var me={locale:[ce,z],showMonths:[q,I,V],minDate:[Y],maxDate:[Y],positionElement:[he],clickOpens:[function(){!0===w.config.clickOpens?(N(w._input,"focus",w.open),N(w._input,"click",w.open)):(w._input.removeEventListener("focus",w.open),w._input.removeEventListener("click",w.open))}]};function ge(e,n){var t=[];if(e instanceof Array)t=e.map((function(e){return w.parseDate(e,n)}));else if(e instanceof Date||"number"==typeof e)t=[w.parseDate(e,n)];else if("string"==typeof e)switch(w.config.mode){case"single":case"time":t=[w.parseDate(e,n)];break;case"multiple":t=e.split(w.config.conjunction).map((function(e){return w.parseDate(e,n)}));break;case"range":t=e.split(w.l10n.rangeSeparator).map((function(e){return w.parseDate(e,n)}))}else w.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));w.selectedDates=w.config.allowInvalidPreload?t:t.filter((function(e){return e instanceof Date&&ee(e,!1)})),"range"===w.config.mode&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()}))}function pe(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?w.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:w.parseDate(e.from,void 0),to:w.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function he(){w._positionElement=w.config.positionElement||w._input}function ve(e,n){if(void 0!==w.config){var t=w.config[e];if(void 0!==t&&t.length>0)for(var a=0;t[a]&&a<t.length;a++)t[a](w.selectedDates,w.input.value,w,n);"onChange"===e&&(w.input.dispatchEvent(De("change")),w.input.dispatchEvent(De("input")))}}function De(e){var n=document.createEvent("Event");return n.initEvent(e,!0,!0),n}function we(e){for(var n=0;n<w.selectedDates.length;n++){var t=w.selectedDates[n];if(t instanceof Date&&0===M(t,e))return""+n}return!1}function be(){w.config.noCalendar||w.isMobile||!w.monthNav||(w.yearElements.forEach((function(e,n){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),w.config.showMonths>1||"static"===w.config.monthSelectorType?w.monthElements[n].textContent=h(t.getMonth(),w.config.shorthandCurrentMonth,w.l10n)+" ":w.monthsDropdownContainer.value=t.getMonth().toString(),e.value=t.getFullYear().toString()})),w._hidePrevMonthArrow=void 0!==w.config.minDate&&(w.currentYear===w.config.minDate.getFullYear()?w.currentMonth<=w.config.minDate.getMonth():w.currentYear<w.config.minDate.getFullYear()),w._hideNextMonthArrow=void 0!==w.config.maxDate&&(w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth+1>w.config.maxDate.getMonth():w.currentYear>w.config.maxDate.getFullYear()))}function Ce(e){var n=e||(w.config.altInput?w.config.altFormat:w.config.dateFormat);return w.selectedDates.map((function(e){return w.formatDate(e,n)})).filter((function(e,n,t){return"range"!==w.config.mode||w.config.enableTime||t.indexOf(e)===n})).join("range"!==w.config.mode?w.config.conjunction:w.l10n.rangeSeparator)}function Me(e){void 0===e&&(e=!0),void 0!==w.mobileInput&&w.mobileFormatStr&&(w.mobileInput.value=void 0!==w.latestSelectedDateObj?w.formatDate(w.latestSelectedDateObj,w.mobileFormatStr):""),w.input.value=Ce(w.config.dateFormat),void 0!==w.altInput&&(w.altInput.value=Ce(w.config.altFormat)),!1!==e&&ve("onValueUpdate")}function ye(e){var n=g(e),t=w.prevMonthNav.contains(n),a=w.nextMonthNav.contains(n);t||a?G(t?-1:1):w.yearElements.indexOf(n)>=0?n.select():n.classList.contains("arrowUp")?w.changeYear(w.currentYear+1):n.classList.contains("arrowDown")&&w.changeYear(w.currentYear-1)}return function(){w.element=w.input=p,w.isOpen=!1,function(){var n=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e(e({},JSON.parse(JSON.stringify(p.dataset||{}))),v),o={};w.config.parseDate=i.parseDate,w.config.formatDate=i.formatDate,Object.defineProperty(w.config,"enable",{get:function(){return w.config._enable},set:function(e){w.config._enable=pe(e)}}),Object.defineProperty(w.config,"disable",{get:function(){return w.config._disable},set:function(e){w.config._disable=pe(e)}});var r="time"===i.mode;if(!i.dateFormat&&(i.enableTime||r)){var l=T.defaultConfig.dateFormat||a.dateFormat;o.dateFormat=i.noCalendar||r?"H:i"+(i.enableSeconds?":S":""):l+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||r)&&!i.altFormat){var s=T.defaultConfig.altFormat||a.altFormat;o.altFormat=i.noCalendar||r?"h:i"+(i.enableSeconds?":S K":" K"):s+" h:i"+(i.enableSeconds?":S":"")+" K"}Object.defineProperty(w.config,"minDate",{get:function(){return w.config._minDate},set:re("min")}),Object.defineProperty(w.config,"maxDate",{get:function(){return w.config._maxDate},set:re("max")});var d=function(e){return function(n){w.config["min"===e?"_minTime":"_maxTime"]=w.parseDate(n,"H:i:S")}};Object.defineProperty(w.config,"minTime",{get:function(){return w.config._minTime},set:d("min")}),Object.defineProperty(w.config,"maxTime",{get:function(){return w.config._maxTime},set:d("max")}),"time"===i.mode&&(w.config.noCalendar=!0,w.config.enableTime=!0),Object.assign(w.config,o,i);for(var u=0;u<n.length;u++)w.config[n[u]]=!0===w.config[n[u]]||"true"===w.config[n[u]];for(t.filter((function(e){return void 0!==w.config[e]})).forEach((function(e){w.config[e]=c(w.config[e]||[]).map(k)})),w.isMobile=!w.config.disableMobile&&!w.config.inline&&"single"===w.config.mode&&!w.config.disable.length&&!w.config.enable&&!w.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),u=0;u<w.config.plugins.length;u++){var f=w.config.plugins[u](w)||{};for(var m in f)t.indexOf(m)>-1?w.config[m]=c(f[m]).map(k).concat(w.config[m]):void 0===i[m]&&(w.config[m]=f[m])}i.altInputClass||(w.config.altInputClass=le().className+" "+w.config.altInputClass),ve("onParseConfig")}(),ce(),w.input=le(),w.input?(w.input._type=w.input.type,w.input.type="text",w.input.classList.add("flatpickr-input"),w._input=w.input,w.config.altInput&&(w.altInput=d(w.input.nodeName,w.config.altInputClass),w._input=w.altInput,w.altInput.placeholder=w.input.placeholder,w.altInput.disabled=w.input.disabled,w.altInput.required=w.input.required,w.altInput.tabIndex=w.input.tabIndex,w.altInput.type="text",w.input.setAttribute("type","hidden"),!w.config.static&&w.input.parentNode&&w.input.parentNode.insertBefore(w.altInput,w.input.nextSibling)),w.config.allowInput||w._input.setAttribute("readonly","readonly"),he()):w.config.errorHandler(new Error("Invalid input element specified")),function(){w.selectedDates=[],w.now=w.parseDate(w.config.now)||new Date;var e=w.config.defaultDate||("INPUT"!==w.input.nodeName&&"TEXTAREA"!==w.input.nodeName||!w.input.placeholder||w.input.value!==w.input.placeholder?w.input.value:null);e&&ge(e,w.config.dateFormat),w._initialDate=w.selectedDates.length>0?w.selectedDates[0]:w.config.minDate&&w.config.minDate.getTime()>w.now.getTime()?w.config.minDate:w.config.maxDate&&w.config.maxDate.getTime()<w.now.getTime()?w.config.maxDate:w.now,w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth(),w.selectedDates.length>0&&(w.latestSelectedDateObj=w.selectedDates[0]),void 0!==w.config.minTime&&(w.config.minTime=w.parseDate(w.config.minTime,"H:i")),void 0!==w.config.maxTime&&(w.config.maxTime=w.parseDate(w.config.maxTime,"H:i")),w.minDateHasTime=!!w.config.minDate&&(w.config.minDate.getHours()>0||w.config.minDate.getMinutes()>0||w.config.minDate.getSeconds()>0),w.maxDateHasTime=!!w.config.maxDate&&(w.config.maxDate.getHours()>0||w.config.maxDate.getMinutes()>0||w.config.maxDate.getSeconds()>0)}(),w.utils={getDaysInMonth:function(e,n){return void 0===e&&(e=w.currentMonth),void 0===n&&(n=w.currentYear),1===e&&(n%4==0&&n%100!=0||n%400==0)?29:w.l10n.daysInMonth[e]}},w.isMobile||function(){var e=window.document.createDocumentFragment();if(w.calendarContainer=d("div","flatpickr-calendar"),w.calendarContainer.tabIndex=-1,!w.config.noCalendar){if(e.appendChild((w.monthNav=d("div","flatpickr-months"),w.yearElements=[],w.monthElements=[],w.prevMonthNav=d("span","flatpickr-prev-month"),w.prevMonthNav.innerHTML=w.config.prevArrow,w.nextMonthNav=d("span","flatpickr-next-month"),w.nextMonthNav.innerHTML=w.config.nextArrow,q(),Object.defineProperty(w,"_hidePrevMonthArrow",{get:function(){return w.__hidePrevMonthArrow},set:function(e){w.__hidePrevMonthArrow!==e&&(s(w.prevMonthNav,"flatpickr-disabled",e),w.__hidePrevMonthArrow=e)}}),Object.defineProperty(w,"_hideNextMonthArrow",{get:function(){return w.__hideNextMonthArrow},set:function(e){w.__hideNextMonthArrow!==e&&(s(w.nextMonthNav,"flatpickr-disabled",e),w.__hideNextMonthArrow=e)}}),w.currentYearElement=w.yearElements[0],be(),w.monthNav)),w.innerContainer=d("div","flatpickr-innerContainer"),w.config.weekNumbers){var n=function(){w.calendarContainer.classList.add("hasWeeks");var e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",w.l10n.weekAbbreviation));var n=d("div","flatpickr-weeks");return e.appendChild(n),{weekWrapper:e,weekNumbers:n}}(),t=n.weekWrapper,a=n.weekNumbers;w.innerContainer.appendChild(t),w.weekNumbers=a,w.weekWrapper=t}w.rContainer=d("div","flatpickr-rContainer"),w.rContainer.appendChild(V()),w.daysContainer||(w.daysContainer=d("div","flatpickr-days"),w.daysContainer.tabIndex=-1),K(),w.rContainer.appendChild(w.daysContainer),w.innerContainer.appendChild(w.rContainer),e.appendChild(w.innerContainer)}w.config.enableTime&&e.appendChild(function(){w.calendarContainer.classList.add("hasTime"),w.config.noCalendar&&w.calendarContainer.classList.add("noCalendar");var e=x(w.config);w.timeContainer=d("div","flatpickr-time"),w.timeContainer.tabIndex=-1;var n=d("span","flatpickr-time-separator",":"),t=m("flatpickr-hour",{"aria-label":w.l10n.hourAriaLabel});w.hourElement=t.getElementsByTagName("input")[0];var a=m("flatpickr-minute",{"aria-label":w.l10n.minuteAriaLabel});if(w.minuteElement=a.getElementsByTagName("input")[0],w.hourElement.tabIndex=w.minuteElement.tabIndex=-1,w.hourElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getHours():w.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),w.minuteElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getMinutes():e.minutes),w.hourElement.setAttribute("step",w.config.hourIncrement.toString()),w.minuteElement.setAttribute("step",w.config.minuteIncrement.toString()),w.hourElement.setAttribute("min",w.config.time_24hr?"0":"1"),w.hourElement.setAttribute("max",w.config.time_24hr?"23":"12"),w.hourElement.setAttribute("maxlength","2"),w.minuteElement.setAttribute("min","0"),w.minuteElement.setAttribute("max","59"),w.minuteElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(t),w.timeContainer.appendChild(n),w.timeContainer.appendChild(a),w.config.time_24hr&&w.timeContainer.classList.add("time24hr"),w.config.enableSeconds){w.timeContainer.classList.add("hasSeconds");var i=m("flatpickr-second");w.secondElement=i.getElementsByTagName("input")[0],w.secondElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getSeconds():e.seconds),w.secondElement.setAttribute("step",w.minuteElement.getAttribute("step")),w.secondElement.setAttribute("min","0"),w.secondElement.setAttribute("max","59"),w.secondElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),w.timeContainer.appendChild(i)}return w.config.time_24hr||(w.amPM=d("span","flatpickr-am-pm",w.l10n.amPM[r((w.latestSelectedDateObj?w.hourElement.value:w.config.defaultHour)>11)]),w.amPM.title=w.l10n.toggleTitle,w.amPM.tabIndex=-1,w.timeContainer.appendChild(w.amPM)),w.timeContainer}()),s(w.calendarContainer,"rangeMode","range"===w.config.mode),s(w.calendarContainer,"animate",!0===w.config.animate),s(w.calendarContainer,"multiMonth",w.config.showMonths>1),w.calendarContainer.appendChild(e);var i=void 0!==w.config.appendTo&&void 0!==w.config.appendTo.nodeType;if((w.config.inline||w.config.static)&&(w.calendarContainer.classList.add(w.config.inline?"inline":"static"),w.config.inline&&(!i&&w.element.parentNode?w.element.parentNode.insertBefore(w.calendarContainer,w._input.nextSibling):void 0!==w.config.appendTo&&w.config.appendTo.appendChild(w.calendarContainer)),w.config.static)){var l=d("div","flatpickr-wrapper");w.element.parentNode&&w.element.parentNode.insertBefore(l,w.element),l.appendChild(w.element),w.altInput&&l.appendChild(w.altInput),l.appendChild(w.calendarContainer)}w.config.static||w.config.inline||(void 0!==w.config.appendTo?w.config.appendTo:window.document.body).appendChild(w.calendarContainer)}(),function(){if(w.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(w.element.querySelectorAll("[data-"+e+"]"),(function(n){return N(n,"click",w[e])}))})),w.isMobile)!function(){var e=w.config.enableTime?w.config.noCalendar?"time":"datetime-local":"date";w.mobileInput=d("input",w.input.className+" flatpickr-mobile"),w.mobileInput.tabIndex=1,w.mobileInput.type=e,w.mobileInput.disabled=w.input.disabled,w.mobileInput.required=w.input.required,w.mobileInput.placeholder=w.input.placeholder,w.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",w.selectedDates.length>0&&(w.mobileInput.defaultValue=w.mobileInput.value=w.formatDate(w.selectedDates[0],w.mobileFormatStr)),w.config.minDate&&(w.mobileInput.min=w.formatDate(w.config.minDate,"Y-m-d")),w.config.maxDate&&(w.mobileInput.max=w.formatDate(w.config.maxDate,"Y-m-d")),w.input.getAttribute("step")&&(w.mobileInput.step=String(w.input.getAttribute("step"))),w.input.type="hidden",void 0!==w.altInput&&(w.altInput.type="hidden");try{w.input.parentNode&&w.input.parentNode.insertBefore(w.mobileInput,w.input.nextSibling)}catch(e){}N(w.mobileInput,"change",(function(e){w.setDate(g(e).value,!1,w.mobileFormatStr),ve("onChange"),ve("onClose")}))}();else{var e=l(oe,50);w._debouncedChange=l(P,300),w.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&N(w.daysContainer,"mouseover",(function(e){"range"===w.config.mode&&ie(g(e))})),N(w._input,"keydown",ae),void 0!==w.calendarContainer&&N(w.calendarContainer,"keydown",ae),w.config.inline||w.config.static||N(window,"resize",e),void 0!==window.ontouchstart?N(window.document,"touchstart",Q):N(window.document,"mousedown",Q),N(window.document,"focus",Q,{capture:!0}),!0===w.config.clickOpens&&(N(w._input,"focus",w.open),N(w._input,"click",w.open)),void 0!==w.daysContainer&&(N(w.monthNav,"click",ye),N(w.monthNav,["keyup","increment"],A),N(w.daysContainer,"click",fe)),void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement&&(N(w.timeContainer,["increment"],S),N(w.timeContainer,"blur",S,{capture:!0}),N(w.timeContainer,"click",j),N([w.hourElement,w.minuteElement],["focus","click"],(function(e){return g(e).select()})),void 0!==w.secondElement&&N(w.secondElement,"focus",(function(){return w.secondElement&&w.secondElement.select()})),void 0!==w.amPM&&N(w.amPM,"click",(function(e){S(e)}))),w.config.allowInput&&N(w._input,"blur",te)}}(),(w.selectedDates.length||w.config.noCalendar)&&(w.config.enableTime&&O(w.config.noCalendar?w.latestSelectedDateObj:void 0),Me(!1)),I();var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!w.isMobile&&n&&se(),ve("onReady")}(),w}function k(e,n){for(var t=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),a=[],i=0;i<t.length;i++){var o=t[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=E(o,n||{}),a.push(o._flatpickr)}catch(e){console.error(e)}}return 1===a.length?a[0]:a}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var a=function(n){n&&Object.keys(n).forEach((function(t){return e[t]=n[t]}))},i=0,o=n;i<o.length;i++){var r=o[i];a(r)}return e}),"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return k(this,e)},HTMLElement.prototype.flatpickr=function(e){return k([this],e)});var T=function(e,n){return"string"==typeof e?k(window.document.querySelectorAll(e),n):e instanceof Node?k([e],n):k(e,n)};return T.defaultConfig={},T.l10ns={en:e({},i),default:e({},i)},T.localize=function(n){T.l10ns.default=e(e({},T.l10ns.default),n)},T.setDefaults=function(n){T.defaultConfig=e(e({},T.defaultConfig),n)},T.parseDate=C({}),T.formatDate=b({}),T.compareDates=M,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return k(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=T),T}));
1
+ /* flatpickr v4.6.11,, @license MIT */
2
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=n()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var n,t=1,a=arguments.length;t<a;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function n(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var a=Array(e),i=0;for(n=0;n<t;n++)for(var o=arguments[n],r=0,l=o.length;r<l;r++,i++)a[i]=o[r];return a}var t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],a={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var n=new Date(e.getTime());n.setHours(0,0,0,0),n.setDate(n.getDate()+3-(n.getDay()+6)%7);var t=new Date(n.getFullYear(),0,4);return 1+Math.round(((n.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},i={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var n=e%100;if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},o=function(e,n){return void 0===n&&(n=2),("000"+e).slice(-1*n)},r=function(e){return!0===e?1:0};function l(e,n){var t;return function(){var a=this,i=arguments;clearTimeout(t),t=setTimeout((function(){return e.apply(a,i)}),n)}}var c=function(e){return e instanceof Array?e:[e]};function s(e,n,t){if(!0===t)return e.classList.add(n);e.classList.remove(n)}function d(e,n,t){var a=window.document.createElement(e);return n=n||"",t=t||"",a.className=n,void 0!==t&&(a.textContent=t),a}function u(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e,n){return n(e)?e:e.parentNode?f(e.parentNode,n):void 0}function m(e,n){var t=d("div","numInputWrapper"),a=d("input","numInput "+e),i=d("span","arrowUp"),o=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?a.type="number":(a.type="text",a.pattern="\\d*"),void 0!==n)for(var r in n)a.setAttribute(r,n[r]);return t.appendChild(a),t.appendChild(i),t.appendChild(o),t}function g(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(n){return e.target}}var p=function(){},h=function(e,n,t){return t.months[n?"shorthand":"longhand"][e]},v={D:p,F:function(e,n,t){e.setMonth(t.months.longhand.indexOf(n))},G:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},H:function(e,n){e.setHours(parseFloat(n))},J:function(e,n){e.setDate(parseFloat(n))},K:function(e,n,t){e.setHours(e.getHours()%12+12*r(new RegExp(t.amPM[1],"i").test(n)))},M:function(e,n,t){e.setMonth(t.months.shorthand.indexOf(n))},S:function(e,n){e.setSeconds(parseFloat(n))},U:function(e,n){return new Date(1e3*parseFloat(n))},W:function(e,n,t){var a=parseInt(n),i=new Date(e.getFullYear(),0,2+7*(a-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+t.firstDayOfWeek),i},Y:function(e,n){e.setFullYear(parseFloat(n))},Z:function(e,n){return new Date(n)},d:function(e,n){e.setDate(parseFloat(n))},h:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},i:function(e,n){e.setMinutes(parseFloat(n))},j:function(e,n){e.setDate(parseFloat(n))},l:p,m:function(e,n){e.setMonth(parseFloat(n)-1)},n:function(e,n){e.setMonth(parseFloat(n)-1)},s:function(e,n){e.setSeconds(parseFloat(n))},u:function(e,n){return new Date(parseFloat(n))},w:p,y:function(e,n){e.setFullYear(2e3+parseFloat(n))}},D={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},w={Z:function(e){return e.toISOString()},D:function(e,n,t){return n.weekdays.shorthand[w.w(e,n,t)]},F:function(e,n,t){return h(w.n(e,n,t)-1,!1,n)},G:function(e,n,t){return o(w.h(e,n,t))},H:function(e){return o(e.getHours())},J:function(e,n){return void 0!==n.ordinal?e.getDate()+n.ordinal(e.getDate()):e.getDate()},K:function(e,n){return n.amPM[r(e.getHours()>11)]},M:function(e,n){return h(e.getMonth(),!0,n)},S:function(e){return o(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,n,t){return t.getWeek(e)},Y:function(e){return o(e.getFullYear(),4)},d:function(e){return o(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return o(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,n){return n.weekdays.longhand[e.getDay()]},m:function(e){return o(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},b=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o,l=e.isMobile,c=void 0!==l&&l;return function(e,n,a){var i=a||r;return void 0===t.formatDate||c?n.split("").map((function(n,a,o){return w[n]&&"\\"!==o[a-1]?w[n](e,i,t):"\\"!==n?n:""})).join(""):t.formatDate(e,n,i)}},C=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o;return function(e,n,i,o){if(0===e||e){var l,c=o||r,s=e;if(e instanceof Date)l=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)l=new Date(e);else if("string"==typeof e){var d=n||(t||a).dateFormat,u=String(e).trim();if("today"===u)l=new Date,i=!0;else if(t&&t.parseDate)l=t.parseDate(e,d);else if(/Z$/.test(u)||/GMT$/.test(u))l=new Date(e);else{for(var f=void 0,m=[],g=0,p=0,h="";g<d.length;g++){var w=d[g],b="\\"===w,C="\\"===d[g-1]||b;if(D[w]&&!C){h+=D[w];var M=new RegExp(h).exec(e);M&&(f=!0)&&m["Y"!==w?"push":"unshift"]({fn:v[w],val:M[++p]})}else b||(h+=".")}l=t&&t.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),m.forEach((function(e){var n=e.fn,t=e.val;return l=n(l,t,c)||l})),l=f?l:void 0}}if(l instanceof Date&&!isNaN(l.getTime()))return!0===i&&l.setHours(0,0,0,0),l;t.errorHandler(new Error("Invalid date provided: "+s))}}};function M(e,n,t){return void 0===t&&(t=!0),!1!==t?new Date(e.getTime()).setHours(0,0,0,0)-new Date(n.getTime()).setHours(0,0,0,0):e.getTime()-n.getTime()}var y=function(e,n,t){return 3600*e+60*n+t};function x(e){var n=e.defaultHour,t=e.defaultMinute,a=e.defaultSeconds;if(void 0!==e.minDate){var i=e.minDate.getHours(),o=e.minDate.getMinutes(),r=e.minDate.getSeconds();n<i&&(n=i),n===i&&t<o&&(t=o),n===i&&t===o&&a<r&&(a=e.minDate.getSeconds())}if(void 0!==e.maxDate){var l=e.maxDate.getHours(),c=e.maxDate.getMinutes();(n=Math.min(n,l))===l&&(t=Math.min(c,t)),n===l&&t===c&&(a=e.maxDate.getSeconds())}return{hours:n,minutes:t,seconds:a}}function E(p,v){var w={config:e(e({},a),T.defaultConfig),l10n:i};function E(){var e;return(null===(e=w.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function k(e){return e.bind(w)}function I(){var e=w.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==w.calendarContainer&&(w.calendarContainer.style.visibility="hidden",w.calendarContainer.style.display="block"),void 0!==w.daysContainer){var n=(w.days.offsetWidth+1)*e.showMonths;w.daysContainer.style.width=n+"px",w.calendarContainer.style.width=n+(void 0!==w.weekWrapper?w.weekWrapper.offsetWidth:0)+"px",w.calendarContainer.style.removeProperty("visibility"),w.calendarContainer.style.removeProperty("display")}}))}function S(e){if(0===w.selectedDates.length){var n=void 0===w.config.minDate||M(new Date,w.config.minDate)>=0?new Date:new Date(w.config.minDate.getTime()),t=x(w.config);n.setHours(t.hours,t.minutes,t.seconds,n.getMilliseconds()),w.selectedDates=[n],w.latestSelectedDateObj=n}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var n="keydown"===e.type,t=g(e),a=t;void 0!==w.amPM&&t===w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]);var i=parseFloat(a.getAttribute("min")),l=parseFloat(a.getAttribute("max")),c=parseFloat(a.getAttribute("step")),s=parseInt(a.value,10),d=s+c*(e.delta||(n?38===e.which?1:-1:0));if(void 0!==a.value&&2===a.value.length){var u=a===w.hourElement,f=a===w.minuteElement;d<i?(d=l+d+r(!u)+(r(u)&&r(!w.amPM)),f&&H(void 0,-1,w.hourElement)):d>l&&(d=a===w.hourElement?d-l-r(!w.amPM):i,f&&H(void 0,1,w.hourElement)),w.amPM&&u&&(1===c?d+s===23:Math.abs(d-s)>c)&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]),a.value=o(d)}}(e);var a=w._input.value;_(),Me(),w._input.value!==a&&w._debouncedChange()}function _(){if(void 0!==w.hourElement&&void 0!==w.minuteElement){var e,n,t=(parseInt(w.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(w.minuteElement.value,10)||0)%60,i=void 0!==w.secondElement?(parseInt(w.secondElement.value,10)||0)%60:0;void 0!==w.amPM&&(e=t,n=w.amPM.textContent,t=e%12+12*r(n===w.l10n.amPM[1]));var o=void 0!==w.config.minTime||w.config.minDate&&w.minDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.minDate,!0),l=void 0!==w.config.maxTime||w.config.maxDate&&w.maxDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.maxDate,!0);if(void 0!==w.config.maxTime&&void 0!==w.config.minTime&&w.config.minTime>w.config.maxTime){var c=y(w.config.minTime.getHours(),w.config.minTime.getMinutes(),w.config.minTime.getSeconds()),s=y(w.config.maxTime.getHours(),w.config.maxTime.getMinutes(),w.config.maxTime.getSeconds()),d=y(t,a,i);if(d>s&&d<c){var u=function(e){var n=Math.floor(e/3600),t=(e-3600*n)/60;return[n,t,e-3600*n-60*t]}(c);t=u[0],a=u[1],i=u[2]}}else{if(l){var f=void 0!==w.config.maxTime?w.config.maxTime:w.config.maxDate;(t=Math.min(t,f.getHours()))===f.getHours()&&(a=Math.min(a,f.getMinutes())),a===f.getMinutes()&&(i=Math.min(i,f.getSeconds()))}if(o){var m=void 0!==w.config.minTime?w.config.minTime:w.config.minDate;(t=Math.max(t,m.getHours()))===m.getHours()&&a<m.getMinutes()&&(a=m.getMinutes()),a===m.getMinutes()&&(i=Math.max(i,m.getSeconds()))}}F(t,a,i)}}function O(e){var n=e||w.latestSelectedDateObj;n&&n instanceof Date&&F(n.getHours(),n.getMinutes(),n.getSeconds())}function F(e,n,t){void 0!==w.latestSelectedDateObj&&w.latestSelectedDateObj.setHours(e%24,n,t||0,0),w.hourElement&&w.minuteElement&&!w.isMobile&&(w.hourElement.value=o(w.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),w.minuteElement.value=o(n),void 0!==w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(e>=12)]),void 0!==w.secondElement&&(w.secondElement.value=o(t)))}function A(e){var n=g(e),t=parseInt(n.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&X(t)}function N(e,n,t,a){return n instanceof Array?n.forEach((function(n){return N(e,n,t,a)})):e instanceof Array?e.forEach((function(e){return N(e,n,t,a)})):(e.addEventListener(n,t,a),void w._handlers.push({remove:function(){return e.removeEventListener(n,t,a)}}))}function P(){ve("onChange")}function Y(e,n){var t=void 0!==e?w.parseDate(e):w.latestSelectedDateObj||(w.config.minDate&&w.config.minDate>w.now?w.config.minDate:w.config.maxDate&&w.config.maxDate<w.now?w.config.maxDate:w.now),a=w.currentYear,i=w.currentMonth;try{void 0!==t&&(w.currentYear=t.getFullYear(),w.currentMonth=t.getMonth())}catch(e){e.message="Invalid date supplied: "+t,w.config.errorHandler(e)}n&&w.currentYear!==a&&(ve("onYearChange"),U()),!n||w.currentYear===a&&w.currentMonth===i||ve("onMonthChange"),w.redraw()}function j(e){var n=g(e);~n.className.indexOf("arrow")&&H(e,n.classList.contains("arrowUp")?1:-1)}function H(e,n,t){var a=e&&g(e),i=t||a&&a.parentNode&&a.parentNode.firstChild,o=De("increment");o.delta=n,i&&i.dispatchEvent(o)}function L(e,n,t,a){var i=ee(n,!0),o=d("span",e,n.getDate().toString());return o.dateObj=n,o.$i=a,o.setAttribute("aria-label",w.formatDate(n,w.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===M(n,w.now)&&(w.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,we(n)&&(o.classList.add("selected"),w.selectedDateElem=o,"range"===w.config.mode&&(s(o,"startRange",w.selectedDates[0]&&0===M(n,w.selectedDates[0],!0)),s(o,"endRange",w.selectedDates[1]&&0===M(n,w.selectedDates[1],!0)),"nextMonthDay"===e&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===w.config.mode&&function(e){return!("range"!==w.config.mode||w.selectedDates.length<2)&&M(e,w.selectedDates[0])>=0&&M(e,w.selectedDates[1])<=0}(n)&&!we(n)&&o.classList.add("inRange"),w.weekNumbers&&1===w.config.showMonths&&"prevMonthDay"!==e&&t%7==1&&w.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+w.config.getWeek(n)+"</span>"),ve("onDayCreate",o),o}function R(e){e.focus(),"range"===w.config.mode&&ie(e)}function W(e){for(var n=e>0?0:w.config.showMonths-1,t=e>0?w.config.showMonths:-1,a=n;a!=t;a+=e)for(var i=w.daysContainer.children[a],o=e>0?0:i.children.length-1,r=e>0?i.children.length:-1,l=o;l!=r;l+=e){var c=i.children[l];if(-1===c.className.indexOf("hidden")&&ee(c.dateObj))return c}}function B(e,n){var t=E(),a=ne(t||document.body),i=void 0!==e?e:a?t:void 0!==w.selectedDateElem&&ne(w.selectedDateElem)?w.selectedDateElem:void 0!==w.todayDateElem&&ne(w.todayDateElem)?w.todayDateElem:W(n>0?1:-1);void 0===i?w._input.focus():a?function(e,n){for(var t=-1===e.className.indexOf("Month")?e.dateObj.getMonth():w.currentMonth,a=n>0?w.config.showMonths:-1,i=n>0?1:-1,o=t-w.currentMonth;o!=a;o+=i)for(var r=w.daysContainer.children[o],l=t-w.currentMonth===o?e.$i+n:n<0?r.children.length-1:0,c=r.children.length,s=l;s>=0&&s<c&&s!=(n>0?c:-1);s+=i){var d=r.children[s];if(-1===d.className.indexOf("hidden")&&ee(d.dateObj)&&Math.abs(e.$i-s)>=Math.abs(n))return R(d)}w.changeMonth(i),B(W(i),0)}(i,n):R(i)}function J(e,n){for(var t=(new Date(e,n,1).getDay()-w.l10n.firstDayOfWeek+7)%7,a=w.utils.getDaysInMonth((n-1+12)%12,e),i=w.utils.getDaysInMonth(n,e),o=window.document.createDocumentFragment(),r=w.config.showMonths>1,l=r?"prevMonthDay hidden":"prevMonthDay",c=r?"nextMonthDay hidden":"nextMonthDay",s=a+1-t,u=0;s<=a;s++,u++)o.appendChild(L("flatpickr-day "+l,new Date(e,n-1,s),s,u));for(s=1;s<=i;s++,u++)o.appendChild(L("flatpickr-day",new Date(e,n,s),s,u));for(var f=i+1;f<=42-t&&(1===w.config.showMonths||u%7!=0);f++,u++)o.appendChild(L("flatpickr-day "+c,new Date(e,n+1,f%i),f,u));var m=d("div","dayContainer");return m.appendChild(o),m}function K(){if(void 0!==w.daysContainer){u(w.daysContainer),w.weekNumbers&&u(w.weekNumbers);for(var e=document.createDocumentFragment(),n=0;n<w.config.showMonths;n++){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),e.appendChild(J(t.getFullYear(),t.getMonth()))}w.daysContainer.appendChild(e),w.days=w.daysContainer.firstChild,"range"===w.config.mode&&1===w.selectedDates.length&&ie()}}function U(){if(!(w.config.showMonths>1||"dropdown"!==w.config.monthSelectorType)){var e=function(e){return!(void 0!==w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&e<w.config.minDate.getMonth()||void 0!==w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()&&e>w.config.maxDate.getMonth())};w.monthsDropdownContainer.tabIndex=-1,w.monthsDropdownContainer.innerHTML="";for(var n=0;n<12;n++)if(e(n)){var t=d("option","flatpickr-monthDropdown-month");t.value=new Date(w.currentYear,n).getMonth().toString(),t.textContent=h(n,w.config.shorthandCurrentMonth,w.l10n),t.tabIndex=-1,w.currentMonth===n&&(t.selected=!0),w.monthsDropdownContainer.appendChild(t)}}}function $(){var e,n=d("div","flatpickr-month"),t=window.document.createDocumentFragment();w.config.showMonths>1||"static"===w.config.monthSelectorType?e=d("span","cur-month"):(w.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),w.monthsDropdownContainer.setAttribute("aria-label",w.l10n.monthAriaLabel),N(w.monthsDropdownContainer,"change",(function(e){var n=g(e),t=parseInt(n.value,10);w.changeMonth(t-w.currentMonth),ve("onMonthChange")})),U(),e=w.monthsDropdownContainer);var a=m("cur-year",{tabindex:"-1"}),i=a.getElementsByTagName("input")[0];i.setAttribute("aria-label",w.l10n.yearAriaLabel),w.config.minDate&&i.setAttribute("min",w.config.minDate.getFullYear().toString()),w.config.maxDate&&(i.setAttribute("max",w.config.maxDate.getFullYear().toString()),i.disabled=!!w.config.minDate&&w.config.minDate.getFullYear()===w.config.maxDate.getFullYear());var o=d("div","flatpickr-current-month");return o.appendChild(e),o.appendChild(a),t.appendChild(o),n.appendChild(t),{container:n,yearElement:i,monthElement:e}}function q(){u(w.monthNav),w.monthNav.appendChild(w.prevMonthNav),w.config.showMonths&&(w.yearElements=[],w.monthElements=[]);for(var e=w.config.showMonths;e--;){var n=$();w.yearElements.push(n.yearElement),w.monthElements.push(n.monthElement),w.monthNav.appendChild(n.container)}w.monthNav.appendChild(w.nextMonthNav)}function V(){w.weekdayContainer?u(w.weekdayContainer):w.weekdayContainer=d("div","flatpickr-weekdays");for(var e=w.config.showMonths;e--;){var n=d("div","flatpickr-weekdaycontainer");w.weekdayContainer.appendChild(n)}return z(),w.weekdayContainer}function z(){if(w.weekdayContainer){var e=w.l10n.firstDayOfWeek,t=n(w.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=n(t.splice(e,t.length),t.splice(0,e)));for(var a=w.config.showMonths;a--;)w.weekdayContainer.children[a].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function G(e,n){void 0===n&&(n=!0);var t=n?e:e-w.currentMonth;t<0&&!0===w._hidePrevMonthArrow||t>0&&!0===w._hideNextMonthArrow||(w.currentMonth+=t,(w.currentMonth<0||w.currentMonth>11)&&(w.currentYear+=w.currentMonth>11?1:-1,w.currentMonth=(w.currentMonth+12)%12,ve("onYearChange"),U()),K(),ve("onMonthChange"),be())}function Z(e){return w.calendarContainer.contains(e)}function Q(e){if(w.isOpen&&!w.config.inline){var n=g(e),t=Z(n),a=!(n===w.input||n===w.altInput||w.element.contains(n)||e.path&&e.path.indexOf&&(~e.path.indexOf(w.input)||~e.path.indexOf(w.altInput))||t||Z(e.relatedTarget)),i=!w.config.ignoredFocusElements.some((function(e){return e.contains(n)}));a&&i&&(w.config.allowInput&&w.setDate(w._input.value,!1,w.config.altInput?w.config.altFormat:w.config.dateFormat),void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement&&""!==w.input.value&&void 0!==w.input.value&&S(),w.close(),w.config&&"range"===w.config.mode&&1===w.selectedDates.length&&w.clear(!1))}}function X(e){if(!(!e||w.config.minDate&&e<w.config.minDate.getFullYear()||w.config.maxDate&&e>w.config.maxDate.getFullYear())){var n=e,t=w.currentYear!==n;w.currentYear=n||w.currentYear,w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth=Math.min(w.config.maxDate.getMonth(),w.currentMonth):w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&(w.currentMonth=Math.max(w.config.minDate.getMonth(),w.currentMonth)),t&&(w.redraw(),ve("onYearChange"),U())}}function ee(e,n){var t;void 0===n&&(n=!0);var a=w.parseDate(e,void 0,n);if(w.config.minDate&&a&&M(a,w.config.minDate,void 0!==n?n:!w.minDateHasTime)<0||w.config.maxDate&&a&&M(a,w.config.maxDate,void 0!==n?n:!w.maxDateHasTime)>0)return!1;if(!w.config.enable&&0===w.config.disable.length)return!0;if(void 0===a)return!1;for(var i=!!w.config.enable,o=null!==(t=w.config.enable)&&void 0!==t?t:w.config.disable,r=0,l=void 0;r<o.length;r++){if("function"==typeof(l=o[r])&&l(a))return i;if(l instanceof Date&&void 0!==a&&l.getTime()===a.getTime())return i;if("string"==typeof l){var c=w.parseDate(l,void 0,!0);return c&&c.getTime()===a.getTime()?i:!i}if("object"==typeof l&&void 0!==a&&l.from&&l.to&&a.getTime()>=l.from.getTime()&&a.getTime()<=l.to.getTime())return i}return!i}function ne(e){return void 0!==w.daysContainer&&-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&w.daysContainer.contains(e)}function te(e){e.target!==w._input||!(w.selectedDates.length>0||w._input.value.length>0)||e.relatedTarget&&Z(e.relatedTarget)||w.setDate(w._input.value,!0,e.target===w.altInput?w.config.altFormat:w.config.dateFormat)}function ae(e){var n=g(e),t=w.config.wrap?p.contains(n):n===w._input,a=w.config.allowInput,i=w.isOpen&&(!a||!t),o=w.config.inline&&t&&!a;if(13===e.keyCode&&t){if(a)return w.setDate(w._input.value,!0,n===w.altInput?w.config.altFormat:w.config.dateFormat),w.close(),n.blur();w.open()}else if(Z(n)||i||o){var r=!!w.timeContainer&&w.timeContainer.contains(n);switch(e.keyCode){case 13:r?(e.preventDefault(),S(),ue()):fe(e);break;case 27:e.preventDefault(),ue();break;case 8:case 46:t&&!w.config.allowInput&&(e.preventDefault(),w.clear());break;case 37:case 39:if(r||t)w.hourElement&&w.hourElement.focus();else{e.preventDefault();var l=E();if(void 0!==w.daysContainer&&(!1===a||l&&ne(l))){var c=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),G(c),B(W(1),0)):B(void 0,c)}}break;case 38:case 40:e.preventDefault();var s=40===e.keyCode?1:-1;w.daysContainer&&void 0!==n.$i||n===w.input||n===w.altInput?e.ctrlKey?(e.stopPropagation(),X(w.currentYear-s),B(W(1),0)):r||B(void 0,7*s):n===w.currentYearElement?X(w.currentYear-s):w.config.enableTime&&(!r&&w.hourElement&&w.hourElement.focus(),S(e),w._debouncedChange());break;case 9:if(r){var d=[w.hourElement,w.minuteElement,w.secondElement,w.amPM].concat(w.pluginElements).filter((function(e){return e})),u=d.indexOf(n);if(-1!==u){var f=d[u+(e.shiftKey?-1:1)];e.preventDefault(),(f||w._input).focus()}}else!w.config.noCalendar&&w.daysContainer&&w.daysContainer.contains(n)&&e.shiftKey&&(e.preventDefault(),w._input.focus())}}if(void 0!==w.amPM&&n===w.amPM)switch(e.key){case w.l10n.amPM[0].charAt(0):case w.l10n.amPM[0].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[0],_(),Me();break;case w.l10n.amPM[1].charAt(0):case w.l10n.amPM[1].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[1],_(),Me()}(t||Z(n))&&ve("onKeyDown",e)}function ie(e,n){if(void 0===n&&(n="flatpickr-day"),1===w.selectedDates.length&&(!e||e.classList.contains(n)&&!e.classList.contains("flatpickr-disabled"))){for(var t=e?e.dateObj.getTime():w.days.firstElementChild.dateObj.getTime(),a=w.parseDate(w.selectedDates[0],void 0,!0).getTime(),i=Math.min(t,w.selectedDates[0].getTime()),o=Math.max(t,w.selectedDates[0].getTime()),r=!1,l=0,c=0,s=i;s<o;s+=864e5)ee(new Date(s),!0)||(r=r||s>i&&s<o,s<a&&(!l||s>l)?l=s:s>a&&(!c||s<c)&&(c=s));Array.from(w.rContainer.querySelectorAll("*:nth-child(-n+"+w.config.showMonths+") > ."+n)).forEach((function(n){var i,o,s,d=n.dateObj.getTime(),u=l>0&&d<l||c>0&&d>c;if(u)return n.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){n.classList.remove(e)}));r&&!u||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){n.classList.remove(e)})),void 0!==e&&(e.classList.add(t<=w.selectedDates[0].getTime()?"startRange":"endRange"),a<t&&d===a?n.classList.add("startRange"):a>t&&d===a&&n.classList.add("endRange"),d>=l&&(0===c||d<=c)&&(o=a,s=t,(i=d)>Math.min(o,s)&&i<Math.max(o,s))&&n.classList.add("inRange")))}))}}function oe(){!w.isOpen||w.config.static||w.config.inline||se()}function re(e){return function(n){var t=w.config["_"+e+"Date"]=w.parseDate(n,w.config.dateFormat),a=w.config["_"+("min"===e?"max":"min")+"Date"];void 0!==t&&(w["min"===e?"minDateHasTime":"maxDateHasTime"]=t.getHours()>0||t.getMinutes()>0||t.getSeconds()>0),w.selectedDates&&(w.selectedDates=w.selectedDates.filter((function(e){return ee(e)})),w.selectedDates.length||"min"!==e||O(t),Me()),w.daysContainer&&(de(),void 0!==t?w.currentYearElement[e]=t.getFullYear().toString():w.currentYearElement.removeAttribute(e),w.currentYearElement.disabled=!!a&&void 0!==t&&a.getFullYear()===t.getFullYear())}}function le(){return w.config.wrap?p.querySelector("[data-input]"):p}function ce(){"object"!=typeof w.config.locale&&void 0===T.l10ns[w.config.locale]&&w.config.errorHandler(new Error("flatpickr: invalid locale "+w.config.locale)),w.l10n=e(e({},T.l10ns.default),"object"==typeof w.config.locale?w.config.locale:"default"!==w.config.locale?T.l10ns[w.config.locale]:void 0),D.D="("+w.l10n.weekdays.shorthand.join("|")+")",D.l="("+w.l10n.weekdays.longhand.join("|")+")",D.M="("+w.l10n.months.shorthand.join("|")+")",D.F="("+w.l10n.months.longhand.join("|")+")",D.K="("+w.l10n.amPM[0]+"|"+w.l10n.amPM[1]+"|"+w.l10n.amPM[0].toLowerCase()+"|"+w.l10n.amPM[1].toLowerCase()+")",void 0===e(e({},v),JSON.parse(JSON.stringify(p.dataset||{}))).time_24hr&&void 0===T.defaultConfig.time_24hr&&(w.config.time_24hr=w.l10n.time_24hr),w.formatDate=b(w),w.parseDate=C({config:w.config,l10n:w.l10n})}function se(e){if("function"!=typeof w.config.position){if(void 0!==w.calendarContainer){ve("onPreCalendarPosition");var n=e||w._positionElement,t=Array.prototype.reduce.call(w.calendarContainer.children,(function(e,n){return e+n.offsetHeight}),0),a=w.calendarContainer.offsetWidth,i=w.config.position.split(" "),o=i[0],r=i.length>1?i[1]:null,l=n.getBoundingClientRect(),c=window.innerHeight-l.bottom,d="above"===o||"below"!==o&&c<t&&l.top>t,u=window.pageYOffset+l.top+(d?-t-2:n.offsetHeight+2);if(s(w.calendarContainer,"arrowTop",!d),s(w.calendarContainer,"arrowBottom",d),!w.config.inline){var f=window.pageXOffset+l.left,m=!1,g=!1;"center"===r?(f-=(a-l.width)/2,m=!0):"right"===r&&(f-=a-l.width,g=!0),s(w.calendarContainer,"arrowLeft",!m&&!g),s(w.calendarContainer,"arrowCenter",m),s(w.calendarContainer,"arrowRight",g);var p=window.document.body.offsetWidth-(window.pageXOffset+l.right),h=f+a>window.document.body.offsetWidth,v=p+a>window.document.body.offsetWidth;if(s(w.calendarContainer,"rightMost",h),!w.config.static)if(w.calendarContainer.style.top=u+"px",h)if(v){var D=function(){for(var e=null,n=0;n<document.styleSheets.length;n++){var t=document.styleSheets[n];if(t.cssRules){try{t.cssRules}catch(e){continue}e=t;break}}return null!=e?e:(a=document.createElement("style"),document.head.appendChild(a),a.sheet);var a}();if(void 0===D)return;var b=window.document.body.offsetWidth,C=Math.max(0,b/2-a/2),M=D.cssRules.length,y="{left:"+l.left+"px;right:auto;}";s(w.calendarContainer,"rightMost",!1),s(w.calendarContainer,"centerMost",!0),D.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+y,M),w.calendarContainer.style.left=C+"px",w.calendarContainer.style.right="auto"}else w.calendarContainer.style.left="auto",w.calendarContainer.style.right=p+"px";else w.calendarContainer.style.left=f+"px",w.calendarContainer.style.right="auto"}}}else w.config.position(w,e)}function de(){w.config.noCalendar||w.isMobile||(U(),be(),K())}function ue(){w._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(w.close,0):w.close()}function fe(e){e.preventDefault(),e.stopPropagation();var n=f(g(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==n){var t=n,a=w.latestSelectedDateObj=new Date(t.dateObj.getTime()),i=(a.getMonth()<w.currentMonth||a.getMonth()>w.currentMonth+w.config.showMonths-1)&&"range"!==w.config.mode;if(w.selectedDateElem=t,"single"===w.config.mode)w.selectedDates=[a];else if("multiple"===w.config.mode){var o=we(a);o?w.selectedDates.splice(parseInt(o),1):w.selectedDates.push(a)}else"range"===w.config.mode&&(2===w.selectedDates.length&&w.clear(!1,!1),w.latestSelectedDateObj=a,w.selectedDates.push(a),0!==M(a,w.selectedDates[0],!0)&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()})));if(_(),i){var r=w.currentYear!==a.getFullYear();w.currentYear=a.getFullYear(),w.currentMonth=a.getMonth(),r&&(ve("onYearChange"),U()),ve("onMonthChange")}if(be(),K(),Me(),i||"range"===w.config.mode||1!==w.config.showMonths?void 0!==w.selectedDateElem&&void 0===w.hourElement&&w.selectedDateElem&&w.selectedDateElem.focus():R(t),void 0!==w.hourElement&&void 0!==w.hourElement&&w.hourElement.focus(),w.config.closeOnSelect){var l="single"===w.config.mode&&!w.config.enableTime,c="range"===w.config.mode&&2===w.selectedDates.length&&!w.config.enableTime;(l||c)&&ue()}P()}}w.parseDate=C({config:w.config,l10n:w.l10n}),w._handlers=[],w.pluginElements=[],w.loadedPlugins=[],w._bind=N,w._setHoursFromDate=O,w._positionCalendar=se,w.changeMonth=G,w.changeYear=X,w.clear=function(e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),w.input.value="",void 0!==w.altInput&&(w.altInput.value=""),void 0!==w.mobileInput&&(w.mobileInput.value=""),w.selectedDates=[],w.latestSelectedDateObj=void 0,!0===n&&(w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth()),!0===w.config.enableTime){var t=x(w.config);F(t.hours,t.minutes,t.seconds)}w.redraw(),e&&ve("onChange")},w.close=function(){w.isOpen=!1,w.isMobile||(void 0!==w.calendarContainer&&w.calendarContainer.classList.remove("open"),void 0!==w._input&&w._input.classList.remove("active")),ve("onClose")},w.onMouseOver=ie,w._createElement=d,w.createDay=L,w.destroy=function(){void 0!==w.config&&ve("onDestroy");for(var e=w._handlers.length;e--;)w._handlers[e].remove();if(w._handlers=[],w.mobileInput)w.mobileInput.parentNode&&w.mobileInput.parentNode.removeChild(w.mobileInput),w.mobileInput=void 0;else if(w.calendarContainer&&w.calendarContainer.parentNode)if(w.config.static&&w.calendarContainer.parentNode){var n=w.calendarContainer.parentNode;if(n.lastChild&&n.removeChild(n.lastChild),n.parentNode){for(;n.firstChild;)n.parentNode.insertBefore(n.firstChild,n);n.parentNode.removeChild(n)}}else w.calendarContainer.parentNode.removeChild(w.calendarContainer);w.altInput&&(w.input.type="text",w.altInput.parentNode&&w.altInput.parentNode.removeChild(w.altInput),delete w.altInput),w.input&&(w.input.type=w.input._type,w.input.classList.remove("flatpickr-input"),w.input.removeAttribute("readonly")),
3
+ ["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete w[e]}catch(e){}}))},w.isEnabled=ee,w.jumpToDate=Y,w.updateValue=Me,w.open=function(e,n){if(void 0===n&&(n=w._positionElement),!0===w.isMobile){if(e){e.preventDefault();var t=g(e);t&&t.blur()}return void 0!==w.mobileInput&&(w.mobileInput.focus(),w.mobileInput.click()),void ve("onOpen")}if(!w._input.disabled&&!w.config.inline){var a=w.isOpen;w.isOpen=!0,a||(w.calendarContainer.classList.add("open"),w._input.classList.add("active"),ve("onOpen"),se(n)),!0===w.config.enableTime&&!0===w.config.noCalendar&&(!1!==w.config.allowInput||void 0!==e&&w.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return w.hourElement.select()}),50))}},w.redraw=de,w.set=function(e,n){if(null!==e&&"object"==typeof e)for(var a in Object.assign(w.config,e),e)void 0!==me[a]&&me[a].forEach((function(e){return e()}));else w.config[e]=n,void 0!==me[e]?me[e].forEach((function(e){return e()})):t.indexOf(e)>-1&&(w.config[e]=c(n));w.redraw(),Me(!0)},w.setDate=function(e,n,t){if(void 0===n&&(n=!1),void 0===t&&(t=w.config.dateFormat),0!==e&&!e||e instanceof Array&&0===e.length)return w.clear(n);ge(e,t),w.latestSelectedDateObj=w.selectedDates[w.selectedDates.length-1],w.redraw(),Y(void 0,n),O(),0===w.selectedDates.length&&w.clear(!1),Me(n),n&&ve("onChange")},w.toggle=function(e){if(!0===w.isOpen)return w.close();w.open(e)};var me={locale:[ce,z],showMonths:[q,I,V],minDate:[Y],maxDate:[Y],positionElement:[he],clickOpens:[function(){!0===w.config.clickOpens?(N(w._input,"focus",w.open),N(w._input,"click",w.open)):(w._input.removeEventListener("focus",w.open),w._input.removeEventListener("click",w.open))}]};function ge(e,n){var t=[];if(e instanceof Array)t=e.map((function(e){return w.parseDate(e,n)}));else if(e instanceof Date||"number"==typeof e)t=[w.parseDate(e,n)];else if("string"==typeof e)switch(w.config.mode){case"single":case"time":t=[w.parseDate(e,n)];break;case"multiple":t=e.split(w.config.conjunction).map((function(e){return w.parseDate(e,n)}));break;case"range":t=e.split(w.l10n.rangeSeparator).map((function(e){return w.parseDate(e,n)}))}else w.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));w.selectedDates=w.config.allowInvalidPreload?t:t.filter((function(e){return e instanceof Date&&ee(e,!1)})),"range"===w.config.mode&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()}))}function pe(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?w.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:w.parseDate(e.from,void 0),to:w.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function he(){w._positionElement=w.config.positionElement||w._input}function ve(e,n){if(void 0!==w.config){var t=w.config[e];if(void 0!==t&&t.length>0)for(var a=0;t[a]&&a<t.length;a++)t[a](w.selectedDates,w.input.value,w,n);"onChange"===e&&(w.input.dispatchEvent(De("change")),w.input.dispatchEvent(De("input")))}}function De(e){var n=document.createEvent("Event");return n.initEvent(e,!0,!0),n}function we(e){for(var n=0;n<w.selectedDates.length;n++){var t=w.selectedDates[n];if(t instanceof Date&&0===M(t,e))return""+n}return!1}function be(){w.config.noCalendar||w.isMobile||!w.monthNav||(w.yearElements.forEach((function(e,n){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),w.config.showMonths>1||"static"===w.config.monthSelectorType?w.monthElements[n].textContent=h(t.getMonth(),w.config.shorthandCurrentMonth,w.l10n)+" ":w.monthsDropdownContainer.value=t.getMonth().toString(),e.value=t.getFullYear().toString()})),w._hidePrevMonthArrow=void 0!==w.config.minDate&&(w.currentYear===w.config.minDate.getFullYear()?w.currentMonth<=w.config.minDate.getMonth():w.currentYear<w.config.minDate.getFullYear()),w._hideNextMonthArrow=void 0!==w.config.maxDate&&(w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth+1>w.config.maxDate.getMonth():w.currentYear>w.config.maxDate.getFullYear()))}function Ce(e){return w.selectedDates.map((function(n){return w.formatDate(n,e)})).filter((function(e,n,t){return"range"!==w.config.mode||w.config.enableTime||t.indexOf(e)===n})).join("range"!==w.config.mode?w.config.conjunction:w.l10n.rangeSeparator)}function Me(e){void 0===e&&(e=!0),void 0!==w.mobileInput&&w.mobileFormatStr&&(w.mobileInput.value=void 0!==w.latestSelectedDateObj?w.formatDate(w.latestSelectedDateObj,w.mobileFormatStr):""),w.input.value=Ce(w.config.dateFormat),void 0!==w.altInput&&(w.altInput.value=Ce(w.config.altFormat)),!1!==e&&ve("onValueUpdate")}function ye(e){var n=g(e),t=w.prevMonthNav.contains(n),a=w.nextMonthNav.contains(n);t||a?G(t?-1:1):w.yearElements.indexOf(n)>=0?n.select():n.classList.contains("arrowUp")?w.changeYear(w.currentYear+1):n.classList.contains("arrowDown")&&w.changeYear(w.currentYear-1)}return function(){w.element=w.input=p,w.isOpen=!1,function(){var n=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e(e({},JSON.parse(JSON.stringify(p.dataset||{}))),v),o={};w.config.parseDate=i.parseDate,w.config.formatDate=i.formatDate,Object.defineProperty(w.config,"enable",{get:function(){return w.config._enable},set:function(e){w.config._enable=pe(e)}}),Object.defineProperty(w.config,"disable",{get:function(){return w.config._disable},set:function(e){w.config._disable=pe(e)}});var r="time"===i.mode;if(!i.dateFormat&&(i.enableTime||r)){var l=T.defaultConfig.dateFormat||a.dateFormat;o.dateFormat=i.noCalendar||r?"H:i"+(i.enableSeconds?":S":""):l+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||r)&&!i.altFormat){var s=T.defaultConfig.altFormat||a.altFormat;o.altFormat=i.noCalendar||r?"h:i"+(i.enableSeconds?":S K":" K"):s+" h:i"+(i.enableSeconds?":S":"")+" K"}Object.defineProperty(w.config,"minDate",{get:function(){return w.config._minDate},set:re("min")}),Object.defineProperty(w.config,"maxDate",{get:function(){return w.config._maxDate},set:re("max")});var d=function(e){return function(n){w.config["min"===e?"_minTime":"_maxTime"]=w.parseDate(n,"H:i:S")}};Object.defineProperty(w.config,"minTime",{get:function(){return w.config._minTime},set:d("min")}),Object.defineProperty(w.config,"maxTime",{get:function(){return w.config._maxTime},set:d("max")}),"time"===i.mode&&(w.config.noCalendar=!0,w.config.enableTime=!0),Object.assign(w.config,o,i);for(var u=0;u<n.length;u++)w.config[n[u]]=!0===w.config[n[u]]||"true"===w.config[n[u]];for(t.filter((function(e){return void 0!==w.config[e]})).forEach((function(e){w.config[e]=c(w.config[e]||[]).map(k)})),w.isMobile=!w.config.disableMobile&&!w.config.inline&&"single"===w.config.mode&&!w.config.disable.length&&!w.config.enable&&!w.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),u=0;u<w.config.plugins.length;u++){var f=w.config.plugins[u](w)||{};for(var m in f)t.indexOf(m)>-1?w.config[m]=c(f[m]).map(k).concat(w.config[m]):void 0===i[m]&&(w.config[m]=f[m])}i.altInputClass||(w.config.altInputClass=le().className+" "+w.config.altInputClass),ve("onParseConfig")}(),ce(),w.input=le(),w.input?(w.input._type=w.input.type,w.input.type="text",w.input.classList.add("flatpickr-input"),w._input=w.input,w.config.altInput&&(w.altInput=d(w.input.nodeName,w.config.altInputClass),w._input=w.altInput,w.altInput.placeholder=w.input.placeholder,w.altInput.disabled=w.input.disabled,w.altInput.required=w.input.required,w.altInput.tabIndex=w.input.tabIndex,w.altInput.type="text",w.input.setAttribute("type","hidden"),!w.config.static&&w.input.parentNode&&w.input.parentNode.insertBefore(w.altInput,w.input.nextSibling)),w.config.allowInput||w._input.setAttribute("readonly","readonly"),he()):w.config.errorHandler(new Error("Invalid input element specified")),function(){w.selectedDates=[],w.now=w.parseDate(w.config.now)||new Date;var e=w.config.defaultDate||("INPUT"!==w.input.nodeName&&"TEXTAREA"!==w.input.nodeName||!w.input.placeholder||w.input.value!==w.input.placeholder?w.input.value:null);e&&ge(e,w.config.dateFormat),w._initialDate=w.selectedDates.length>0?w.selectedDates[0]:w.config.minDate&&w.config.minDate.getTime()>w.now.getTime()?w.config.minDate:w.config.maxDate&&w.config.maxDate.getTime()<w.now.getTime()?w.config.maxDate:w.now,w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth(),w.selectedDates.length>0&&(w.latestSelectedDateObj=w.selectedDates[0]),void 0!==w.config.minTime&&(w.config.minTime=w.parseDate(w.config.minTime,"H:i")),void 0!==w.config.maxTime&&(w.config.maxTime=w.parseDate(w.config.maxTime,"H:i")),w.minDateHasTime=!!w.config.minDate&&(w.config.minDate.getHours()>0||w.config.minDate.getMinutes()>0||w.config.minDate.getSeconds()>0),w.maxDateHasTime=!!w.config.maxDate&&(w.config.maxDate.getHours()>0||w.config.maxDate.getMinutes()>0||w.config.maxDate.getSeconds()>0)}(),w.utils={getDaysInMonth:function(e,n){return void 0===e&&(e=w.currentMonth),void 0===n&&(n=w.currentYear),1===e&&(n%4==0&&n%100!=0||n%400==0)?29:w.l10n.daysInMonth[e]}},w.isMobile||function(){var e=window.document.createDocumentFragment();if(w.calendarContainer=d("div","flatpickr-calendar"),w.calendarContainer.tabIndex=-1,!w.config.noCalendar){if(e.appendChild((w.monthNav=d("div","flatpickr-months"),w.yearElements=[],w.monthElements=[],w.prevMonthNav=d("span","flatpickr-prev-month"),w.prevMonthNav.innerHTML=w.config.prevArrow,w.nextMonthNav=d("span","flatpickr-next-month"),w.nextMonthNav.innerHTML=w.config.nextArrow,q(),Object.defineProperty(w,"_hidePrevMonthArrow",{get:function(){return w.__hidePrevMonthArrow},set:function(e){w.__hidePrevMonthArrow!==e&&(s(w.prevMonthNav,"flatpickr-disabled",e),w.__hidePrevMonthArrow=e)}}),Object.defineProperty(w,"_hideNextMonthArrow",{get:function(){return w.__hideNextMonthArrow},set:function(e){w.__hideNextMonthArrow!==e&&(s(w.nextMonthNav,"flatpickr-disabled",e),w.__hideNextMonthArrow=e)}}),w.currentYearElement=w.yearElements[0],be(),w.monthNav)),w.innerContainer=d("div","flatpickr-innerContainer"),w.config.weekNumbers){var n=function(){w.calendarContainer.classList.add("hasWeeks");var e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",w.l10n.weekAbbreviation));var n=d("div","flatpickr-weeks");return e.appendChild(n),{weekWrapper:e,weekNumbers:n}}(),t=n.weekWrapper,a=n.weekNumbers;w.innerContainer.appendChild(t),w.weekNumbers=a,w.weekWrapper=t}w.rContainer=d("div","flatpickr-rContainer"),w.rContainer.appendChild(V()),w.daysContainer||(w.daysContainer=d("div","flatpickr-days"),w.daysContainer.tabIndex=-1),K(),w.rContainer.appendChild(w.daysContainer),w.innerContainer.appendChild(w.rContainer),e.appendChild(w.innerContainer)}w.config.enableTime&&e.appendChild(function(){w.calendarContainer.classList.add("hasTime"),w.config.noCalendar&&w.calendarContainer.classList.add("noCalendar");var e=x(w.config);w.timeContainer=d("div","flatpickr-time"),w.timeContainer.tabIndex=-1;var n=d("span","flatpickr-time-separator",":"),t=m("flatpickr-hour",{"aria-label":w.l10n.hourAriaLabel});w.hourElement=t.getElementsByTagName("input")[0];var a=m("flatpickr-minute",{"aria-label":w.l10n.minuteAriaLabel});if(w.minuteElement=a.getElementsByTagName("input")[0],w.hourElement.tabIndex=w.minuteElement.tabIndex=-1,w.hourElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getHours():w.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),w.minuteElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getMinutes():e.minutes),w.hourElement.setAttribute("step",w.config.hourIncrement.toString()),w.minuteElement.setAttribute("step",w.config.minuteIncrement.toString()),w.hourElement.setAttribute("min",w.config.time_24hr?"0":"1"),w.hourElement.setAttribute("max",w.config.time_24hr?"23":"12"),w.hourElement.setAttribute("maxlength","2"),w.minuteElement.setAttribute("min","0"),w.minuteElement.setAttribute("max","59"),w.minuteElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(t),w.timeContainer.appendChild(n),w.timeContainer.appendChild(a),w.config.time_24hr&&w.timeContainer.classList.add("time24hr"),w.config.enableSeconds){w.timeContainer.classList.add("hasSeconds");var i=m("flatpickr-second");w.secondElement=i.getElementsByTagName("input")[0],w.secondElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getSeconds():e.seconds),w.secondElement.setAttribute("step",w.minuteElement.getAttribute("step")),w.secondElement.setAttribute("min","0"),w.secondElement.setAttribute("max","59"),w.secondElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),w.timeContainer.appendChild(i)}return w.config.time_24hr||(w.amPM=d("span","flatpickr-am-pm",w.l10n.amPM[r((w.latestSelectedDateObj?w.hourElement.value:w.config.defaultHour)>11)]),w.amPM.title=w.l10n.toggleTitle,w.amPM.tabIndex=-1,w.timeContainer.appendChild(w.amPM)),w.timeContainer}()),s(w.calendarContainer,"rangeMode","range"===w.config.mode),s(w.calendarContainer,"animate",!0===w.config.animate),s(w.calendarContainer,"multiMonth",w.config.showMonths>1),w.calendarContainer.appendChild(e);var i=void 0!==w.config.appendTo&&void 0!==w.config.appendTo.nodeType;if((w.config.inline||w.config.static)&&(w.calendarContainer.classList.add(w.config.inline?"inline":"static"),w.config.inline&&(!i&&w.element.parentNode?w.element.parentNode.insertBefore(w.calendarContainer,w._input.nextSibling):void 0!==w.config.appendTo&&w.config.appendTo.appendChild(w.calendarContainer)),w.config.static)){var l=d("div","flatpickr-wrapper");w.element.parentNode&&w.element.parentNode.insertBefore(l,w.element),l.appendChild(w.element),w.altInput&&l.appendChild(w.altInput),l.appendChild(w.calendarContainer)}w.config.static||w.config.inline||(void 0!==w.config.appendTo?w.config.appendTo:window.document.body).appendChild(w.calendarContainer)}(),function(){if(w.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(w.element.querySelectorAll("[data-"+e+"]"),(function(n){return N(n,"click",w[e])}))})),w.isMobile)!function(){var e=w.config.enableTime?w.config.noCalendar?"time":"datetime-local":"date";w.mobileInput=d("input",w.input.className+" flatpickr-mobile"),w.mobileInput.tabIndex=1,w.mobileInput.type=e,w.mobileInput.disabled=w.input.disabled,w.mobileInput.required=w.input.required,w.mobileInput.placeholder=w.input.placeholder,w.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",w.selectedDates.length>0&&(w.mobileInput.defaultValue=w.mobileInput.value=w.formatDate(w.selectedDates[0],w.mobileFormatStr)),w.config.minDate&&(w.mobileInput.min=w.formatDate(w.config.minDate,"Y-m-d")),w.config.maxDate&&(w.mobileInput.max=w.formatDate(w.config.maxDate,"Y-m-d")),w.input.getAttribute("step")&&(w.mobileInput.step=String(w.input.getAttribute("step"))),w.input.type="hidden",void 0!==w.altInput&&(w.altInput.type="hidden");try{w.input.parentNode&&w.input.parentNode.insertBefore(w.mobileInput,w.input.nextSibling)}catch(e){}N(w.mobileInput,"change",(function(e){w.setDate(g(e).value,!1,w.mobileFormatStr),ve("onChange"),ve("onClose")}))}();else{var e=l(oe,50);w._debouncedChange=l(P,300),w.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&N(w.daysContainer,"mouseover",(function(e){"range"===w.config.mode&&ie(g(e))})),N(w._input,"keydown",ae),void 0!==w.calendarContainer&&N(w.calendarContainer,"keydown",ae),w.config.inline||w.config.static||N(window,"resize",e),void 0!==window.ontouchstart?N(window.document,"touchstart",Q):N(window.document,"mousedown",Q),N(window.document,"focus",Q,{capture:!0}),!0===w.config.clickOpens&&(N(w._input,"focus",w.open),N(w._input,"click",w.open)),void 0!==w.daysContainer&&(N(w.monthNav,"click",ye),N(w.monthNav,["keyup","increment"],A),N(w.daysContainer,"click",fe)),void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement&&(N(w.timeContainer,["increment"],S),N(w.timeContainer,"blur",S,{capture:!0}),N(w.timeContainer,"click",j),N([w.hourElement,w.minuteElement],["focus","click"],(function(e){return g(e).select()})),void 0!==w.secondElement&&N(w.secondElement,"focus",(function(){return w.secondElement&&w.secondElement.select()})),void 0!==w.amPM&&N(w.amPM,"click",(function(e){S(e)}))),w.config.allowInput&&N(w._input,"blur",te)}}(),(w.selectedDates.length||w.config.noCalendar)&&(w.config.enableTime&&O(w.config.noCalendar?w.latestSelectedDateObj:void 0),Me(!1)),I();var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!w.isMobile&&n&&se(),ve("onReady")}(),w}function k(e,n){for(var t=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),a=[],i=0;i<t.length;i++){var o=t[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=E(o,n||{}),a.push(o._flatpickr)}catch(e){console.error(e)}}return 1===a.length?a[0]:a}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var a=function(n){n&&Object.keys(n).forEach((function(t){return e[t]=n[t]}))},i=0,o=n;i<o.length;i++){var r=o[i];a(r)}return e}),"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return k(this,e)},HTMLElement.prototype.flatpickr=function(e){return k([this],e)});var T=function(e,n){return"string"==typeof e?k(window.document.querySelectorAll(e),n):e instanceof Node?k([e],n):k(e,n)};return T.defaultConfig={},T.l10ns={en:e({},i),default:e({},i)},T.localize=function(n){T.l10ns.default=e(e({},T.l10ns.default),n)},T.setDefaults=function(n){T.defaultConfig=e(e({},T.defaultConfig),n)},T.parseDate=C({}),T.formatDate=b({}),T.compareDates=M,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return k(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=T),T}));
assets/images/icon-checkmark.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="11" height="9" viewBox="0 0 11 9" xmlns="http://www.w3.org/2000/svg"><title>Shape</title><path d="M3.835 8.362.165 4.727l1.034-1.025 2.636 2.602L9.408.787l1.036 1.032z" fill="#FFF" fill-rule="evenodd"/></svg>
assets/images/logo-icomark.png ADDED
Binary file
assets/js/admin.js CHANGED
@@ -191,7 +191,7 @@
191
  $(window).on('hashchange', function () {
192
  if (hash_event_triggered === true) return;
193
 
194
- // in #registration_page?login_page, registration_page is the tab id and \
195
  // login_page the control/settings tr id.
196
  var hash = this.location.hash, tab_id_len, tab_id, cache;
197
  if (hash.length === 0) open_active_or_first_tab();
@@ -418,7 +418,6 @@
418
  };
419
 
420
  $(function () {
421
-
422
  if (typeof window.cmSettingsInstances === 'undefined') {
423
  window.cmSettingsInstances = {};
424
  }
@@ -453,5 +452,171 @@
453
  }).change();
454
 
455
  $('.wp-csa-select2').select2();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  });
457
  })(jQuery);
191
  $(window).on('hashchange', function () {
192
  if (hash_event_triggered === true) return;
193
 
194
+ // in #registration_page?login_page, registration_page is the tab id and
195
  // login_page the control/settings tr id.
196
  var hash = this.location.hash, tab_id_len, tab_id, cache;
197
  if (hash.length === 0) open_active_or_first_tab();
418
  };
419
 
420
  $(function () {
 
421
  if (typeof window.cmSettingsInstances === 'undefined') {
422
  window.cmSettingsInstances = {};
423
  }
452
  }).change();
453
 
454
  $('.wp-csa-select2').select2();
455
+
456
+ var tmpl = wp.template('ppress-plan-summary'),
457
+ cache = $('.ppview .billing_details .ppress-plan-billing-details'),
458
+ billing_data;
459
+
460
+ if (cache.length > 0) {
461
+
462
+ cache.each(function () {
463
+ billing_data = $(this).data('billing-details');
464
+
465
+ if (typeof billing_data !== 'object') {
466
+ billing_data = JSON.parse(billing_data);
467
+ }
468
+
469
+ $(this).html(tmpl(billing_data));
470
+ });
471
+ }
472
+ // date picker for order filter
473
+ $('.ppress_datepicker').flatpickr({dateFormat: "Y-m-d", allowInput: true});
474
+
475
+ //date picker for order edit screen
476
+ $('.ppress_datetime_picker').flatpickr({
477
+ dateFormat: "Y-m-d H:i",
478
+ enableTime: true,
479
+ time_24hr: true,
480
+ allowInput: true
481
+ });
482
+
483
+ $('.ppress-metabox-data-column a.edit_address').on('click', function (e) {
484
+ e.preventDefault();
485
+ $(this).blur();
486
+ $('.ppress-billing-details').toggle(false);
487
+ $('.ppress_edit_address_wrap').toggle(true);
488
+ });
489
+
490
+ $('.ppress-select2-field.customer_user').select2({
491
+ ajax: {
492
+ url: ajaxurl,
493
+ delay: 250,
494
+ cache: true,
495
+ data: function (params) {
496
+ return {
497
+ search: params.term,
498
+ nonce: ppress_admin_globals.nonce,
499
+ action: 'ppress_mb_search_customers'
500
+ };
501
+ }
502
+ },
503
+ minimumInputLength: 2
504
+ });
505
+
506
+ $('.ppress-select2-field.customer_wp_user').select2({
507
+ ajax: {
508
+ url: ajaxurl,
509
+ delay: 250,
510
+ cache: true,
511
+ data: function (params) {
512
+ return {
513
+ search: params.term,
514
+ nonce: ppress_admin_globals.nonce,
515
+ action: 'ppress_mb_search_wp_users'
516
+ };
517
+ }
518
+ },
519
+ minimumInputLength: 2
520
+ });
521
+
522
+ // delete order notes in view order admin UI
523
+ $('.ppress-order-notes-wrap .ppress-delete-note').on('click', function (e) {
524
+ e.preventDefault();
525
+
526
+ if (confirm(pp_form_builder.confirm_delete)) {
527
+
528
+ $.post(ajaxurl, {
529
+ 'action': 'ppress_delete_order_note',
530
+ 'note_id': $(this).data('note-id'),
531
+ 'security': ppress_admin_globals.nonce
532
+ });
533
+
534
+ $(this).parents('li.ppress-note').remove();
535
+ }
536
+ });
537
+
538
+ var tmpl = wp.template('add-replace-order-template');
539
+ // add/replace order item
540
+ $('.add-replace-order-item').on('click', function (e) {
541
+ e.preventDefault();
542
+ var myModal = new jBox('Modal', {
543
+ 'title': ppress_order_replace_modal_title,
544
+ content: tmpl(),
545
+ closeButton: 'title',
546
+ maxWidth: 400,
547
+ width: 400,
548
+ onOpenComplete: function () {
549
+ $('.ppress-order-change-modal').select2({
550
+ ajax: {
551
+ url: ajaxurl,
552
+ delay: 250,
553
+ cache: true,
554
+ data: function (params) {
555
+ return {
556
+ search: params.term,
557
+ 'type': $(this).attr('id'),
558
+ nonce: ppress_admin_globals.nonce,
559
+ action: 'ppress_mb_order_modal_search'
560
+ };
561
+ },
562
+ processResults: function (data) {
563
+ if ('prices' in data) {
564
+ window.ppressModalResultPrices = data.prices;
565
+ }
566
+
567
+ return {
568
+ results: data.results
569
+ };
570
+ }
571
+ },
572
+ minimumInputLength: 2
573
+ });
574
+
575
+ $('.ppress-order-change-modal').on('select2:select', function (e) {
576
+ var id = e.params.data.id;
577
+
578
+ if (typeof window.ppressModalResultPrices[id] !== 'undefined') {
579
+ $('#sub_plan_price').val(window.ppressModalResultPrices[id])
580
+ }
581
+ });
582
+ },
583
+ onClose: function () {
584
+ setTimeout(function () {
585
+ myModal.destroy();
586
+ }, 1000)
587
+ }
588
+ });
589
+
590
+ myModal.open();
591
+ });
592
+ // replace and save
593
+ $(document).on('click', '#save-order-change', function (e) {
594
+ e.preventDefault();
595
+ var plan = $('#subscription-plans').val(),
596
+ plan_price = $('#sub_plan_price').val(),
597
+ order_id = $('#ppress_order_id').val(),
598
+ tax = $('#tax-amount').val(),
599
+ order_coupon = $('#order_coupon').val();
600
+
601
+ if (plan === "") {
602
+ alert(ppress_modal_empty_plan_error);
603
+ } else {
604
+
605
+ $(this).prop("disabled", true);
606
+
607
+ $.post(ajaxurl, {
608
+ 'action': 'ppress_modal_replace_order_item',
609
+ 'order_id': order_id,
610
+ 'plan': plan,
611
+ 'plan_price': plan_price,
612
+ 'tax': tax,
613
+ 'coupon_code': order_coupon,
614
+ 'security': ppress_admin_globals.nonce
615
+ }, function () {
616
+ window.location.reload();
617
+ }
618
+ );
619
+ }
620
+ });
621
  });
622
  })(jQuery);
assets/js/admin/chart.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Chart.js v3.8.0
3
+ * https://www.chartjs.org
4
+ * (c) 2022 Chart.js Contributors
5
+ * Released under the MIT License
6
+ */
7
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";const t="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function e(e,i,s){const n=s||(t=>Array.prototype.slice.call(t));let o=!1,a=[];return function(...s){a=n(s),o||(o=!0,t.call(window,(()=>{o=!1,e.apply(i,a)})))}}function i(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}const s=t=>"start"===t?"left":"end"===t?"right":"center",n=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,o=(t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e;var a=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=t.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};
8
+ /*
9
+ * @kurkle/color v0.2.1
10
+ * https://github.com/kurkle/color#readme
11
+ * (c) 2022 Jukka Kurkela
12
+ * Released under the MIT License
13
+ */function r(t){return t+.5|0}const l=(t,e,i)=>Math.max(Math.min(t,i),e);function h(t){return l(r(2.55*t),0,255)}function c(t){return l(r(255*t),0,255)}function d(t){return l(r(t/2.55)/100,0,1)}function u(t){return l(r(100*t),0,100)}const f={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},g=[..."0123456789ABCDEF"],p=t=>g[15&t],m=t=>g[(240&t)>>4]+g[15&t],b=t=>(240&t)>>4==(15&t);function x(t){var e=(t=>b(t.r)&&b(t.g)&&b(t.b)&&b(t.a))(t)?p:m;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const _=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function y(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function v(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function w(t,e,i){const s=y(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function M(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e<i?6:0):e===n?(i-t)/s+2:(t-e)/s+4}(e,i,s,h,n),r=60*r+.5),[0|r,l||0,a]}function k(t,e,i,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,s)).map(c)}function S(t,e,i){return k(y,t,e,i)}function P(t){return(t%360+360)%360}function D(t){const e=_.exec(t);let i,s=255;if(!e)return;e[5]!==i&&(s=e[6]?h(+e[5]):c(+e[5]));const n=P(+e[2]),o=+e[3]/100,a=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return k(w,t,e,i)}(n,o,a):"hsv"===e[1]?function(t,e,i){return k(v,t,e,i)}(n,o,a):S(n,o,a),{r:i[0],g:i[1],b:i[2],a:s}}const C={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},O={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let A;function T(t){A||(A=function(){const t={},e=Object.keys(O),i=Object.keys(C);let s,n,o,a,r;for(s=0;s<e.length;s++){for(a=r=e[s],n=0;n<i.length;n++)o=i[n],r=r.replace(o,C[o]);o=parseInt(O[a],16),t[r]=[o>>16&255,o>>8&255,255&o]}return t}(),A.transparent=[0,0,0,0]);const e=A[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const L=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const R=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,E=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function I(t,e,i){if(t){let s=M(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=S(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function z(t,e){return t?Object.assign(e||{},t):t}function F(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=c(t[3]))):(e=z(t,{r:0,g:0,b:0,a:1})).a=c(e.a),e}function B(t){return"r"===t.charAt(0)?function(t){const e=L.exec(t);let i,s,n,o=255;if(e){if(e[7]!==i){const t=+e[7];o=e[8]?h(t):l(255*t,0,255)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?h(i):l(i,0,255)),s=255&(e[4]?h(s):l(s,0,255)),n=255&(e[6]?h(n):l(n,0,255)),{r:i,g:s,b:n,a:o}}}(t):D(t)}class V{constructor(t){if(t instanceof V)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=F(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*f[s[1]],g:255&17*f[s[2]],b:255&17*f[s[3]],a:5===o?17*f[s[4]]:255}:7!==o&&9!==o||(n={r:f[s[1]]<<4|f[s[2]],g:f[s[3]]<<4|f[s[4]],b:f[s[5]]<<4|f[s[6]],a:9===o?f[s[7]]<<4|f[s[8]]:255})),i=n||T(t)||B(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=z(this._rgb);return t&&(t.a=d(t.a)),t}set rgb(t){this._rgb=F(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${d(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?x(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=M(t),i=e[0],s=u(e[1]),n=u(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${d(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,l=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-l,i.r=255&l*i.r+n*s.r+.5,i.g=255&l*i.g+n*s.g+.5,i.b=255&l*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=E(d(t.r)),n=E(d(t.g)),o=E(d(t.b));return{r:c(R(s+i*(E(d(e.r))-s))),g:c(R(n+i*(E(d(e.g))-n))),b:c(R(o+i*(E(d(e.b))-o))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new V(this.rgb)}alpha(t){return this._rgb.a=c(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=r(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return I(this._rgb,2,t),this}darken(t){return I(this._rgb,2,-t),this}saturate(t){return I(this._rgb,1,t),this}desaturate(t){return I(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=M(t);i[0]=P(i[0]+e),i=S(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function N(t){return new V(t)}function W(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function H(t){return W(t)?t:N(t)}function j(t){return W(t)?t:N(t).saturate(.5).darken(.1).hexString()}function $(){}const Y=function(){let t=0;return function(){return t++}}();function U(t){return null==t}function X(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function q(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const K=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function G(t,e){return K(t)?t:e}function Z(t,e){return void 0===t?e:t}const J=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,Q=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function tt(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function et(t,e,i,s){let n,o,a;if(X(t))if(o=t.length,s)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;n<o;n++)e.call(i,t[n],n);else if(q(t))for(a=Object.keys(t),o=a.length,n=0;n<o;n++)e.call(i,t[a[n]],a[n])}function it(t,e){let i,s,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,s=t.length;i<s;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function st(t){if(X(t))return t.map(st);if(q(t)){const e=Object.create(null),i=Object.keys(t),s=i.length;let n=0;for(;n<s;++n)e[i[n]]=st(t[i[n]]);return e}return t}function nt(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function ot(t,e,i,s){if(!nt(t))return;const n=e[t],o=i[t];q(n)&&q(o)?at(n,o,s):e[t]=st(o)}function at(t,e,i){const s=X(e)?e:[e],n=s.length;if(!q(t))return t;const o=(i=i||{}).merger||ot;for(let a=0;a<n;++a){if(!q(e=s[a]))continue;const n=Object.keys(e);for(let s=0,a=n.length;s<a;++s)o(n[s],t,e,i)}return t}function rt(t,e){return at(t,e,{merger:lt})}function lt(t,e,i){if(!nt(t))return;const s=e[t],n=i[t];q(s)&&q(n)?rt(s,n):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=st(n))}function ht(t,e){const i=t.indexOf(".",e);return-1===i?t.length:i}function ct(t,e){if(""===e)return t;let i=0,s=ht(e,i);for(;t&&s>i;)t=t[e.slice(i,s)],i=s+1,s=ht(e,i);return t}function dt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const ut=t=>void 0!==t,ft=t=>"function"==typeof t,gt=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function pt(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const mt=Object.create(null),bt=Object.create(null);function xt(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;e<s;++e){const s=i[e];t=t[s]||(t[s]=Object.create(null))}return t}function _t(t,e,i){return"string"==typeof e?at(xt(t,e),i):at(xt(t,""),e)}var yt=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>j(e.backgroundColor),this.hoverBorderColor=(t,e)=>j(e.borderColor),this.hoverColor=(t,e)=>j(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return _t(this,t,e)}get(t){return xt(this,t)}describe(t,e){return _t(bt,t,e)}override(t,e){return _t(mt,t,e)}route(t,e,i,s){const n=xt(this,t),o=xt(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return q(t)?Object.assign({},e,t):Z(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function vt(t,e,i){i=i||(i=>t[i]<e);let s,n=t.length-1,o=0;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const wt=(t,e,i)=>vt(t,i,(s=>t[s][e]<i)),Mt=(t,e,i)=>vt(t,i,(s=>t[s][e]>=i));function kt(t,e,i){let s=0,n=t.length;for(;s<n&&t[s]<e;)s++;for(;n>s&&t[n-1]>i;)n--;return s>0||n<t.length?t.slice(s,n):t}const St=["push","pop","shift","splice","unshift"];function Pt(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),St.forEach((e=>{const i="_onData"+dt(e),s=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const n=s.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[i]&&t[i](...e)})),n}})})))}function Dt(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(St.forEach((e=>{delete t[e]})),delete t._chartjs)}function Ct(t){const e=new Set;let i,s;for(i=0,s=t.length;i<s;++i)e.add(t[i]);return e.size===s?t:Array.from(e)}const Ot=Math.PI,At=2*Ot,Tt=At+Ot,Lt=Number.POSITIVE_INFINITY,Rt=Ot/180,Et=Ot/2,It=Ot/4,zt=2*Ot/3,Ft=Math.log10,Bt=Math.sign;function Vt(t){const e=Math.round(t);t=Ht(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(Ft(t))),s=t/i;return(s<=1?1:s<=2?2:s<=5?5:10)*i}function Nt(t){const e=[],i=Math.sqrt(t);let s;for(s=1;s<i;s++)t%s==0&&(e.push(s),e.push(t/s));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}function Wt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Ht(t,e,i){return Math.abs(t-e)<i}function jt(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}function $t(t,e,i){let s,n,o;for(s=0,n=t.length;s<n;s++)o=t[s][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Yt(t){return t*(Ot/180)}function Ut(t){return t*(180/Ot)}function Xt(t){if(!K(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function qt(t,e){const i=e.x-t.x,s=e.y-t.y,n=Math.sqrt(i*i+s*s);let o=Math.atan2(s,i);return o<-.5*Ot&&(o+=At),{angle:o,distance:n}}function Kt(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Gt(t,e){return(t-e+Tt)%At-Ot}function Zt(t){return(t%At+At)%At}function Jt(t,e,i,s){const n=Zt(t),o=Zt(e),a=Zt(i),r=Zt(o-n),l=Zt(a-n),h=Zt(n-o),c=Zt(n-a);return n===o||n===a||s&&o===a||r>l&&h<c}function Qt(t,e,i){return Math.max(e,Math.min(i,t))}function te(t){return Qt(t,-32768,32767)}function ee(t,e,i,s=1e-6){return t>=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function ie(){return"undefined"!=typeof window&&"undefined"!=typeof document}function se(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function ne(t,e,i){let s;return"string"==typeof t?(s=parseInt(t,10),-1!==t.indexOf("%")&&(s=s/100*e.parentNode[i])):s=t,s}const oe=t=>window.getComputedStyle(t,null);function ae(t,e){return oe(t).getPropertyValue(e)}const re=["top","right","bottom","left"];function le(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=re[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}function he(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=oe(i),o="border-box"===n.boxSizing,a=le(n,"padding"),r=le(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,l=!1;if(((t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot))(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,l=!0}return{x:a,y:r,box:l}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const ce=t=>Math.round(10*t)/10;function de(t,e,i,s){const n=oe(t),o=le(n,"margin"),a=ne(n.maxWidth,t,"clientWidth")||Lt,r=ne(n.maxHeight,t,"clientHeight")||Lt,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=se(t);if(o){const t=o.getBoundingClientRect(),a=oe(o),r=le(a,"border","width"),l=le(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=ne(a.maxWidth,o,"clientWidth"),n=ne(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||Lt,maxHeight:n||Lt}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=le(n,"border","width"),e=le(n,"padding");h-=e.width+t.width,c-=e.height+t.height}return h=Math.max(0,h-o.width),c=Math.max(0,s?Math.floor(h/s):c-o.height),h=ce(Math.min(h,a,l.maxWidth)),c=ce(Math.min(c,r,l.maxHeight)),h&&!c&&(c=ce(h/2)),{width:h,height:c}}function ue(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=n/s,t.width=o/s;const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const fe=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function ge(t,e){const i=ae(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function pe(t){return!t||U(t.size)||U(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function me(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function be(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let l,h,c,d,u;for(l=0;l<r;l++)if(d=i[l],null!=d&&!0!==X(d))a=me(t,n,o,a,d);else if(X(d))for(h=0,c=d.length;h<c;h++)u=d[h],null==u||X(u)||(a=me(t,n,o,a,u));t.restore();const f=o.length/2;if(f>i.length){for(l=0;l<f;l++)delete n[o[l]];o.splice(0,f)}return a}function xe(t,e,i){const s=t.currentDevicePixelRatio,n=0!==i?Math.max(i/2,.5):0;return Math.round((e-n)*s)/s+n}function _e(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ye(t,e,i,s){let n,o,a,r,l;const h=e.pointStyle,c=e.rotation,d=e.radius;let u=(c||0)*Rt;if(h&&"object"==typeof h&&(n=h.toString(),"[object HTMLImageElement]"===n||"[object HTMLCanvasElement]"===n))return t.save(),t.translate(i,s),t.rotate(u),t.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),void t.restore();if(!(isNaN(d)||d<=0)){switch(t.beginPath(),h){default:t.arc(i,s,d,0,At),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(u)*d,s-Math.cos(u)*d),u+=zt,t.lineTo(i+Math.sin(u)*d,s-Math.cos(u)*d),u+=zt,t.lineTo(i+Math.sin(u)*d,s-Math.cos(u)*d),t.closePath();break;case"rectRounded":l=.516*d,r=d-l,o=Math.cos(u+It)*r,a=Math.sin(u+It)*r,t.arc(i-o,s-a,l,u-Ot,u-Et),t.arc(i+a,s-o,l,u-Et,u),t.arc(i+o,s+a,l,u,u+Et),t.arc(i-a,s+o,l,u+Et,u+Ot),t.closePath();break;case"rect":if(!c){r=Math.SQRT1_2*d,t.rect(i-r,s-r,2*r,2*r);break}u+=It;case"rectRot":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+a,s-o),t.lineTo(i+o,s+a),t.lineTo(i-a,s+o),t.closePath();break;case"crossRot":u+=It;case"cross":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a),t.moveTo(i+a,s-o),t.lineTo(i-a,s+o);break;case"star":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a),t.moveTo(i+a,s-o),t.lineTo(i-a,s+o),u+=It,o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a),t.moveTo(i+a,s-o),t.lineTo(i-a,s+o);break;case"line":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a);break;case"dash":t.moveTo(i,s),t.lineTo(i+Math.cos(u)*d,s+Math.sin(u)*d)}t.fill(),e.borderWidth>0&&t.stroke()}}function ve(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function we(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Me(t){t.restore()}function ke(t,e,i,s,n){if(!e)return t.lineTo(i.x,i.y);if("middle"===n){const s=(e.x+i.x)/2;t.lineTo(s,e.y),t.lineTo(s,i.y)}else"after"===n!=!!s?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function Se(t,e,i,s){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(s?e.cp1x:e.cp2x,s?e.cp1y:e.cp2y,s?i.cp2x:i.cp1x,s?i.cp2y:i.cp1y,i.x,i.y)}function Pe(t,e,i,s,n,o={}){const a=X(e)?e:[e],r=o.strokeWidth>0&&""!==o.strokeColor;let l,h;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);U(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;l<a.length;++l)h=a[l],r&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),U(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(h,i,s,o.maxWidth)),t.fillText(h,i,s,o.maxWidth),De(t,i,s,h,o),s+=n.lineHeight;t.restore()}function De(t,e,i,s,n){if(n.strikethrough||n.underline){const o=t.measureText(s),a=e-o.actualBoundingBoxLeft,r=e+o.actualBoundingBoxRight,l=i-o.actualBoundingBoxAscent,h=i+o.actualBoundingBoxDescent,c=n.strikethrough?(l+h)/2:h;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=n.decorationWidth||2,t.moveTo(a,c),t.lineTo(r,c),t.stroke()}}function Ce(t,e){const{x:i,y:s,w:n,h:o,radius:a}=e;t.arc(i+a.topLeft,s+a.topLeft,a.topLeft,-Et,Ot,!0),t.lineTo(i,s+o-a.bottomLeft),t.arc(i+a.bottomLeft,s+o-a.bottomLeft,a.bottomLeft,Ot,Et,!0),t.lineTo(i+n-a.bottomRight,s+o),t.arc(i+n-a.bottomRight,s+o-a.bottomRight,a.bottomRight,Et,0,!0),t.lineTo(i+n,s+a.topRight),t.arc(i+n-a.topRight,s+a.topRight,a.topRight,0,-Et,!0),t.lineTo(i+a.topLeft,s)}function Oe(t,e=[""],i=t,s,n=(()=>t[0])){ut(s)||(s=Ne("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:s,_getTarget:n,override:n=>Oe([n,...t],e,i,s)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>Ee(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=Ne(Le(o,t),i),ut(n))return Re(t,n)?Be(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>We(t).includes(e),ownKeys:t=>We(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function Ae(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Te(t,s),setContext:e=>Ae(t,e,i,s),override:n=>Ae(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Ee(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];ft(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t),e=e(o,a||s),r.delete(t),Re(t,e)&&(e=Be(n._scopes,n,t,e));return e}(e,r,t,i));X(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(ut(o.index)&&s(t))e=e[o.index%e.length];else if(q(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=Be(s,n,t,l);e.push(Ae(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable));Re(e,r)&&(r=Ae(r,n,o&&o[e],a));return r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Te(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:ft(i)?i:()=>i,isIndexable:ft(s)?s:()=>s}}const Le=(t,e)=>t?t+dt(e):e,Re=(t,e)=>q(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Ee(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=i();return t[e]=s,s}function Ie(t,e,i){return ft(t)?t(e,i):t}const ze=(t,e)=>!0===t?e:"string"==typeof t?ct(e,t):void 0;function Fe(t,e,i,s,n){for(const o of e){const e=ze(i,o);if(e){t.add(e);const o=Ie(e._fallback,i,n);if(ut(o)&&o!==i&&o!==s)return o}else if(!1===e&&ut(s)&&i!==s)return null}return!1}function Be(t,e,i,s){const n=e._rootScopes,o=Ie(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let l=Ve(r,a,i,o||i,s);return null!==l&&((!ut(o)||o===i||(l=Ve(r,a,o,l,s),null!==l))&&Oe(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];if(X(n)&&q(i))return i;return n}(e,i,s))))}function Ve(t,e,i,s,n){for(;i;)i=Fe(t,e,i,s,n);return i}function Ne(t,e){for(const i of e){if(!i)continue;const e=i[t];if(ut(e))return e}}function We(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function He(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,l,h,c;for(r=0,l=s;r<l;++r)h=r+i,c=e[h],a[r]={r:n.parse(ct(c,o),h)};return a}const je=Number.EPSILON||1e-14,$e=(t,e)=>e<t.length&&!t[e].skip&&t[e],Ye=t=>"x"===t?"y":"x";function Ue(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=Kt(o,n),l=Kt(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function Xe(t,e="x"){const i=Ye(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=$e(t,0);for(a=0;a<s;++a)if(r=l,l=h,h=$e(t,a+1),l){if(h){const t=h[e]-l[e];n[a]=0!==t?(h[i]-l[i])/t:0}o[a]=r?h?Bt(n[a-1])!==Bt(n[a])?0:(n[a-1]+n[a])/2:n[a-1]:n[a]}!function(t,e,i){const s=t.length;let n,o,a,r,l,h=$e(t,0);for(let c=0;c<s-1;++c)l=h,h=$e(t,c+1),l&&h&&(Ht(e[c],0,je)?i[c]=i[c+1]=0:(n=i[c]/e[c],o=i[c+1]/e[c],r=Math.pow(n,2)+Math.pow(o,2),r<=9||(a=3/Math.sqrt(r),i[c]=n*a*e[c],i[c+1]=o*a*e[c])))}(t,n,o),function(t,e,i="x"){const s=Ye(i),n=t.length;let o,a,r,l=$e(t,0);for(let h=0;h<n;++h){if(a=r,r=l,l=$e(t,h+1),!r)continue;const n=r[i],c=r[s];a&&(o=(n-a[i])/3,r[`cp1${i}`]=n-o,r[`cp1${s}`]=c-o*e[h]),l&&(o=(l[i]-n)/3,r[`cp2${i}`]=n+o,r[`cp2${s}`]=c+o*e[h])}}(t,o,e)}function qe(t,e,i){return Math.max(Math.min(t,i),e)}function Ke(t,e,i,s,n){let o,a,r,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Xe(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)r=t[o],l=Ue(i,r,t[Math.min(o+1,a-(s?0:1))%a],e.tension),r.cp1x=l.previous.x,r.cp1y=l.previous.y,r.cp2x=l.next.x,r.cp2y=l.next.y,i=r}e.capBezierPoints&&function(t,e){let i,s,n,o,a,r=ve(t[0],e);for(i=0,s=t.length;i<s;++i)a=o,o=r,r=i<s-1&&ve(t[i+1],e),o&&(n=t[i],a&&(n.cp1x=qe(n.cp1x,e.left,e.right),n.cp1y=qe(n.cp1y,e.top,e.bottom)),r&&(n.cp2x=qe(n.cp2x,e.left,e.right),n.cp2y=qe(n.cp2y,e.top,e.bottom)))}(t,i)}const Ge=t=>0===t||1===t,Ze=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*At/i),Je=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*At/i)+1,Qe={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*Et),easeOutSine:t=>Math.sin(t*Et),easeInOutSine:t=>-.5*(Math.cos(Ot*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Ge(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Ge(t)?t:Ze(t,.075,.3),easeOutElastic:t=>Ge(t)?t:Je(t,.075,.3),easeInOutElastic(t){const e=.1125;return Ge(t)?t:t<.5?.5*Ze(2*t,e,.45):.5+.5*Je(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-Qe.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*Qe.easeInBounce(2*t):.5*Qe.easeOutBounce(2*t-1)+.5};function ti(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function ei(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function ii(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=ti(t,n,i),r=ti(n,o,i),l=ti(o,e,i),h=ti(a,r,i),c=ti(r,l,i);return ti(h,c,i)}const si=new Map;function ni(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=si.get(i);return s||(s=new Intl.NumberFormat(t,e),si.set(i,s)),s}(e,i).format(t)}const oi=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),ai=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function ri(t,e){const i=(""+t).match(oi);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}function li(t,e){const i={},s=q(e),n=s?Object.keys(e):e,o=q(t)?s?i=>Z(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=+o(t)||0;return i}function hi(t){return li(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ci(t){return li(t,["topLeft","topRight","bottomLeft","bottomRight"])}function di(t){const e=hi(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function ui(t,e){t=t||{},e=e||yt.font;let i=Z(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=Z(t.style,e.style);s&&!(""+s).match(ai)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const n={family:Z(t.family,e.family),lineHeight:ri(Z(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:Z(t.weight,e.weight),string:""};return n.string=pe(n),n}function fi(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;n<o;++n)if(a=t[n],void 0!==a&&(void 0!==e&&"function"==typeof a&&(a=a(e),r=!1),void 0!==i&&X(a)&&(a=a[i%a.length],r=!1),void 0!==a))return s&&!r&&(s.cacheable=!1),a}function gi(t,e,i){const{min:s,max:n}=t,o=Q(e,(n-s)/2),a=(t,e)=>i&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}function pi(t,e){return Object.assign(Object.create(t),e)}function mi(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function bi(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function xi(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function _i(t){return"angle"===t?{between:Jt,compare:Gt,normalize:Zt}:{between:ee,compare:(t,e)=>t-e,normalize:t=>t}}function yi({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function vi(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=_i(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=_i(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;h<c&&a(r(e[d%l][s]),n,o);++h)d--,u--;d%=l,u%=l}return u<d&&(u+=l),{start:d,end:u,loop:f,style:t.style}}(t,e,i),g=[];let p,m,b,x=!1,_=null;const y=()=>x||l(n,b,p)&&0!==r(n,b),v=()=>!x||0===r(o,p)||l(o,b,p);for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==b&&(x=l(p,n,o),null===_&&y()&&(_=0===r(p,n)?t:i),null!==_&&v()&&(g.push(yi({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,b=p));return null!==_&&g.push(yi({start:_,end:d,loop:u,count:a,style:f})),g}function wi(t,e){const i=[],s=t.segments;for(let n=0;n<s.length;n++){const o=vi(s[n],t.points,e);o.length&&i.push(...o)}return i}function Mi(t,e){const i=t.points,s=t.options.spanGaps,n=i.length;if(!n)return[];const o=!!t._loop,{start:a,end:r}=function(t,e,i,s){let n=0,o=e-1;if(i&&!s)for(;n<e&&!t[n].skip;)n++;for(;n<e&&t[n].skip;)n++;for(n%=e,i&&(o+=n);o>n&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);if(!0===s)return ki(t,[{start:a,end:r,loop:o}],i,e);return ki(t,function(t,e,i,s){const n=t.length,o=[];let a,r=e,l=t[e];for(a=e+1;a<=i;++a){const i=t[a%n];i.skip||i.stop?l.skip||(s=!1,o.push({start:e%n,end:(a-1)%n,loop:s}),e=r=i.stop?a:null):(r=a,l.skip&&(e=a)),l=i}return null!==r&&o.push({start:e%n,end:r%n,loop:s}),o}(i,a,r<a?r+n:r,!!t._fullLoop&&0===a&&r===n-1),i,e)}function ki(t,e,i,s){return s&&s.setContext&&i?function(t,e,i,s){const n=t._chart.getContext(),o=Si(t.options),{_datasetIndex:a,options:{spanGaps:r}}=t,l=i.length,h=[];let c=o,d=e[0].start,u=d;function f(t,e,s,n){const o=r?-1:1;if(t!==e){for(t+=l;i[t%l].skip;)t-=o;for(;i[e%l].skip;)e+=o;t%l!=e%l&&(h.push({start:t%l,end:e%l,loop:s,style:n}),c=n,d=e%l)}}for(const t of e){d=r?d:t.start;let e,o=i[d%l];for(u=d+1;u<=t.end;u++){const r=i[u%l];e=Si(s.setContext(pi(n,{type:"segment",p0:o,p1:r,p0DataIndex:(u-1)%l,p1DataIndex:u%l,datasetIndex:a}))),Pi(e,c)&&f(d,u-1,t.loop,c),o=r,c=e}d<u-1&&f(d,u-1,t.loop,c)}return h}(t,e,i,s):e}function Si(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Pi(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}var Di=Object.freeze({__proto__:null,easingEffects:Qe,isPatternOrGradient:W,color:H,getHoverColor:j,noop:$,uid:Y,isNullOrUndef:U,isArray:X,isObject:q,isFinite:K,finiteOrDefault:G,valueOrDefault:Z,toPercentage:J,toDimension:Q,callback:tt,each:et,_elementsEqual:it,clone:st,_merger:ot,merge:at,mergeIf:rt,_mergerIf:lt,_deprecated:function(t,e,i,s){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+s+'" instead')},resolveObjectKey:ct,_capitalize:dt,defined:ut,isFunction:ft,setsEqual:gt,_isClickEvent:pt,toFontString:pe,_measureText:me,_longestText:be,_alignPixel:xe,clearCanvas:_e,drawPoint:ye,_isPointInArea:ve,clipArea:we,unclipArea:Me,_steppedLineTo:ke,_bezierCurveTo:Se,renderText:Pe,addRoundedRectPath:Ce,_lookup:vt,_lookupByKey:wt,_rlookupByKey:Mt,_filterBetween:kt,listenArrayEvents:Pt,unlistenArrayEvents:Dt,_arrayUnique:Ct,_createResolver:Oe,_attachContext:Ae,_descriptors:Te,_parseObjectDataRadialScale:He,splineCurve:Ue,splineCurveMonotone:Xe,_updateBezierControlPoints:Ke,_isDomSupported:ie,_getParentNode:se,getStyle:ae,getRelativePosition:he,getMaximumSize:de,retinaScale:ue,supportsEventListenerOptions:fe,readUsedSize:ge,fontString:function(t,e,i){return e+" "+t+"px "+i},requestAnimFrame:t,throttled:e,debounce:i,_toLeftRightCenter:s,_alignStartEnd:n,_textX:o,_pointInLine:ti,_steppedInterpolation:ei,_bezierInterpolation:ii,formatNumber:ni,toLineHeight:ri,_readValueToProps:li,toTRBL:hi,toTRBLCorners:ci,toPadding:di,toFont:ui,resolve:fi,_addGrace:gi,createContext:pi,PI:Ot,TAU:At,PITAU:Tt,INFINITY:Lt,RAD_PER_DEG:Rt,HALF_PI:Et,QUARTER_PI:It,TWO_THIRDS_PI:zt,log10:Ft,sign:Bt,niceNum:Vt,_factorize:Nt,isNumber:Wt,almostEquals:Ht,almostWhole:jt,_setMinAndMaxByKey:$t,toRadians:Yt,toDegrees:Ut,_decimalPlaces:Xt,getAngleFromPoint:qt,distanceBetweenPoints:Kt,_angleDiff:Gt,_normalizeAngle:Zt,_angleBetween:Jt,_limitValue:Qt,_int16Range:te,_isBetween:ee,getRtlAdapter:mi,overrideTextDirection:bi,restoreTextDirection:xi,_boundSegment:vi,_boundSegments:wi,_computeSegments:Mi});function Ci(t,e,i,s){const{controller:n,data:o,_sorted:a}=t,r=n._cachedMeta.iScale;if(r&&e===r.axis&&"r"!==e&&a&&o.length){const t=r._reversePixels?Mt:wt;if(!s)return t(o,e,i);if(n._sharedOptions){const s=o[0],n="function"==typeof s.getRange&&s.getRange(e);if(n){const s=t(o,e,i-n),a=t(o,e,i+n);return{lo:s.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function Oi(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let t=0,i=o.length;t<i;++t){const{index:i,data:r}=o[t],{lo:l,hi:h}=Ci(o[t],e,a,n);for(let t=l;t<=h;++t){const e=r[t];e.skip||s(e,i,t)}}}function Ai(t,e,i,s,n){const o=[];if(!n&&!t.isPointInArea(e))return o;return Oi(t,i,e,(function(i,a,r){(n||ve(i,t.chartArea,0))&&i.inRange(e.x,e.y,s)&&o.push({element:i,datasetIndex:a,index:r})}),!0),o}function Ti(t,e,i,s,n,o){let a=[];const r=function(t){const e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,s){const n=e?Math.abs(t.x-s.x):0,o=i?Math.abs(t.y-s.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2))}}(i);let l=Number.POSITIVE_INFINITY;return Oi(t,i,e,(function(i,h,c){const d=i.inRange(e.x,e.y,n);if(s&&!d)return;const u=i.getCenterPoint(n);if(!(!!o||t.isPointInArea(u))&&!d)return;const f=r(e,u);f<l?(a=[{element:i,datasetIndex:h,index:c}],l=f):f===l&&a.push({element:i,datasetIndex:h,index:c})})),a}function Li(t,e,i,s,n,o){return o||t.isPointInArea(e)?"r"!==i||s?Ti(t,e,i,s,n,o):function(t,e,i,s){let n=[];return Oi(t,i,e,(function(t,i,o){const{startAngle:a,endAngle:r}=t.getProps(["startAngle","endAngle"],s),{angle:l}=qt(t,{x:e.x,y:e.y});Jt(l,a,r)&&n.push({element:t,datasetIndex:i,index:o})})),n}(t,e,i,n):[]}function Ri(t,e,i,s,n){const o=[],a="x"===i?"inXRange":"inYRange";let r=!1;return Oi(t,i,e,((t,s,l)=>{t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:l}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var Ei={evaluateInteractionItems:Oi,modes:{index(t,e,i,s){const n=he(e,t),o=i.axis||"x",a=i.includeInvisible||!1,r=i.intersect?Ai(t,n,o,s,a):Li(t,n,o,!1,s,a),l=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,i=t.data[e];i&&!i.skip&&l.push({element:i,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,i,s){const n=he(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;let r=i.intersect?Ai(t,n,o,s,a):Li(t,n,o,!1,s,a);if(r.length>0){const e=r[0].datasetIndex,i=t.getDatasetMeta(e).data;r=[];for(let t=0;t<i.length;++t)r.push({element:i[t],datasetIndex:e,index:t})}return r},point:(t,e,i,s)=>Ai(t,he(e,t),i.axis||"xy",s,i.includeInvisible||!1),nearest(t,e,i,s){const n=he(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;return Li(t,n,o,i.intersect,s,a)},x:(t,e,i,s)=>Ri(t,he(e,t),"x",i.intersect,s),y:(t,e,i,s)=>Ri(t,he(e,t),"y",i.intersect,s)}};const Ii=["left","top","right","bottom"];function zi(t,e){return t.filter((t=>t.pos===e))}function Fi(t,e){return t.filter((t=>-1===Ii.indexOf(t.pos)&&t.box.axis===e))}function Bi(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function Vi(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!Ii.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o<a;++o){r=t[o];const{fullSize:a}=r.box,l=i[r.stack],h=l&&r.stackWeight/l.weight;r.horizontal?(r.width=h?h*s:a&&e.availableWidth,r.height=n):(r.width=s,r.height=h?h*n:a&&e.availableHeight)}return i}function Ni(t,e,i,s){return Math.max(t[i],e[i])+Math.max(t[s],e[s])}function Wi(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Hi(t,e,i,s){const{pos:n,box:o}=i,a=t.maxPadding;if(!q(n)){i.size&&(t[n]-=i.size);const e=s[i.stack]||{size:0,count:1};e.size=Math.max(e.size,i.horizontal?o.height:o.width),i.size=e.size/e.count,t[n]+=i.size}o.getPadding&&Wi(a,o.getPadding());const r=Math.max(0,e.outerWidth-Ni(a,t,"left","right")),l=Math.max(0,e.outerHeight-Ni(a,t,"top","bottom")),h=r!==t.w,c=l!==t.h;return t.w=r,t.h=l,i.horizontal?{same:h,other:c}:{same:c,other:h}}function ji(t,e){const i=e.maxPadding;function s(t){const s={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{s[t]=Math.max(e[t],i[t])})),s}return s(t?["left","right"]:["top","bottom"])}function $i(t,e,i,s){const n=[];let o,a,r,l,h,c;for(o=0,a=t.length,h=0;o<a;++o){r=t[o],l=r.box,l.update(r.width||e.w,r.height||e.h,ji(r.horizontal,e));const{same:a,other:d}=Hi(e,i,r,s);h|=a&&n.length,c=c||d,l.fullSize||n.push(r)}return h&&$i(n,e,i,s)||c}function Yi(t,e,i,s,n){t.top=i,t.left=e,t.right=e+s,t.bottom=i+n,t.width=s,t.height=n}function Ui(t,e,i,s){const n=i.padding;let{x:o,y:a}=e;for(const r of t){const t=r.box,l=s[r.stack]||{count:1,placed:0,weight:1},h=r.stackWeight/l.weight||1;if(r.horizontal){const s=e.w*h,o=l.size||t.height;ut(l.start)&&(a=l.start),t.fullSize?Yi(t,n.left,a,i.outerWidth-n.right-n.left,o):Yi(t,e.left+l.placed,a,s,o),l.start=a,l.placed+=s,a=t.bottom}else{const s=e.h*h,a=l.size||t.width;ut(l.start)&&(o=l.start),t.fullSize?Yi(t,o,n.top,a,i.outerHeight-n.bottom-n.top):Yi(t,o,e.top+l.placed,a,s),l.start=o,l.placed+=s,o=t.right}}e.x=o,e.y=a}yt.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Xi={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(t,e,i,s){if(!t)return;const n=di(t.options.layout.padding),o=Math.max(e-n.width,0),a=Math.max(i-n.height,0),r=function(t){const e=function(t){const e=[];let i,s,n,o,a,r;for(i=0,s=(t||[]).length;i<s;++i)n=t[i],({position:o,options:{stack:a,stackWeight:r=1}}=n),e.push({index:i,box:n,pos:o,horizontal:n.isHorizontal(),weight:n.weight,stack:a&&o+a,stackWeight:r});return e}(t),i=Bi(e.filter((t=>t.box.fullSize)),!0),s=Bi(zi(e,"left"),!0),n=Bi(zi(e,"right")),o=Bi(zi(e,"top"),!0),a=Bi(zi(e,"bottom")),r=Fi(e,"x"),l=Fi(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(a).concat(r),chartArea:zi(e,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(a).concat(r)}}(t.boxes),l=r.vertical,h=r.horizontal;et(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),u=Object.assign({},n);Wi(u,di(s));const f=Object.assign({maxPadding:u,w:o,h:a,x:n.left,y:n.top},n),g=Vi(l.concat(h),d);$i(r.fullSize,f,d,g),$i(l,f,d,g),$i(h,f,d,g)&&$i(l,f,d,g),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(f),Ui(r.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,Ui(r.rightAndBottom,f,d,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},et(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class qi{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class Ki extends qi{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Gi={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Zi=t=>null===t||""===t;const Ji=!!fe&&{passive:!0};function Qi(t,e,i){t.canvas.removeEventListener(e,i,Ji)}function ts(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function es(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||ts(i.addedNodes,s),e=e&&!ts(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function is(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||ts(i.removedNodes,s),e=e&&!ts(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const ss=new Map;let ns=0;function os(){const t=window.devicePixelRatio;t!==ns&&(ns=t,ss.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function as(t,i,s){const n=t.canvas,o=n&&se(n);if(!o)return;const a=e(((t,e)=>{const i=o.clientWidth;s(t,e),i<o.clientWidth&&s()}),window),r=new ResizeObserver((t=>{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||a(i,s)}));return r.observe(o),function(t,e){ss.size||window.addEventListener("resize",os),ss.set(t,e)}(t,a),r}function rs(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){ss.delete(t),ss.size||window.removeEventListener("resize",os)}(t)}function ls(t,i,s){const n=t.canvas,o=e((e=>{null!==t.ctx&&s(function(t,e){const i=Gi[t.type]||t.type,{x:s,y:n}=he(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,i){t.addEventListener(e,i,Ji)}(n,i,o),o}class hs extends qi{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t.$chartjs={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Zi(n)){const e=ge(t,"width");void 0!==e&&(t.width=e)}if(Zi(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=ge(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e.$chartjs)return!1;const i=e.$chartjs.initial;["height","width"].forEach((t=>{const s=i[t];U(s)?e.removeAttribute(t):e.setAttribute(t,s)}));const s=i.style||{};return Object.keys(s).forEach((t=>{e.style[t]=s[t]})),e.width=e.width,delete e.$chartjs,!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:es,detach:is,resize:as}[e]||ls;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];if(!s)return;({attach:rs,detach:rs,resize:rs}[e]||Qi)(t,e,s),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return de(t,e,i,s)}isAttached(t){const e=se(t);return!(!e||!e.isConnected)}}function cs(t){return!ie()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Ki:hs}var ds=Object.freeze({__proto__:null,_detectPlatform:cs,BasePlatform:qi,BasicPlatform:Ki,DomPlatform:hs});const us="transparent",fs={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=H(t||us),n=s.valid&&H(e||us);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class gs{constructor(t,e,i,s){const n=e[i];s=fi([t.to,s,n,t.from]);const o=fi([t.from,n,s]);this._active=!0,this._fn=t.fn||fs[t.type||typeof o],this._easing=Qe[t.easing]||Qe.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=fi([t.to,e,s,t.from]),this._from=fi([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e<i),!this._active)return this._target[s]=a,void this._notify(!0);e<0?this._target[s]=n:(r=e/i%2,r=o&&r>1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}yt.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const ps=Object.keys(yt.animation);yt.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),yt.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),yt.describe("animations",{_fallback:"animation"}),yt.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class ms{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!q(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const s=t[i];if(!q(s))return;const n={};for(const t of ps)n[t]=s[t];(X(s.properties)&&s.properties||[i]).forEach((t=>{t!==i&&e.has(t)||e.set(t,n)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(!i)return void(t.options=e);i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e<s.length;e++){const n=t[s[e]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)}(t.options.$animations,i).then((()=>{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const l=o[r];if("$"===l.charAt(0))continue;if("options"===l){s.push(...this._animateOptions(t,e));continue}const h=e[l];let c=n[l];const d=i.get(l);if(c){if(d&&c.active()){c.update(d,h,a);continue}c.cancel()}d&&d.duration?(n[l]=c=new gs(d,t,l,h),s.push(c)):t[l]=h}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(a.add(this._chart,i),!0):void 0}}function bs(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function xs(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n<o;++n)i.push(s[n].index);return i}function _s(t,e,i,s={}){const n=t.keys,o="single"===s.mode;let a,r,l,h;if(null!==e){for(a=0,r=n.length;a<r;++a){if(l=+n[a],l===i){if(s.all)continue;break}h=t.values[l],K(h)&&(o||0===e||Bt(e)===Bt(h))&&(e+=h)}return e}}function ys(t,e){const i=t&&t.options.stacked;return i||void 0===i&&void 0!==e.stack}function vs(t,e,i){const s=t[e]||(t[e]={});return s[i]||(s[i]={})}function ws(t,e,i,s){for(const n of e.getMatchingVisibleMetas(s).reverse()){const e=t[n.index];if(i&&e>0||!i&&e<0)return n.index}return null}function Ms(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,h=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;t<d;++t){const i=e[t],{[l]:o,[h]:d}=i;u=(i._stacks||(i._stacks={}))[h]=vs(n,c,o),u[r]=d,u._top=ws(u,a,!0,s.type),u._bottom=ws(u,a,!1,s.type)}}function ks(t,e){const i=t.scales;return Object.keys(i).filter((t=>i[t].axis===e)).shift()}function Ss(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i]}}}const Ps=t=>"reset"===t||"none"===t,Ds=(t,e)=>e?t:Object.assign({},t);class Cs{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ys(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ss(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=Z(i.xAxisID,ks(t,"x")),o=e.yAxisID=Z(i.yAxisID,ks(t,"y")),a=e.rAxisID=Z(i.rAxisID,ks(t,"r")),r=e.indexAxis,l=e.iAxisID=s(r,n,o,a),h=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Dt(this._data,this),t._stacked&&Ss(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(q(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let s,n,o;for(s=0,n=e.length;s<n;++s)o=e[s],i[s]={x:o,y:t[o]};return i}(e);else if(i!==e){if(i){Dt(i,this);const t=this._cachedMeta;Ss(t),t._parsed=[]}e&&Object.isExtensible(e)&&Pt(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const n=e._stacked;e._stacked=ys(e.vScale,e),e.stack!==i.stack&&(s=!0,Ss(e),e.stack=i.stack),this._resyncElements(t),(s||n!==e._stacked)&&Ms(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:s}=this,{iScale:n,_stacked:o}=i,a=n.axis;let r,l,h,c=0===t&&e===s.length||i._sorted,d=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,h=s;else{h=X(s[t])?this.parseArrayData(i,s,t,e):q(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const n=()=>null===l[a]||d&&l[a]<d[a];for(r=0;r<e;++r)i._parsed[r+t]=l=h[r],c&&(n()&&(c=!1),d=l);i._sorted=c}o&&Ms(this,h)}parsePrimitiveData(t,e,i,s){const{iScale:n,vScale:o}=t,a=n.axis,r=o.axis,l=n.getLabels(),h=n===o,c=new Array(s);let d,u,f;for(d=0,u=s;d<u;++d)f=d+i,c[d]={[a]:h||n.parse(l[f],f),[r]:o.parse(e[f],f)};return c}parseArrayData(t,e,i,s){const{xScale:n,yScale:o}=t,a=new Array(s);let r,l,h,c;for(r=0,l=s;r<l;++r)h=r+i,c=e[h],a[r]={x:n.parse(c[0],h),y:o.parse(c[1],h)};return a}parseObjectData(t,e,i,s){const{xScale:n,yScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l=new Array(s);let h,c,d,u;for(h=0,c=s;h<c;++h)d=h+i,u=e[d],l[h]={x:n.parse(ct(u,a),d),y:o.parse(ct(u,r),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const s=this.chart,n=this._cachedMeta,o=e[t.axis];return _s({keys:xs(s,!0),values:e._stacks[t.axis]},o,n.index,{mode:i})}updateRangeFromParsed(t,e,i,s){const n=i[e.axis];let o=null===n?NaN:n;const a=s&&i._stacks[e.axis];s&&a&&(s.values=a,o=_s(s,n,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const i=this._cachedMeta,s=i._parsed,n=i._sorted&&t===i.iScale,o=s.length,a=this._getOtherScale(t),r=((t,e,i)=>t&&!e.hidden&&e._stacked&&{keys:xs(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:c}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(a);let d,u;function f(){u=s[d];const e=u[a.axis];return!K(u[t.axis])||h>e||c<e}for(d=0;d<o&&(f()||(this.updateRangeFromParsed(l,t,u,r),!n));++d);if(n)for(d=o-1;d>=0;--d)if(!f()){this.updateRangeFromParsed(l,t,u,r);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s<n;++s)o=e[s][t.axis],K(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,s=e.vScale,n=this.getParsed(t);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:s?""+s.getLabelForValue(n[s.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,i,s,n;return q(t)?(e=t.top,i=t.right,s=t.bottom,n=t.left):e=i=s=n=t,{top:e,right:i,bottom:s,left:n,disabled:!1===t}}(Z(this.options.clip,function(t,e,i){if(!1===i)return!1;const s=bs(t,i),n=bs(e,i);return{top:n.end,right:s.end,bottom:n.start,left:s.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,s=i.data||[],n=e.chartArea,o=[],a=this._drawStart||0,r=this._drawCount||s.length-a,l=this.options.drawActiveElementsOnTop;let h;for(i.dataset&&i.dataset.draw(t,n,a,r),h=a;h<a+r;++h){const e=s[h];e.hidden||(e.active&&l?o.push(e):e.draw(t,n))}for(h=0;h<o.length;++h)o[h].draw(t,n)}getStyle(t,e){const i=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const s=this.getDataset();let n;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];n=e.$context||(e.$context=function(t,e,i){return pi(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:i,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),n.parsed=this.getParsed(t),n.raw=s.data[t],n.index=n.dataIndex=t}else n=this.$context||(this.$context=function(t,e){return pi(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),n.dataset=s,n.index=n.datasetIndex=this.index;return n.active=!!e,n.mode=i,n}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const s="active"===e,n=this._cachedDataOpts,o=t+"-"+e,a=n[o],r=this.enableOptionSharing&&ut(i);if(a)return Ds(a,r);const l=this.chart.config,h=l.datasetElementScopeKeys(this._type,t),c=s?[`${t}Hover`,"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),h),u=Object.keys(yt.elements[t]),f=l.resolveNamedOptions(d,u,(()=>this.getContext(i,s)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(Ds(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const l=new ms(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Ps(t)||this.chart._animationsDisabled}updateElement(t,e,i,s){Ps(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!Ps(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n<s&&this._removeElements(n,s-n)}_insertElements(t,e,i=!0){const s=this._cachedMeta,n=s.data,o=t+e;let a;const r=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;a<o;++a)n[a]=new this.dataElementType;this._parsing&&r(s._parsed),this.parse(t,e),i&&this.updateElements(n,t,e,"reset")}updateElements(t,e,i,s){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const s=i._parsed.splice(t,e);i._stacked&&Ss(i,s)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,s]=t;this[e](i,s)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Cs.defaults={},Cs.prototype.datasetElementType=null,Cs.prototype.dataElementType=null;class Os{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return Wt(this.x)&&Wt(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const s={};return t.forEach((t=>{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}Os.defaults={},Os.defaultRoutes=void 0;const As={values:t=>X(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t));return i}(t,i)}const a=Ft(Math.abs(o)),r=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),ni(t,s,l)},logarithmic(t,e,i){if(0===t)return"0";const s=t/Math.pow(10,Math.floor(Ft(t)));return 1===s||2===s||5===s?As.numeric.call(this,t,e,i):""}};var Ts={formatters:As};function Ls(t,e){const i=t.options.ticks,s=i.maxTicksLimit||function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),n=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;i<s;i++)t[i].major&&e.push(i);return e}(e):[],o=n.length,a=n[0],r=n[o-1],l=[];if(o>s)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;n<t.length;n++)n===a&&(e.push(t[n]),o++,a=i[o*s])}(e,l,n,o/s),l;const h=function(t,e,i){const s=function(t){const e=t.length;let i,s;if(e<2)return!1;for(s=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==s)return!1;return s}(t),n=e.length/i;if(!s)return Math.max(n,1);const o=Nt(s);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];if(e>n)return e}return Math.max(n,1)}(n,e,s);if(o>0){let t,i;const s=o>1?Math.round((r-a)/(o-1)):null;for(Rs(e,l,h,U(s)?0:a-s,a),t=0,i=o-1;t<i;t++)Rs(e,l,h,n[t],n[t+1]);return Rs(e,l,h,r,U(s)?e.length:r+s),l}return Rs(e,l,h),l}function Rs(t,e,i,s,n){const o=Z(s,0),a=Math.min(Z(n,t.length),t.length);let r,l,h,c=0;for(i=Math.ceil(i),n&&(r=n-s,i=r/Math.floor(r/i)),h=o;h<0;)c++,h=Math.round(o+c*i);for(l=Math.max(o,0);l<a;l++)l===h&&(e.push(t[l]),c++,h=Math.round(o+c*i))}yt.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ts.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),yt.route("scale.ticks","color","","color"),yt.route("scale.grid","color","","borderColor"),yt.route("scale.grid","borderColor","","borderColor"),yt.route("scale.title","color","","color"),yt.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),yt.describe("scales",{_fallback:"scale"}),yt.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Es=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function Is(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;o<n;o+=s)i.push(t[Math.floor(o)]);return i}function zs(t,e,i){const s=t.ticks.length,n=Math.min(e,s-1),o=t._startPixel,a=t._endPixel,r=1e-6;let l,h=t.getPixelForTick(n);if(!(i&&(l=1===s?Math.max(h-o,a-h):0===e?(t.getPixelForTick(1)-h)/2:(h-t.getPixelForTick(n-1))/2,h+=n<e?l:-l,h<o-r||h>a+r)))return h}function Fs(t){return t.drawTicks?t.tickLength:0}function Bs(t,e){if(!t.display)return 0;const i=ui(t.font,e),s=di(t.padding);return(X(t.text)?t.text.length:1)*i.lineHeight+s.height}function Vs(t,e,i){let n=s(t);return(i&&"right"!==e||!i&&"right"===e)&&(n=(t=>"left"===t?"right":"right"===t?"left":t)(n)),n}class Ns extends Os{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=G(t,Number.POSITIVE_INFINITY),e=G(e,Number.NEGATIVE_INFINITY),i=G(i,Number.POSITIVE_INFINITY),s=G(s,Number.NEGATIVE_INFINITY),{min:G(t,i),max:G(e,s),minDefined:K(t),maxDefined:K(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,l=a.length;r<l;++r)e=a[r].controller.getMinMax(this,t),n||(i=Math.min(i,e.min)),o||(s=Math.max(s,e.max));return i=o&&i>s?s:i,s=n&&i>s?i:s,{min:G(i,G(s,i)),max:G(s,G(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){tt(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=gi(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=a<this.ticks.length;this._convertTicksToLabels(r?Is(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=Ls(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),r&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,i=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,i=!i),this._startPixel=t,this._endPixel=e,this._reversePixels=i,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){tt(this.options.afterUpdate,[this])}beforeSetDimensions(){tt(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){tt(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),tt(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){tt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,s,n;for(i=0,s=t.length;i<s;i++)n=t[i],n.label=tt(e.callback,[n.value,i,t],this)}afterTickToLabelConversion(){tt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){tt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=this.ticks.length,s=e.minRotation||0,n=e.maxRotation;let o,a,r,l=s;if(!this._isVisible()||!e.display||s>=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const h=this._getLabelSizes(),c=h.widest.width,d=h.highest.height,u=Qt(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Fs(t.grid)-e.padding-Bs(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),l=Ut(Math.min(Math.asin(Qt((h.highest.height+6)/o,-1,1)),Math.asin(Qt(a/r,-1,1))-Math.asin(Qt(d/r,-1,1)))),l=Math.max(s,Math.min(n,l))),this.labelRotation=l}afterCalculateLabelRotation(){tt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){tt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Bs(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Fs(n)+o):(t.height=this.maxHeight,t.width=Fs(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,l=Yt(this.labelRotation),h=Math.cos(l),c=Math.sin(l);if(a){const e=i.mirror?0:c*n.width+h*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:h*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,h)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?l?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-h+o)*this.width/(this.width-h),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){tt(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e<i;e++)U(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=Is(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length)}return t}_computeLabelSizes(t,e){const{ctx:i,_longestTextCache:s}=this,n=[],o=[];let a,r,l,h,c,d,u,f,g,p,m,b=0,x=0;for(a=0;a<e;++a){if(h=t[a].label,c=this._resolveTickFontOptions(a),i.font=d=c.string,u=s[d]=s[d]||{data:{},gc:[]},f=c.lineHeight,g=p=0,U(h)||X(h)){if(X(h))for(r=0,l=h.length;r<l;++r)m=h[r],U(m)||X(m)||(g=me(i,u.data,u.gc,g,m),p+=f)}else g=me(i,u.data,u.gc,g,h),p=f;n.push(g),o.push(p),b=Math.max(g,b),x=Math.max(p,x)}!function(t,e){et(t,(t=>{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n<s;++n)delete t.data[i[n]];i.splice(0,s)}}))}(s,e);const _=n.indexOf(b),y=o.indexOf(x),v=t=>({width:n[t]||0,height:o[t]||0});return{first:v(0),last:v(e-1),widest:v(_),highest:v(y),widths:n,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return te(this._alignToPixels?xe(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=function(t,e,i){return pi(t,{tick:i,index:e,type:"tick"})}(this.getContext(),t,i))}return this.$context||(this.$context=pi(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=Yt(this.labelRotation),i=Math.abs(Math.cos(e)),s=Math.abs(Math.sin(e)),n=this._getLabelSizes(),o=t.autoSkipPadding||0,a=n?n.widest.width+o:0,r=n?n.highest.height+o:0;return this.isHorizontal()?r*i>a*s?a/i:r/s:r*s<a*i?r/i:a/s}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:o}=s,a=n.offset,r=this.isHorizontal(),l=this.ticks.length+(a?1:0),h=Fs(n),c=[],d=n.setContext(this.getContext()),u=d.drawBorder?d.borderWidth:0,f=u/2,g=function(t){return xe(i,t,u)};let p,m,b,x,_,y,v,w,M,k,S,P;if("top"===o)p=g(this.bottom),y=this.bottom-h,w=p-f,k=g(t.top)+f,P=t.bottom;else if("bottom"===o)p=g(this.top),k=t.top,P=g(t.bottom)-f,y=p+f,w=this.top+h;else if("left"===o)p=g(this.right),_=this.right-h,v=p-f,M=g(t.left)+f,S=t.right;else if("right"===o)p=g(this.left),M=t.left,S=g(t.right)-f,_=p+f,v=this.left+h;else if("x"===e){if("center"===o)p=g((t.top+t.bottom)/2+.5);else if(q(o)){const t=Object.keys(o)[0],e=o[t];p=g(this.chart.scales[t].getPixelForValue(e))}k=t.top,P=t.bottom,y=p+f,w=y+h}else if("y"===e){if("center"===o)p=g((t.left+t.right)/2);else if(q(o)){const t=Object.keys(o)[0],e=o[t];p=g(this.chart.scales[t].getPixelForValue(e))}_=p-f,v=_-h,M=t.left,S=t.right}const D=Z(s.ticks.maxTicksLimit,l),C=Math.max(1,Math.ceil(l/D));for(m=0;m<l;m+=C){const t=n.setContext(this.getContext(m)),e=t.lineWidth,s=t.color,o=n.borderDash||[],l=t.borderDashOffset,h=t.tickWidth,d=t.tickColor,u=t.tickBorderDash||[],f=t.tickBorderDashOffset;b=zs(this,m,a),void 0!==b&&(x=xe(i,b,e),r?_=v=M=S=x:y=w=k=P=x,c.push({tx1:_,ty1:y,tx2:v,ty2:w,x1:M,y1:k,x2:S,y2:P,width:e,color:s,borderDash:o,borderDashOffset:l,tickWidth:h,tickColor:d,tickBorderDash:u,tickBorderDashOffset:f}))}return this._ticksLength=l,this._borderValue=p,c}_computeLabelItems(t){const e=this.axis,i=this.options,{position:s,ticks:n}=i,o=this.isHorizontal(),a=this.ticks,{align:r,crossAlign:l,padding:h,mirror:c}=n,d=Fs(i.grid),u=d+h,f=c?-h:u,g=-Yt(this.labelRotation),p=[];let m,b,x,_,y,v,w,M,k,S,P,D,C="middle";if("top"===s)v=this.bottom-f,w=this._getXAxisLabelAlignment();else if("bottom"===s)v=this.top+f,w=this._getXAxisLabelAlignment();else if("left"===s){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,y=t.x}else if("right"===s){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,y=t.x}else if("x"===e){if("center"===s)v=(t.top+t.bottom)/2+u;else if(q(s)){const t=Object.keys(s)[0],e=s[t];v=this.chart.scales[t].getPixelForValue(e)+u}w=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===s)y=(t.left+t.right)/2-u;else if(q(s)){const t=Object.keys(s)[0],e=s[t];y=this.chart.scales[t].getPixelForValue(e)}w=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===r?C="top":"end"===r&&(C="bottom"));const O=this._getLabelSizes();for(m=0,b=a.length;m<b;++m){x=a[m],_=x.label;const t=n.setContext(this.getContext(m));M=this.getPixelForTick(m)+n.labelOffset,k=this._resolveTickFontOptions(m),S=k.lineHeight,P=X(_)?_.length:1;const e=P/2,i=t.color,r=t.textStrokeColor,h=t.textStrokeWidth;let d,u=w;if(o?(y=M,"inner"===w&&(u=m===b-1?this.options.reverse?"left":"right":0===m?this.options.reverse?"right":"left":"center"),D="top"===s?"near"===l||0!==g?-P*S+S/2:"center"===l?-O.highest.height/2-e*S+S:-O.highest.height+S/2:"near"===l||0!==g?S/2:"center"===l?O.highest.height/2-e*S:O.highest.height-P*S,c&&(D*=-1)):(v=M,D=(1-P)*S/2),t.showLabelBackdrop){const e=di(t.backdropPadding),i=O.heights[m],s=O.widths[m];let n=v+D-e.top,o=y-e.left;switch(C){case"middle":n-=i/2;break;case"bottom":n-=i}switch(w){case"center":o-=s/2;break;case"right":o-=s}d={left:o,top:n,width:s+e.width,height:i+e.height,color:t.backdropColor}}p.push({rotation:g,label:_,font:k,color:i,strokeColor:r,strokeWidth:h,textOffset:D,textAlign:u,textBaseline:C,translation:[y,v],backdrop:d})}return p}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Yt(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:s,padding:n}}=this.options,o=t+n,a=this._getLabelSizes().widest.width;let r,l;return"left"===e?s?(l=this.right+n,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l+=a)):(l=this.right-o,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l=this.left)):"right"===e?s?(l=this.left+n,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l-=a)):(l=this.left+o,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l=this.right)):r="right",{textAlign:r,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:s,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,s,n,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));if(i>=0){return e.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n<o;++n){const t=s[n];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:i}}=this,s=i.setContext(this.getContext()),n=i.drawBorder?s.borderWidth:0;if(!n)return;const o=i.setContext(this.getContext(0)).lineWidth,a=this._borderValue;let r,l,h,c;this.isHorizontal()?(r=xe(t,this.left,n)-n/2,l=xe(t,this.right,o)+o/2,h=c=a):(h=xe(t,this.top,n)-n/2,c=xe(t,this.bottom,o)+o/2,r=l=a),e.save(),e.lineWidth=s.borderWidth,e.strokeStyle=s.borderColor,e.beginPath(),e.moveTo(r,h),e.lineTo(l,c),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,i=this._computeLabelArea();i&&we(e,i);const s=this._labelItems||(this._labelItems=this._computeLabelItems(t));let n,o;for(n=0,o=s.length;n<o;++n){const t=s[n],i=t.font,o=t.label;t.backdrop&&(e.fillStyle=t.backdrop.color,e.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height)),Pe(e,o,0,t.textOffset,i,t)}i&&Me(e)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:s}}=this;if(!i.display)return;const o=ui(i.font),a=di(i.padding),r=i.align;let l=o.lineHeight/2;"bottom"===e||"center"===e||q(e)?(l+=a.bottom,X(i.text)&&(l+=o.lineHeight*(i.text.length-1))):l+=a.top;const{titleX:h,titleY:c,maxWidth:d,rotation:u}=function(t,e,i,s){const{top:o,left:a,bottom:r,right:l,chart:h}=t,{chartArea:c,scales:d}=h;let u,f,g,p=0;const m=r-o,b=l-a;if(t.isHorizontal()){if(f=n(s,a,l),q(i)){const t=Object.keys(i)[0],s=i[t];g=d[t].getPixelForValue(s)+m-e}else g="center"===i?(c.bottom+c.top)/2+m-e:Es(t,i,e);u=l-a}else{if(q(i)){const t=Object.keys(i)[0],s=i[t];f=d[t].getPixelForValue(s)-b+e}else f="center"===i?(c.left+c.right)/2-b+e:Es(t,i,e);g=n(s,r,o),p="left"===i?-Et:Et}return{titleX:f,titleY:g,maxWidth:u,rotation:p}}(this,l,e,r);Pe(t,i.text,0,0,o,{color:i.color,maxWidth:d,rotation:u,textAlign:Vs(r,e,s),textBaseline:"middle",translation:[h,c]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=Z(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===Ns.prototype.draw?[{z:i,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n<o;++n){const o=e[n];o[i]!==this.id||t&&o.type!==t||s.push(o)}return s}_resolveTickFontOptions(t){return ui(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Ws{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;(function(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const s=this.items,n=t.id,o=this.scope+"."+n;if(!n)throw new Error("class does not have id: "+t);return n in s||(s[n]=t,function(t,e,i){const s=at(Object.create(null),[i?yt.get(i):{},yt.get(e),t.defaults]);yt.set(e,s),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((i=>{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),l=a.join(".");yt.route(o,n,l,r)}))}(e,t.defaultRoutes);t.descriptors&&yt.describe(e,t.descriptors)}(t,o,i),this.override&&yt.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in yt[s]&&(delete yt[s][i],this.override&&delete mt[i])}}var Hs=new class{constructor(){this.controllers=new Ws(Cs,"datasets",!0),this.elements=new Ws(Os,"elements"),this.plugins=new Ws(Object,"plugins"),this.scales=new Ws(Ns,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):et(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=dt(t);tt(i["before"+s],[],i),e[t](i),tt(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const s=e.get(t);if(void 0===s)throw new Error('"'+t+'" is not a registered '+i+".");return s}};class js{constructor(){this._init=[]}notify(t,e,i,s){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const n=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(n,t,e,i);return"afterDestroy"===e&&(this._notify(n,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,i,s){s=s||{};for(const n of t){const t=n.plugin;if(!1===tt(t[i],[e,s,n.options],t)&&s.cancelable)return!1}return!0}invalidate(){U(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,s=Z(i.options&&i.options.plugins,{}),n=function(t){const e=[],i=Object.keys(Hs.plugins.items);for(let t=0;t<i.length;t++)e.push(Hs.getPlugin(i[t]));const s=t.plugins||[];for(let t=0;t<s.length;t++){const i=s[t];-1===e.indexOf(i)&&e.push(i)}return e}(i);return!1!==s||e?function(t,e,i,s){const n=[],o=t.getContext();for(let a=0;a<e.length;a++){const r=e[a],l=$s(i[r.id],s);null!==l&&n.push({plugin:r,options:Ys(t.config,r,l,o)})}return n}(t,n,s,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,s=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function $s(t,e){return e||!1!==t?!0===t?{}:t:null}function Ys(t,e,i,s){const n=t.pluginScopeKeys(e),o=t.getOptionScopes(i,n);return t.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Us(t,e){const i=yt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function Xs(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.charAt(0).toLowerCase();var i}function qs(t){const e=t.options||(t.options={});e.plugins=Z(e.plugins,{}),e.scales=function(t,e){const i=mt[t.type]||{scales:{}},s=e.scales||{},n=Us(t.type,e),o=Object.create(null),a=Object.create(null);return Object.keys(s).forEach((t=>{const e=s[t];if(!q(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const r=Xs(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(r,n),h=i.scales||{};o[r]=o[r]||t,a[t]=rt(Object.create(null),[{axis:r},e,h[r],h[l]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,r=i.indexAxis||Us(n,e),l=(mt[n]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,r),n=i[e+"AxisID"]||o[e]||e;a[n]=a[n]||Object.create(null),rt(a[n],[{axis:e},s[n],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];rt(e,[yt.scales[e.type],yt.scale])})),a}(t,e)}function Ks(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Gs=new Map,Zs=new Set;function Js(t,e){let i=Gs.get(t);return i||(i=e(),Gs.set(t,i),Zs.add(i)),i}const Qs=(t,e,i)=>{const s=ct(e,i);void 0!==s&&t.add(s)};class tn{constructor(t){this._config=function(t){return(t=t||{}).data=Ks(t.data),qs(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Ks(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),qs(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Js(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Js(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Js(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return Js(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>Qs(r,t,e)))),e.forEach((t=>Qs(r,s,t))),e.forEach((t=>Qs(r,mt[n]||{},t))),e.forEach((t=>Qs(r,yt,t))),e.forEach((t=>Qs(r,bt,t)))}));const l=Array.from(r);return 0===l.length&&l.push(Object.create(null)),Zs.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,mt[e]||{},yt.datasets[e]||{},{type:e},yt,bt]}resolveNamedOptions(t,e,i,s=[""]){const n={$shared:!0},{resolver:o,subPrefixes:a}=en(this._resolverCache,t,s);let r=o;if(function(t,e){const{isScriptable:i,isIndexable:s}=Te(t);for(const n of e){const e=i(n),o=s(n),a=(o||e)&&t[n];if(e&&(ft(a)||sn(a))||o&&X(a))return!0}return!1}(o,e)){n.$shared=!1;r=Ae(o,i=ft(i)?i():i,this.createResolver(t,i,a))}for(const t of e)n[t]=r[t];return n}createResolver(t,e,i=[""],s){const{resolver:n}=en(this._resolverCache,t,i);return q(e)?Ae(n,e,void 0,s):n}}function en(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);if(!o){o={resolver:Oe(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)}return o}const sn=t=>q(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||ft(t[i])),!1);const nn=["top","bottom","left","right","chartArea"];function on(t,e){return"top"===t||"bottom"===t||-1===nn.indexOf(t)&&"x"===e}function an(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function rn(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),tt(i&&i.onComplete,[t],e)}function ln(t){const e=t.chart,i=e.options.animation;tt(i&&i.onProgress,[t],e)}function hn(t){return ie()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const cn={},dn=t=>{const e=hn(t);return Object.values(cn).filter((t=>t.canvas===e)).pop()};function un(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}class fn{constructor(t,e){const s=this.config=new tn(e),n=hn(t),o=dn(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||cs(n)),this.platform.updateConfig(s);const l=this.platform.acquireContext(n,r.aspectRatio),h=l&&l.canvas,c=h&&h.height,d=h&&h.width;this.id=Y(),this.ctx=l,this.canvas=h,this.width=d,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new js,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=i((t=>this.update(t)),r.resizeDelay||0),this._dataChanges=[],cn[this.id]=this,l&&h?(a.listen(this,"complete",rn),a.listen(this,"progress",ln),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:s,_aspectRatio:n}=this;return U(t)?e&&n?n:s?i/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ue(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return _e(this.canvas,this.ctx),this}stop(){return a.stop(this),this}resize(t,e){a.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ue(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),tt(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){et(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=Xs(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),et(n,(e=>{const n=e.options,o=n.id,a=Xs(o,n),r=Z(n.type,e.dtype);void 0!==n.position&&on(n.position,a)===on(e.dposition)||(n.position=e.dposition),s[o]=!0;let l=null;if(o in i&&i[o].type===r)l=i[o];else{l=new(Hs.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[l.id]=l}l.init(n,t)})),et(s,((t,e)=>{t||delete i[e]})),et(i,(t=>{Xi.configure(this,t,t.options),Xi.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(an("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i<s;i++){const s=e[i];let n=this.getDatasetMeta(i);const o=s.type||this.config.type;if(n.type&&n.type!==o&&(this._destroyDatasetMeta(i),n=this.getDatasetMeta(i)),n.type=o,n.indexAxis=s.indexAxis||Us(o,this.options),n.order=s.order||0,n.index=i,n.label=""+s.label,n.visible=this.isDatasetVisible(i),n.controller)n.controller.updateIndex(i),n.controller.linkScales();else{const e=Hs.getController(o),{datasetElementType:s,dataElementType:a}=yt.datasets[o];Object.assign(e.prototype,{dataElementType:Hs.getElement(a),datasetElementType:s&&Hs.getElement(s)}),n.controller=new e(this,i),t.push(n.controller)}}return this._updateMetasets(),t}_resetElements(){et(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),i=!s&&-1===n.indexOf(e);e.buildOrUpdateElements(i),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),s||et(n,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(an("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){et(this.scales,(t=>{Xi.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);gt(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e){un(t,s,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;t<e;t++)if(!gt(s,i(t)))return;return Array.from(s).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Xi.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],et(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,ft(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),s={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",s)&&(i.controller._update(e),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(a.has(this)?this.attached&&!a.running(this)&&a.start(this):(this.draw(),rn({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let s,n;for(s=0,n=e.length;s<n;++s){const n=e[s];t&&!n.visible||i.push(n)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,s=!i.disabled,n=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(s&&we(e,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),t.controller.draw(),s&&Me(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return ve(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=Ei.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=pi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);ut(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),a.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),_e(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete cn[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};et(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){et(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},et(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a<r;++a){o=t[a];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[s+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map((({datasetIndex:t,index:e})=>{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!it(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=pt(t),l=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,tt(n.onHover,[t,a,this],this),r&&tt(n.onClick,[t,a,this],this));const h=!it(a,s);return(h||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=l,h}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}const gn=()=>et(fn.instances,(t=>t._plugins.invalidate())),pn=!0;function mn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}Object.defineProperties(fn,{defaults:{enumerable:pn,value:yt},instances:{enumerable:pn,value:cn},overrides:{enumerable:pn,value:mt},registry:{enumerable:pn,value:Hs},version:{enumerable:pn,value:"3.8.0"},getChart:{enumerable:pn,value:dn},register:{enumerable:pn,value:(...t)=>{Hs.add(...t),gn()}},unregister:{enumerable:pn,value:(...t)=>{Hs.remove(...t),gn()}}});class bn{constructor(t){this.options=t||{}}formats(){return mn()}parse(t,e){return mn()}format(t,e){return mn()}add(t,e,i){return mn()}diff(t,e,i){return mn()}startOf(t,e,i){return mn()}endOf(t,e){return mn()}}bn.override=function(t){Object.assign(bn.prototype,t)};var xn={_date:bn};function _n(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let s=[];for(let e=0,n=i.length;e<n;e++)s=s.concat(i[e].controller.getAllParsedValues(t));t._cache.$bar=Ct(s.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const l=()=>{32767!==o&&-32768!==o&&(ut(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;s<n;++s)o=e.getPixelForValue(i[s]),l();for(a=void 0,s=0,n=e.ticks.length;s<n;++s)o=e.getPixelForTick(s),l();return r}function yn(t,e,i,s){return X(t)?function(t,e,i,s){const n=i.parse(t[0],s),o=i.parse(t[1],s),a=Math.min(n,o),r=Math.max(n,o);let l=a,h=r;Math.abs(a)>Math.abs(r)&&(l=r,h=a),e[i.axis]=h,e._custom={barStart:l,barEnd:h,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function vn(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,l=[];let h,c,d,u;for(h=i,c=i+s;h<c;++h)u=e[h],d={},d[n.axis]=r||n.parse(a[h],h),l.push(yn(u,d,o,h));return l}function wn(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Mn(t,e,i,s){let n=e.borderSkipped;const o={};if(!n)return void(t.borderSkipped=o);const{start:a,end:r,reverse:l,top:h,bottom:c}=function(t){let e,i,s,n,o;return t.horizontal?(e=t.base>t.x,i="left",s="right"):(e=t.base<t.y,i="bottom",s="top"),e?(n="end",o="start"):(n="start",o="end"),{start:i,end:s,reverse:e,top:n,bottom:o}}(t);"middle"===n&&i&&(t.enableBorderRadius=!0,(i._top||0)===s?n=h:(i._bottom||0)===s?n=c:(o[kn(c,a,r,l)]=!0,n=h)),o[kn(n,a,r,l)]=!0,t.borderSkipped=o}function kn(t,e,i,s){var n,o,a;return s?(a=i,t=Sn(t=(n=t)===(o=e)?a:n===a?o:n,i,e)):t=Sn(t,e,i),t}function Sn(t,e,i){return"start"===t?e:"end"===t?i:t}function Pn(t,{inflateAmount:e},i){t.inflateAmount="auto"===e?1===i?.33:0:e}class Dn extends Cs{parsePrimitiveData(t,e,i,s){return vn(t,e,i,s)}parseArrayData(t,e,i,s){return vn(t,e,i,s)}parseObjectData(t,e,i,s){const{iScale:n,vScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l="x"===n.axis?a:r,h="x"===o.axis?a:r,c=[];let d,u,f,g;for(d=i,u=i+s;d<u;++d)g=e[d],f={},f[n.axis]=n.parse(ct(g,l),d),c.push(yn(ct(g,h),f,o,d));return c}updateRangeFromParsed(t,e,i,s){super.updateRangeFromParsed(t,e,i,s);const n=i._custom;n&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,n.min),t.max=Math.max(t.max,n.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:s}=e,n=this.getParsed(t),o=n._custom,a=wn(o)?"["+o.start+", "+o.end+"]":""+s.getLabelForValue(n[s.axis]);return{label:""+i.getLabelForValue(n[i.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,i,s){const n="reset"===s,{index:o,_cachedMeta:{vScale:a}}=this,r=a.getBasePixel(),l=a.isHorizontal(),h=this._getRuler(),c=this.resolveDataElementOptions(e,s),d=this.getSharedOptions(c),u=this.includeOptions(s,d);this.updateSharedOptions(d,s,c);for(let c=e;c<e+i;c++){const e=this.getParsed(c),i=n||U(e[a.axis])?{base:r,head:r}:this._calculateBarValuePixels(c),f=this._calculateBarIndexPixels(c,h),g=(e._stacks||{})[a.axis],p={horizontal:l,base:i.base,enableBorderRadius:!g||wn(e._custom)||o===g._top||o===g._bottom,x:l?i.head:f.center,y:l?f.center:i.head,height:l?f.size:Math.abs(i.size),width:l?Math.abs(i.size):f.size};u&&(p.options=d||this.resolveDataElementOptions(c,t[c].active?"active":s));const m=p.options||t[c].options;Mn(p,m,g,o),Pn(p,m,h.ratio),this.updateElement(t[c],c,p,s)}}_getStacks(t,e){const i=this._cachedMeta.iScale,s=i.getMatchingVisibleMetas(this._type),n=i.options.stacked,o=s.length,a=[];let r,l;for(r=0;r<o;++r)if(l=s[r],l.controller.options.grouped){if(void 0!==e){const t=l.controller.getParsed(e)[l.controller._cachedMeta.vScale.axis];if(U(t)||isNaN(t))continue}if((!1===n||-1===a.indexOf(l.stack)||void 0===n&&void 0===l.stack)&&a.push(l.stack),l.index===t)break}return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n<o;++n)s.push(i.getPixelForValue(this.getParsed(n)[i.axis],n));const a=t.barThickness;return{min:a||_n(e),pixels:s,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:i},options:{base:s,minBarLength:n}}=this,o=s||0,a=this.getParsed(t),r=a._custom,l=wn(r);let h,c,d=a[e.axis],u=0,f=i?this.applyStack(e,a,i):d;f!==d&&(u=f-d,f=d),l&&(d=r.barStart,f=r.barEnd-r.barStart,0!==d&&Bt(d)!==Bt(r.barEnd)&&(u=0),u+=d);const g=U(s)||l?u:s;let p=e.getPixelForValue(g);if(h=this.chart.getDataVisibility(t)?e.getPixelForValue(u+f):p,c=h-p,Math.abs(c)<n){c=function(t,e,i){return 0!==t?Bt(t):(e.isHorizontal()?1:-1)*(e.min>=i?1:-1)}(c,e,o)*n,d===o&&(p-=c/2);const t=e.getPixelForDecimal(0),i=e.getPixelForDecimal(1),s=Math.min(t,i),a=Math.max(t,i);p=Math.max(Math.min(p,a),s),h=p+c}if(p===e.getPixelForValue(o)){const t=Bt(c)*e.getLineWidthForValue(o)/2;p+=t,c-=t}return{size:c,base:p,head:h,center:h+c/2}}_calculateBarIndexPixels(t,e){const i=e.scale,s=this.options,n=s.skipNull,o=Z(s.maxBarThickness,1/0);let a,r;if(e.grouped){const i=n?this._getStackCount(t):e.stackCount,l="flex"===s.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t<n.length-1?n[t+1]:null;const l=i.categoryPercentage;null===a&&(a=o-(null===r?e.end-e.start:r-o)),null===r&&(r=o+o-a);const h=o-(o-Math.min(a,r))/2*l;return{chunk:Math.abs(r-a)/2*l/s,ratio:i.barPercentage,start:h}}(t,e,s,i):function(t,e,i,s){const n=i.barThickness;let o,a;return U(n)?(o=e.min*i.categoryPercentage,a=i.barPercentage):(o=n*s,a=1),{chunk:o/s,ratio:a,start:e.pixels[t]-o/2}}(t,e,s,i),h=this._getStackIndex(this.index,this._cachedMeta.stack,n?t:void 0);a=l.start+l.chunk*h+l.chunk/2,r=Math.min(o,l.chunk*l.ratio)}else a=i.getPixelForValue(this.getParsed(t)[i.axis],t),r=Math.min(o,e.min*e.ratio);return{base:a-r/2,head:a+r/2,center:a,size:r}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,s=i.length;let n=0;for(;n<s;++n)null!==this.getParsed(n)[e.axis]&&i[n].draw(this._ctx)}}Dn.id="bar",Dn.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Dn.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Cn extends Cs{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,s){const n=super.parsePrimitiveData(t,e,i,s);for(let t=0;t<n.length;t++)n[t]._custom=this.resolveDataElementOptions(t+i).radius;return n}parseArrayData(t,e,i,s){const n=super.parseArrayData(t,e,i,s);for(let t=0;t<n.length;t++){const s=e[i+t];n[t]._custom=Z(s[2],this.resolveDataElementOptions(t+i).radius)}return n}parseObjectData(t,e,i,s){const n=super.parseObjectData(t,e,i,s);for(let t=0;t<n.length;t++){const s=e[i+t];n[t]._custom=Z(s&&s.r&&+s.r,this.resolveDataElementOptions(t+i).radius)}return n}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:s}=e,n=this.getParsed(t),o=i.getLabelForValue(n.x),a=s.getLabelForValue(n.y),r=n._custom;return{label:e.label,value:"("+o+", "+a+(r?", "+r:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,r=this.resolveDataElementOptions(e,s),l=this.getSharedOptions(r),h=this.includeOptions(s,l),c=o.axis,d=a.axis;for(let r=e;r<e+i;r++){const e=t[r],i=!n&&this.getParsed(r),l={},u=l[c]=n?o.getPixelForDecimal(.5):o.getPixelForValue(i[c]),f=l[d]=n?a.getBasePixel():a.getPixelForValue(i[d]);l.skip=isNaN(u)||isNaN(f),h&&(l.options=this.resolveDataElementOptions(r,e.active?"active":s),n&&(l.options.radius=0)),this.updateElement(e,r,l,s)}this.updateSharedOptions(l,s,r)}resolveDataElementOptions(t,e){const i=this.getParsed(t);let s=super.resolveDataElementOptions(t,e);s.$shared&&(s=Object.assign({},s,{$shared:!1}));const n=s.radius;return"active"!==e&&(s.radius=0),s.radius+=Z(i&&i._custom,n),s}}Cn.id="bubble",Cn.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Cn.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class On extends Cs{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=i;else{let n,o,a=t=>+i[t];if(q(i[t])){const{key:t="value"}=this._parsing;a=e=>+ct(i[e],t)}for(n=t,o=t+e;n<o;++n)s._parsed[n]=a(n)}}_getRotation(){return Yt(this.options.rotation-90)}_getCircumference(){return Yt(this.options.circumference)}_getRotationExtents(){let t=At,e=-At;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const s=this.chart.getDatasetMeta(i).controller,n=s._getRotation(),o=s._getCircumference();t=Math.min(t,n),e=Math.max(e,n+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,s=this._cachedMeta,n=s.data,o=this.getMaxBorderWidth()+this.getMaxOffset(n)+this.options.spacing,a=Math.max((Math.min(i.width,i.height)-o)/2,0),r=Math.min(J(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:h,rotation:c}=this._getRotationExtents(),{ratioX:d,ratioY:u,offsetX:f,offsetY:g}=function(t,e,i){let s=1,n=1,o=0,a=0;if(e<At){const r=t,l=r+e,h=Math.cos(r),c=Math.sin(r),d=Math.cos(l),u=Math.sin(l),f=(t,e,s)=>Jt(t,r,l,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>Jt(t,r,l,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,h,d),m=f(Et,c,u),b=g(Ot,h,d),x=g(Ot+Et,c,u);s=(p-b)/2,n=(m-x)/2,o=-(p+b)/2,a=-(m+x)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(c,h,r),p=(i.width-o)/d,m=(i.height-o)/u,b=Math.max(Math.min(p,m)/2,0),x=Q(this.options.radius,b),_=(x-Math.max(x*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*x,this.offsetY=g*x,s.total=this.calculateTotal(),this.outerRadius=x-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*l,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/At)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,l=(a.left+a.right)/2,h=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,f=this.resolveDataElementOptions(e,s),g=this.getSharedOptions(f),p=this.includeOptions(s,g);let m,b=this._getRotation();for(m=0;m<e;++m)b+=this._circumference(m,n);for(m=e;m<e+i;++m){const e=this._circumference(m,n),i=t[m],o={x:l+this.offsetX,y:h+this.offsetY,startAngle:b,endAngle:b+e,circumference:e,outerRadius:u,innerRadius:d};p&&(o.options=g||this.resolveDataElementOptions(m,i.active?"active":s)),b+=e,this.updateElement(i,m,o,s)}this.updateSharedOptions(g,s,f)}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,s=0;for(i=0;i<e.length;i++){const n=t._parsed[i];null===n||isNaN(n)||!this.chart.getDataVisibility(i)||e[i].hidden||(s+=Math.abs(n))}return s}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?At*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ni(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s<n;++s)if(i.isDatasetVisible(s)){o=i.getDatasetMeta(s),t=o.data,a=o.controller;break}if(!t)return 0;for(s=0,n=t.length;s<n;++s)r=a.resolveDataElementOptions(s),"inner"!==r.borderAlign&&(e=Math.max(e,r.borderWidth||0,r.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,s=t.length;i<s;++i){const t=this.resolveDataElementOptions(i);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(Z(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}On.id="doughnut",On.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},On.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},On.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const i=": "+t.formattedValue;return X(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}};class An extends Cs{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:s=[],_dataset:n}=e,o=this.chart._animationsDisabled;let{start:a,count:r}=function(t,e,i){const s=e.length;let n=0,o=s;if(t._sorted){const{iScale:a,_parsed:r}=t,l=a.axis,{min:h,max:c,minDefined:d,maxDefined:u}=a.getUserBounds();d&&(n=Qt(Math.min(wt(r,a.axis,h).lo,i?s:wt(e,l,a.getPixelForValue(h)).lo),0,s-1)),o=u?Qt(Math.max(wt(r,a.axis,c).hi+1,i?0:wt(e,l,a.getPixelForValue(c)).hi+1),n,s)-n:s-n}return{start:n,count:o}}(e,s,o);this._drawStart=a,this._drawCount=r,function(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}(e)&&(a=0,r=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=s;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:l},t),this.updateElements(s,a,r,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a,_stacked:r,_dataset:l}=this._cachedMeta,h=this.resolveDataElementOptions(e,s),c=this.getSharedOptions(h),d=this.includeOptions(s,c),u=o.axis,f=a.axis,{spanGaps:g,segment:p}=this.options,m=Wt(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||n||"none"===s;let x=e>0&&this.getParsed(e-1);for(let h=e;h<e+i;++h){const e=t[h],i=this.getParsed(h),g=b?e:{},_=U(i[f]),y=g[u]=o.getPixelForValue(i[u],h),v=g[f]=n||_?a.getBasePixel():a.getPixelForValue(r?this.applyStack(a,i,r):i[f],h);g.skip=isNaN(y)||isNaN(v)||_,g.stop=h>0&&Math.abs(i[u]-x[u])>m,p&&(g.parsed=i,g.raw=l.data[h]),d&&(g.options=c||this.resolveDataElementOptions(h,e.active?"active":s)),b||this.updateElement(e,h,g,s),x=i}this.updateSharedOptions(c,s,h)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}An.id="line",An.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},An.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Tn extends Cs{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ni(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}parseObjectData(t,e,i,s){return He.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(s<e.min&&(e.min=s),s>e.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.options.animation,r=this._cachedMeta.rScale,l=r.xCenter,h=r.yCenter,c=r.getIndexAngle(0)-.5*Ot;let d,u=c;const f=360/this.countVisibleElements();for(d=0;d<e;++d)u+=this._computeAngle(d,s,f);for(d=e;d<e+i;d++){const e=t[d];let i=u,g=u+this._computeAngle(d,s,f),p=o.getDataVisibility(d)?r.getDistanceFromCenterForValue(this.getParsed(d).r):0;u=g,n&&(a.animateScale&&(p=0),a.animateRotate&&(i=g=c));const m={x:l,y:h,innerRadius:0,outerRadius:p,startAngle:i,endAngle:g,options:this.resolveDataElementOptions(d,e.active?"active":s)};this.updateElement(e,d,m,s)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?Yt(this.resolveDataElementOptions(t,e).angle||i):0}}Tn.id="polarArea",Tn.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Tn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Ln extends On{}Ln.id="pie",Ln.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Rn extends Cs{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,s){return He.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a<e+i;a++){const e=t[a],i=this.resolveDataElementOptions(a,e.active?"active":s),r=n.getPointPositionForValue(a,this.getParsed(a).r),l=o?n.xCenter:r.x,h=o?n.yCenter:r.y,c={x:l,y:h,angle:r.angle,skip:isNaN(l)||isNaN(h),options:i};this.updateElement(e,a,c,s)}}}Rn.id="radar",Rn.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},Rn.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class En extends An{}En.id="scatter",En.defaults={showLine:!1,fill:!1},En.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var In=Object.freeze({__proto__:null,BarController:Dn,BubbleController:Cn,DoughnutController:On,LineController:An,PolarAreaController:Tn,PieController:Ln,RadarController:Rn,ScatterController:En});function zn(t,e,i){const{startAngle:s,pixelMargin:n,x:o,y:a,outerRadius:r,innerRadius:l}=e;let h=n/r;t.beginPath(),t.arc(o,a,r,s-h,i+h),l>n?(h=n/l,t.arc(o,a,l,i+h,s-h,!0)):t.arc(o,a,n,i+Et,s-Et),t.closePath(),t.clip()}function Fn(t,e,i,s){const n=li(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return Qt(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:Qt(n.innerStart,0,a),innerEnd:Qt(n.innerEnd,0,a)}}function Bn(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function Vn(t,e,i,s,n){const{x:o,y:a,startAngle:r,pixelMargin:l,innerRadius:h}=e,c=Math.max(e.outerRadius+s+i-l,0),d=h>0?h+s+i+l:0;let u=0;const f=n-r;if(s){const t=((h>0?h-s:0)+(c>0?c-s:0))/2;u=(f-(0!==t?f*t/(t+s):f))/2}const g=(f-Math.max(.001,f*c-i/Ot)/c)/2,p=r+g+u,m=n-g-u,{outerStart:b,outerEnd:x,innerStart:_,innerEnd:y}=Fn(e,d,c,m-p),v=c-b,w=c-x,M=p+b/v,k=m-x/w,S=d+_,P=d+y,D=p+_/S,C=m-y/P;if(t.beginPath(),t.arc(o,a,c,M,k),x>0){const e=Bn(w,k,o,a);t.arc(e.x,e.y,x,k,m+Et)}const O=Bn(P,m,o,a);if(t.lineTo(O.x,O.y),y>0){const e=Bn(P,C,o,a);t.arc(e.x,e.y,y,m+Et,C+Math.PI)}if(t.arc(o,a,d,m-y/d,p+_/d,!0),_>0){const e=Bn(S,D,o,a);t.arc(e.x,e.y,_,D+Math.PI,p-Et)}const A=Bn(v,p,o,a);if(t.lineTo(A.x,A.y),b>0){const e=Bn(v,M,o,a);t.arc(e.x,e.y,b,p-Et,M)}t.closePath()}function Nn(t,e,i,s,n){const{options:o}=e,{borderWidth:a,borderJoinStyle:r}=o,l="inner"===o.borderAlign;a&&(l?(t.lineWidth=2*a,t.lineJoin=r||"round"):(t.lineWidth=a,t.lineJoin=r||"bevel"),e.fullCircles&&function(t,e,i){const{x:s,y:n,startAngle:o,pixelMargin:a,fullCircles:r}=e,l=Math.max(e.outerRadius-a,0),h=e.innerRadius+a;let c;for(i&&zn(t,e,o+At),t.beginPath(),t.arc(s,n,h,o+At,o,!0),c=0;c<r;++c)t.stroke();for(t.beginPath(),t.arc(s,n,l,o,o+At),c=0;c<r;++c)t.stroke()}(t,e,l),l&&zn(t,e,n),Vn(t,e,i,s,n),t.stroke())}class Wn extends Os{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:n,distance:o}=qt(s,{x:t,y:e}),{startAngle:a,endAngle:r,innerRadius:l,outerRadius:h,circumference:c}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),d=this.options.spacing/2,u=Z(c,r-a)>=At||Jt(n,a,r),f=ee(o,l+d,h+d);return u&&f}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:r,spacing:l}=this.options,h=(s+n)/2,c=(o+a+l+r)/2;return{x:e+Math.cos(h)*c,y:i+Math.sin(h)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/2,n=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>At?Math.floor(i/At):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(s){o=s/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*o,Math.sin(e)*o),this.circumference>=Ot&&(o=s)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=function(t,e,i,s){const{fullCircles:n,startAngle:o,circumference:a}=e;let r=e.endAngle;if(n){Vn(t,e,i,s,o+At);for(let e=0;e<n;++e)t.fill();isNaN(a)||(r=o+a%At,a%At==0&&(r+=At))}return Vn(t,e,i,s,r),t.fill(),r}(t,this,o,n);Nn(t,this,o,n,a),t.restore()}}function Hn(t,e,i=e){t.lineCap=Z(i.borderCapStyle,e.borderCapStyle),t.setLineDash(Z(i.borderDash,e.borderDash)),t.lineDashOffset=Z(i.borderDashOffset,e.borderDashOffset),t.lineJoin=Z(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Z(i.borderWidth,e.borderWidth),t.strokeStyle=Z(i.borderColor,e.borderColor)}function jn(t,e,i){t.lineTo(i.x,i.y)}function $n(t,e,i={}){const s=t.length,{start:n=0,end:o=s-1}=i,{start:a,end:r}=e,l=Math.max(n,a),h=Math.min(o,r),c=n<a&&o<a||n>r&&o>r;return{count:s,start:l,loop:e.loop,ilen:h<l&&!c?s+h-l:h-l}}function Yn(t,e,i,s){const{points:n,options:o}=e,{count:a,start:r,loop:l,ilen:h}=$n(n,i,s),c=function(t){return t.stepped?ke:t.tension||"monotone"===t.cubicInterpolationMode?Se:jn}(o);let d,u,f,{move:g=!0,reverse:p}=s||{};for(d=0;d<=h;++d)u=n[(r+(p?h-d:d))%a],u.skip||(g?(t.moveTo(u.x,u.y),g=!1):c(t,f,u,p,o.stepped),f=u);return l&&(u=n[(r+(p?h:0))%a],c(t,f,u,p,o.stepped)),!!l}function Un(t,e,i,s){const n=e.points,{count:o,start:a,ilen:r}=$n(n,i,s),{move:l=!0,reverse:h}=s||{};let c,d,u,f,g,p,m=0,b=0;const x=t=>(a+(h?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(l&&(d=n[x(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[x(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(i<f?f=i:i>g&&(g=i),m=(b*m+e)/++b):(_(),t.lineTo(e,i),u=s,b=0,f=g=i),p=i}_()}function Xn(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i)?Un:Yn}Wn.id="arc",Wn.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Wn.defaultRoutes={backgroundColor:"backgroundColor"};const qn="function"==typeof Path2D;function Kn(t,e,i,s){qn&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),Hn(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=Xn(e);for(const r of n)Hn(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}class Gn extends Os{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;Ke(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Mi(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,s=t[e],n=this.points,o=wi(this,{property:e,start:s,end:s});if(!o.length)return;const a=[],r=function(t){return t.stepped?ei:t.tension||"monotone"===t.cubicInterpolationMode?ii:ti}(i);let l,h;for(l=0,h=o.length;l<h;++l){const{start:h,end:c}=o[l],d=n[h],u=n[c];if(d===u){a.push(d);continue}const f=r(d,u,Math.abs((s-d[e])/(u[e]-d[e])),i.stepped);f[e]=t[e],a.push(f)}return 1===a.length?a[0]:a}pathSegment(t,e,i){return Xn(this)(t,this,e,i)}path(t,e,i){const s=this.segments,n=Xn(this);let o=this._loop;e=e||0,i=i||this.points.length-e;for(const a of s)o&=n(t,this,a,{start:e,end:e+i-1});return!!o}draw(t,e,i,s){const n=this.options||{};(this.points||[]).length&&n.borderWidth&&(t.save(),Kn(t,this,i,s),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Zn(t,e,i,s){const n=t.options,{[i]:o}=t.getProps([i],s);return Math.abs(e-o)<n.radius+n.hitRadius}Gn.id="line",Gn.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},Gn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},Gn.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class Jn extends Os{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.options,{x:n,y:o}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-o,2)<Math.pow(s.hitRadius+s.radius,2)}inXRange(t,e){return Zn(this,t,"x",e)}inYRange(t,e){return Zn(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){let e=(t=t||this.options||{}).radius||0;e=Math.max(e,e&&t.hoverRadius||0);return 2*(e+(e&&t.borderWidth||0))}draw(t,e){const i=this.options;this.skip||i.radius<.1||!ve(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,ye(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Qn(t,e){const{x:i,y:s,base:n,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let r,l,h,c,d;return t.horizontal?(d=a/2,r=Math.min(i,n),l=Math.max(i,n),h=s-d,c=s+d):(d=o/2,r=i-d,l=i+d,h=Math.min(s,n),c=Math.max(s,n)),{left:r,top:h,right:l,bottom:c}}function to(t,e,i,s){return t?0:Qt(e,i,s)}function eo(t){const e=Qn(t),i=e.right-e.left,s=e.bottom-e.top,n=function(t,e,i){const s=t.options.borderWidth,n=t.borderSkipped,o=hi(s);return{t:to(n.top,o.top,0,i),r:to(n.right,o.right,0,e),b:to(n.bottom,o.bottom,0,i),l:to(n.left,o.left,0,e)}}(t,i/2,s/2),o=function(t,e,i){const{enableBorderRadius:s}=t.getProps(["enableBorderRadius"]),n=t.options.borderRadius,o=ci(n),a=Math.min(e,i),r=t.borderSkipped,l=s||q(n);return{topLeft:to(!l||r.top||r.left,o.topLeft,0,a),topRight:to(!l||r.top||r.right,o.topRight,0,a),bottomLeft:to(!l||r.bottom||r.left,o.bottomLeft,0,a),bottomRight:to(!l||r.bottom||r.right,o.bottomRight,0,a)}}(t,i/2,s/2);return{outer:{x:e.left,y:e.top,w:i,h:s,radius:o},inner:{x:e.left+n.l,y:e.top+n.t,w:i-n.l-n.r,h:s-n.t-n.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,o.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(n.b,n.r))}}}}function io(t,e,i,s){const n=null===e,o=null===i,a=t&&!(n&&o)&&Qn(t,s);return a&&(n||ee(e,a.left,a.right))&&(o||ee(i,a.top,a.bottom))}function so(t,e){t.rect(e.x,e.y,e.w,e.h)}function no(t,e,i={}){const s=t.x!==i.x?-e:0,n=t.y!==i.y?-e:0,o=(t.x+t.w!==i.x+i.w?e:0)-s,a=(t.y+t.h!==i.y+i.h?e:0)-n;return{x:t.x+s,y:t.y+n,w:t.w+o,h:t.h+a,radius:t.radius}}Jn.id="point",Jn.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Jn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class oo extends Os{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:s}}=this,{inner:n,outer:o}=eo(this),a=(r=o.radius).topLeft||r.topRight||r.bottomLeft||r.bottomRight?Ce:so;var r;t.save(),o.w===n.w&&o.h===n.h||(t.beginPath(),a(t,no(o,e,n)),t.clip(),a(t,no(n,-e,o)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,no(n,e)),t.fillStyle=s,t.fill(),t.restore()}inRange(t,e,i){return io(this,t,e,i)}inXRange(t,e){return io(this,t,null,e)}inYRange(t,e){return io(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:s,horizontal:n}=this.getProps(["x","y","base","horizontal"],t);return{x:n?(e+s)/2:e,y:n?i:(i+s)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}oo.id="bar",oo.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},oo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var ao=Object.freeze({__proto__:null,ArcElement:Wn,LineElement:Gn,PointElement:Jn,BarElement:oo});function ro(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function lo(t){t.data.datasets.forEach((t=>{ro(t)}))}var ho={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void lo(t);const s=t.width;t.data.datasets.forEach(((e,n)=>{const{_data:o,indexAxis:a}=e,r=t.getDatasetMeta(n),l=o||e.data;if("y"===fi([a,t.options.indexAxis]))return;if(!r.controller.supportsDecimation)return;const h=t.scales[r.xAxisID];if("linear"!==h.type&&"time"!==h.type)return;if(t.options.parsing)return;let{start:c,count:d}=function(t,e){const i=e.length;let s,n=0;const{iScale:o}=t,{min:a,max:r,minDefined:l,maxDefined:h}=o.getUserBounds();return l&&(n=Qt(wt(e,o.axis,a).lo,0,i-1)),s=h?Qt(wt(e,o.axis,r).hi+1,n,i)-n:i-n,{start:n,count:s}}(r,l);if(d<=(i.threshold||4*s))return void ro(e);let u;switch(U(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":u=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let l=0;const h=e+i-1;let c,d,u,f,g,p=e;for(a[l++]=t[p],c=0;c<o-2;c++){let s,n=0,o=0;const h=Math.floor((c+1)*r)+1+e,m=Math.min(Math.floor((c+2)*r)+1,i)+e,b=m-h;for(s=h;s<m;s++)n+=t[s].x,o+=t[s].y;n/=b,o/=b;const x=Math.floor(c*r)+1+e,_=Math.min(Math.floor((c+1)*r)+1,i)+e,{x:y,y:v}=t[p];for(u=f=-1,s=x;s<_;s++)f=.5*Math.abs((y-n)*(t[s].y-v)-(y-t[s].x)*(o-v)),f>u&&(u=f,d=t[s],g=s);a[l++]=d,p=g}return a[l++]=t[h],a}(l,c,d,s,i);break;case"min-max":u=function(t,e,i,s){let n,o,a,r,l,h,c,d,u,f,g=0,p=0;const m=[],b=e+i-1,x=t[e].x,_=t[b].x-x;for(n=e;n<e+i;++n){o=t[n],a=(o.x-x)/_*s,r=o.y;const e=0|a;if(e===l)r<u?(u=r,h=n):r>f&&(f=r,c=n),g=(p*g+o.x)/++p;else{const i=n-1;if(!U(h)&&!U(c)){const e=Math.min(h,c),s=Math.max(h,c);e!==d&&e!==i&&m.push({...t[e],x:g}),s!==d&&s!==i&&m.push({...t[s],x:g})}n>0&&i!==d&&m.push(t[i]),m.push(o),l=e,p=0,u=f=r,h=c=d=n}}return m}(l,c,d,s);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=u}))},destroy(t){lo(t)}};function co(t,e,i,s){if(s)return;let n=e[t],o=i[t];return"angle"===t&&(n=Zt(n),o=Zt(o)),{property:t,start:n,end:o}}function uo(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function fo(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function go(t,e){let i=[],s=!1;return X(t)?(s=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=uo(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new Gn({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function po(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!K(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function mo(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=Z(i&&i.target,i);void 0===s&&(s=!!e.backgroundColor);if(!1===s||null===s)return!1;if(!0===s)return"origin";return s}(t);if(q(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return K(n)&&Math.floor(n)===n?function(t,e,i,s){"-"!==t&&"+"!==t||(i=e+i);if(i===e||i<0||i>=s)return!1;return i}(s[0],e,n,i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function bo(t,e,i){const s=[];for(let n=0;n<i.length;n++){const o=i[n],{first:a,last:r,point:l}=xo(o,e,"x");if(!(!l||a&&r))if(a)s.unshift(l);else if(t.push(l),!r)break}t.push(...s)}function xo(t,e,i){const s=t.interpolate(e,i);if(!s)return{};const n=s[i],o=t.segments,a=t.points;let r=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],s=a[e.start][i],h=a[e.end][i];if(ee(n,s,h)){r=n===s,l=n===h;break}}return{first:r,last:l,point:s}}class _o{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:s,y:n,radius:o}=this;return e=e||{start:0,end:At},t.arc(s,n,o,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:s}=this,n=t.angle;return{x:e+Math.cos(n)*s,y:i+Math.sin(n)*s,angle:n}}}function yo(t){const{chart:e,fill:i,line:s}=t;if(K(i))return function(t,e){const i=t.getDatasetMeta(e);return i&&t.isDatasetVisible(e)?i.dataset:null}(e,i);if("stack"===i)return function(t){const{scale:e,index:i,line:s}=t,n=[],o=s.segments,a=s.points,r=function(t,e){const i=[],s=t.getMatchingVisibleMetas("line");for(let t=0;t<s.length;t++){const n=s[t];if(n.index===e)break;n.hidden||i.unshift(n.dataset)}return i}(e,i);r.push(go({x:null,y:e.bottom},s));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)bo(n,a[t],r)}return new Gn({points:n,options:{}})}(t);if("shape"===i)return!0;const n=function(t){if((t.scale||{}).getPointPositionForValue)return function(t){const{scale:e,fill:i}=t,s=e.options,n=e.getLabels().length,o=s.reverse?e.max:e.min,a=function(t,e,i){let s;return s="start"===t?i:"end"===t?e.options.reverse?e.min:e.max:q(t)?t.value:e.getBaseValue(),s}(i,e,o),r=[];if(s.grid.circular){const t=e.getPointPositionForValue(0,o);return new _o({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(a)})}for(let t=0;t<n;++t)r.push(e.getPointPositionForValue(t,a));return r}(t);return function(t){const{scale:e={},fill:i}=t,s=function(t,e){let i=null;return"start"===t?i=e.bottom:"end"===t?i=e.top:q(t)?i=e.getPixelForValue(t.value):e.getBasePixel&&(i=e.getBasePixel()),i}(i,e);if(K(s)){const t=e.isHorizontal();return{x:t?s:null,y:t?null:s}}return null}(t)}(t);return n instanceof _o?n:go(n,s)}function vo(t,e,i){const s=yo(e),{line:n,scale:o,axis:a}=e,r=n.options,l=r.fill,h=r.backgroundColor,{above:c=h,below:d=h}=l||{};s&&n.points.length&&(we(t,i),function(t,e){const{line:i,target:s,above:n,below:o,area:a,scale:r}=e,l=i._loop?"angle":e.axis;t.save(),"x"===l&&o!==n&&(wo(t,s,a.top),Mo(t,{line:i,target:s,color:n,scale:r,property:l}),t.restore(),t.save(),wo(t,s,a.bottom));Mo(t,{line:i,target:s,color:o,scale:r,property:l}),t.restore()}(t,{line:n,target:s,above:c,below:d,area:i,scale:o,axis:a}),Me(t))}function wo(t,e,i){const{segments:s,points:n}=e;let o=!0,a=!1;t.beginPath();for(const r of s){const{start:s,end:l}=r,h=n[s],c=n[uo(s,l,n)];o?(t.moveTo(h.x,h.y),o=!1):(t.lineTo(h.x,i),t.lineTo(h.x,h.y)),a=!!e.pathSegment(t,r,{move:a}),a?t.closePath():t.lineTo(c.x,i)}t.lineTo(e.first().x,i),t.closePath(),t.clip()}function Mo(t,e){const{line:i,target:s,property:n,color:o,scale:a}=e,r=function(t,e,i){const s=t.segments,n=t.points,o=e.points,a=[];for(const t of s){let{start:s,end:r}=t;r=uo(s,r,n);const l=co(i,n[s],n[r],t.loop);if(!e.segments){a.push({source:t,target:l,start:n[s],end:n[r]});continue}const h=wi(e,l);for(const e of h){const s=co(i,o[e.start],o[e.end],e.loop),r=vi(t,n,s);for(const t of r)a.push({source:t,target:e,start:{[i]:fo(l,s,"start",Math.max)},end:{[i]:fo(l,s,"end",Math.min)}})}}return a}(i,s,n);for(const{source:e,target:l,start:h,end:c}of r){const{style:{backgroundColor:r=o}={}}=e,d=!0!==s;t.save(),t.fillStyle=r,ko(t,a,d&&co(n,h,c)),t.beginPath();const u=!!i.pathSegment(t,e);let f;if(d){u?t.closePath():So(t,s,c,n);const e=!!s.pathSegment(t,l,{move:u,reverse:!0});f=u&&e,f||So(t,s,h,n)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function ko(t,e,i){const{top:s,bottom:n}=e.chart.chartArea,{property:o,start:a,end:r}=i||{};"x"===o&&(t.beginPath(),t.rect(a,s,r-a,n-s),t.clip())}function So(t,e,i,s){const n=e.interpolate(i,s);n&&t.lineTo(n.x,n.y)}var Po={id:"filler",afterDatasetsUpdate(t,e,i){const s=(t.data.datasets||[]).length,n=[];let o,a,r,l;for(a=0;a<s;++a)o=t.getDatasetMeta(a),r=o.dataset,l=null,r&&r.options&&r instanceof Gn&&(l={visible:t.isDatasetVisible(a),index:a,fill:mo(r,a,s),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:r}),o.$filler=l,n.push(l);for(a=0;a<s;++a)l=n[a],l&&!1!==l.fill&&(l.fill=po(n,a,i.propagate))},beforeDraw(t,e,i){const s="beforeDraw"===i.drawTime,n=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=n.length-1;e>=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&vo(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;i&&vo(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;s&&!1!==s.fill&&"beforeDatasetDraw"===i.drawTime&&vo(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Do=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class Co extends Os{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=tt(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=ui(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=Do(i,n);let l,h;e.font=s.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,n,a,r)+10):(h=this.maxHeight,l=this._fitCols(o,n,a,r)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||l[l.length-1]+g+2*a>o)&&(c+=h,l[l.length-(f>0?0:1)]=0,u+=h,d++),r[f]={left:0,top:u,row:d,width:g,height:s},l[l.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.columnSizes=[],h=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const p=i+e/2+n.measureText(t.text).width;o>0&&u+s+2*a>h&&(c+=d+a,l.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:s},d=Math.max(d,p),u+=s+a})),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:o}}=this,a=mi(o,this.left,this.width);if(this.isHorizontal()){let o=0,r=n(i,this.left+s,this.right-this.lineWidths[o]);for(const l of e)o!==l.row&&(o=l.row,r=n(i,this.left+s,this.right-this.lineWidths[o])),l.top+=this.top+t+s,l.left=a.leftForLtr(a.x(r),l.width),r+=l.width+s}else{let o=0,r=n(i,this.top+t+s,this.bottom-this.columnSizes[o].height);for(const l of e)l.col!==o&&(o=l.col,r=n(i,this.top+t+s,this.bottom-this.columnSizes[o].height)),l.top=r,l.left+=this.left+s,l.left=a.leftForLtr(a.x(l.left),l.width),r+=l.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;we(t,this),this._draw(),Me(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:a,labels:r}=t,l=yt.color,h=mi(t.rtl,this.left,this.width),c=ui(r.font),{color:d,padding:u}=r,f=c.size,g=f/2;let p;this.drawTitle(),s.textAlign=h.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:m,boxHeight:b,itemHeight:x}=Do(r,f),_=this.isHorizontal(),y=this._computeTitleHeight();p=_?{x:n(a,this.left+u,this.right-i[0]),y:this.top+u+y,line:0}:{x:this.left+u,y:n(a,this.top+y+u,this.bottom-e[0].height),line:0},bi(this.ctx,t.textDirection);const v=x+u;this.legendItems.forEach(((w,M)=>{s.strokeStyle=w.fontColor||d,s.fillStyle=w.fontColor||d;const k=s.measureText(w.text).width,S=h.textAlign(w.textAlign||(w.textAlign=r.textAlign)),P=m+g+k;let D=p.x,C=p.y;h.setWidth(this.width),_?M>0&&D+P+u>this.right&&(C=p.y+=v,p.line++,D=p.x=n(a,this.left+u,this.right-i[p.line])):M>0&&C+v>this.bottom&&(D=p.x=D+e[p.line].width+u,p.line++,C=p.y=n(a,this.top+y+u,this.bottom-e[p.line].height));!function(t,e,i){if(isNaN(m)||m<=0||isNaN(b)||b<0)return;s.save();const n=Z(i.lineWidth,1);if(s.fillStyle=Z(i.fillStyle,l),s.lineCap=Z(i.lineCap,"butt"),s.lineDashOffset=Z(i.lineDashOffset,0),s.lineJoin=Z(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=Z(i.strokeStyle,l),s.setLineDash(Z(i.lineDash,[])),r.usePointStyle){const o={radius:m*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},a=h.xPlus(t,m/2);ye(s,o,a,e+g)}else{const o=e+Math.max((f-b)/2,0),a=h.leftForLtr(t,m),r=ci(i.borderRadius);s.beginPath(),Object.values(r).some((t=>0!==t))?Ce(s,{x:a,y:o,w:m,h:b,radius:r}):s.rect(a,o,m,b),s.fill(),0!==n&&s.stroke()}s.restore()}(h.x(D),C,w),D=o(S,D+m+g,_?D+P:this.right,t.rtl),function(t,e,i){Pe(s,i.text,t,e+x/2,c,{strikethrough:i.hidden,textAlign:h.textAlign(i.textAlign)})}(h.x(D),C,w),_?p.x+=P+u:p.y+=v})),xi(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=ui(e.font),o=di(e.padding);if(!e.display)return;const a=mi(t.rtl,this.left,this.width),r=this.ctx,l=e.position,h=i.size/2,c=o.top+h;let d,u=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),d=this.top+c,u=n(t.align,u,this.right-f);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);d=c+n(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const g=n(l,u,u+f);r.textAlign=a.textAlign(s(l)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=i.string,Pe(r,e.text,g,d,i)}_computeTitleHeight(){const t=this.options.title,e=ui(t.font),i=di(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(ee(t,this.left,this.right)&&ee(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(s=n[i],ee(t,s.left,s.left+s.width)&&ee(e,s.top,s.top+s.height))return this.legendItems[i];return null}handleEvent(t){const e=this.options;if(!function(t,e){if(("mousemove"===t||"mouseout"===t)&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const o=this._hoveredItem,a=(n=i,null!==(s=o)&&null!==n&&s.datasetIndex===n.datasetIndex&&s.index===n.index);o&&!a&&tt(e.onLeave,[t,o,this],this),this._hoveredItem=i,i&&!a&&tt(e.onHover,[t,i,this],this)}else i&&tt(e.onClick,[t,i,this],this);var s,n}}var Oo={id:"legend",_element:Co,start(t,e,i){const s=t.legend=new Co({ctx:t.ctx,options:i,chart:t});Xi.configure(t,s,i),Xi.addBox(t,s)},stop(t){Xi.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const s=t.legend;Xi.configure(t,s,i),s.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const s=e.datasetIndex,n=i.chart;n.isDatasetVisible(s)?(n.hide(s),e.hidden=!0):(n.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const a=t.controller.getStyle(i?0:void 0),r=di(a.borderWidth);return{text:e[t.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(r.width+r.height)/4,strokeStyle:a.borderColor,pointStyle:s||a.pointStyle,rotation:a.rotation,textAlign:n||a.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ao extends Os{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=X(i.text)?i.text.length:1;this._padding=di(i.padding);const n=s*ui(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:o,options:a}=this,r=a.align;let l,h,c,d=0;return this.isHorizontal()?(h=n(r,i,o),c=e+t,l=o-i):("left"===a.position?(h=i+t,c=n(r,s,e),d=-.5*Ot):(h=o-t,c=n(r,e,s),d=.5*Ot),l=s-e),{titleX:h,titleY:c,maxWidth:l,rotation:d}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=ui(e.font),n=i.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:r,rotation:l}=this._drawArgs(n);Pe(t,e.text,0,0,i,{color:e.color,maxWidth:r,rotation:l,textAlign:s(e.align),textBaseline:"middle",translation:[o,a]})}}var To={id:"title",_element:Ao,start(t,e,i){!function(t,e){const i=new Ao({ctx:t.ctx,options:e,chart:t});Xi.configure(t,i,e),Xi.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;Xi.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;Xi.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Lo=new WeakMap;var Ro={id:"subtitle",start(t,e,i){const s=new Ao({ctx:t.ctx,options:i,chart:t});Xi.configure(t,s,i),Xi.addBox(t,s),Lo.set(t,s)},stop(t){Xi.removeBox(t,Lo.get(t)),Lo.delete(t)},beforeUpdate(t,e,i){const s=Lo.get(t);Xi.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Eo={average(t){if(!t.length)return!1;let e,i,s=0,n=0,o=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();s+=t.x,n+=t.y,++o}}return{x:s/o,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,s,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY;for(i=0,s=t.length;i<s;++i){const s=t[i].element;if(s&&s.hasValue()){const t=Kt(e,s.getCenterPoint());t<r&&(r=t,n=s)}}if(n){const t=n.tooltipPosition();o=t.x,a=t.y}return{x:o,y:a}}};function Io(t,e){return e&&(X(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function zo(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Fo(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function Bo(t,e){const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,l=ui(e.bodyFont),h=ui(e.titleFont),c=ui(e.footerFont),d=o.length,u=n.length,f=s.length,g=di(e.padding);let p=g.height,m=0,b=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),b){p+=f*(e.displayColors?Math.max(r,l.lineHeight):l.lineHeight)+(b-f)*l.lineHeight+(b-1)*e.bodySpacing}u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let x=0;const _=function(t){m=Math.max(m,i.measureText(t).width+x)};return i.save(),i.font=h.string,et(t.title,_),i.font=l.string,et(t.beforeBody.concat(t.afterBody),_),x=e.displayColors?a+2+e.boxPadding:0,et(s,(t=>{et(t.before,_),et(t.lines,_),et(t.after,_)})),x=0,i.font=c.string,et(t.footer,_),i.restore(),m+=g.width,{width:m,height:p}}function Vo(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:l}}=t;let h="center";return"center"===s?h=n<=(r+l)/2?"left":"right":n<=o/2?h="left":n>=a-o/2&&(h="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(h,t,e,i)&&(h="center"),h}function No(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return i<s/2?"top":i>t.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||Vo(t,e,i,s),yAlign:s}}function Wo(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:l}=i,h=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=ci(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,l,h);return"center"===l?"left"===r?g+=h:"right"===r&&(g-=h):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:Qt(g,0,s.width-e.width),y:Qt(p,0,s.height-e.height)}}function Ho(t,e,i){const s=di(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function jo(t){return Io([],zo(t))}function $o(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}class Yo extends Os{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&e.options.animation&&i.animations,n=new ms(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,i=this._tooltipItems,pi(t,{tooltip:e,tooltipItems:i,type:"tooltip"})));var t,e,i}getTitle(t,e){const{callbacks:i}=e,s=i.beforeTitle.apply(this,[t]),n=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);let a=[];return a=Io(a,zo(s)),a=Io(a,zo(n)),a=Io(a,zo(o)),a}getBeforeBody(t,e){return jo(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,s=[];return et(t,(t=>{const e={before:[],lines:[],after:[]},n=$o(i,t);Io(e.before,zo(n.beforeLabel.call(this,t))),Io(e.lines,n.label.call(this,t)),Io(e.after,zo(n.afterLabel.call(this,t))),s.push(e)})),s}getAfterBody(t,e){return jo(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,s=i.beforeFooter.apply(this,[t]),n=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);let a=[];return a=Io(a,zo(s)),a=Io(a,zo(n)),a=Io(a,zo(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,l=[];for(a=0,r=e.length;a<r;++a)l.push(Fo(this.chart,e[a]));return t.filter&&(l=l.filter(((e,s,n)=>t.filter(e,s,n,i)))),t.itemSort&&(l=l.sort(((e,s)=>t.itemSort(e,s,i)))),et(l,(e=>{const i=$o(t.callbacks,e);s.push(i.labelColor.call(this,e)),n.push(i.labelPointStyle.call(this,e)),o.push(i.labelTextColor.call(this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=Eo[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=Bo(this,i),a=Object.assign({},t,e),r=No(this.chart,i,a),l=Wo(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:l,bottomLeft:h,bottomRight:c}=ci(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,b,x,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,x=_+o,y=_-o):(p=d+f,m=p+o,x=_-o,y=_+o),b=p):(m="left"===s?d+Math.max(r,h)+o:"right"===s?d+f-Math.max(l,c)-o:this.caretX,"top"===n?(x=u,_=x-o,p=m-o,b=m+o):(x=u+g,_=x+o,p=m+o,b=m-o),y=x),{x1:p,x2:m,x3:b,y1:x,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const l=mi(i.rtl,this.x,this.width);for(t.x=Ho(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=ui(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r<n;++r)e.fillText(s[r],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,r+1===n&&(t.y+=i.titleMarginBottom-a)}}_drawColorBox(t,e,i,s,n){const o=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:r,boxWidth:l,boxPadding:h}=n,c=ui(n.bodyFont),d=Ho(this,"left",n),u=s.x(d),f=r<c.lineHeight?(c.lineHeight-r)/2:0,g=e.y+f;if(n.usePointStyle){const e={radius:Math.min(l,r)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},i=s.leftForLtr(u,l)+l/2,h=g+r/2;t.strokeStyle=n.multiKeyBackground,t.fillStyle=n.multiKeyBackground,ye(t,e,i,h),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,ye(t,e,i,h)}else{t.lineWidth=o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=s.leftForLtr(u,l-h),i=s.leftForLtr(s.xPlus(u,1),l-h-2),a=ci(o.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,Ce(t,{x:e,y:g,w:l,h:r,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Ce(t,{x:i,y:g+1,w:l-2,h:r-2,radius:a}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,g,l,r),t.strokeRect(e,g,l,r),t.fillStyle=o.backgroundColor,t.fillRect(i,g+1,l-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:l,boxPadding:h}=i,c=ui(i.bodyFont);let d=c.lineHeight,u=0;const f=mi(i.rtl,this.x,this.width),g=function(i){e.fillText(i,f.x(t.x+u),t.y+d/2),t.y+=d+n},p=f.textAlign(o);let m,b,x,_,y,v,w;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=Ho(this,p,i),e.fillStyle=i.bodyColor,et(this.beforeBody,g),u=a&&"right"!==p?"center"===o?l/2+h:l+2+h:0,_=0,v=s.length;_<v;++_){for(m=s[_],b=this.labelTextColors[_],e.fillStyle=b,et(m.before,g),x=m.lines,a&&x.length&&(this._drawColorBox(e,t,_,f,i),d=Math.max(c.lineHeight,r)),y=0,w=x.length;y<w;++y)g(x[y]),d=c.lineHeight;et(m.after,g)}u=0,d=c.lineHeight,et(this.afterBody,g),t.y-=n}drawFooter(t,e,i){const s=this.footer,n=s.length;let o,a;if(n){const r=mi(i.rtl,this.x,this.width);for(t.x=Ho(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=r.textAlign(i.footerAlign),e.textBaseline="middle",o=ui(i.footerFont),e.fillStyle=i.footerColor,e.font=o.string,a=0;a<n;++a)e.fillText(s[a],r.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+i.footerSpacing}}drawBackground(t,e,i,s){const{xAlign:n,yAlign:o}=this,{x:a,y:r}=t,{width:l,height:h}=i,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=ci(s.cornerRadius);e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,e.lineWidth=s.borderWidth,e.beginPath(),e.moveTo(a+c,r),"top"===o&&this.drawCaret(t,e,i,s),e.lineTo(a+l-d,r),e.quadraticCurveTo(a+l,r,a+l,r+d),"center"===o&&"right"===n&&this.drawCaret(t,e,i,s),e.lineTo(a+l,r+h-f),e.quadraticCurveTo(a+l,r+h,a+l-f,r+h),"bottom"===o&&this.drawCaret(t,e,i,s),e.lineTo(a+u,r+h),e.quadraticCurveTo(a,r+h,a,r+h-u),"center"===o&&"left"===n&&this.drawCaret(t,e,i,s),e.lineTo(a,r+c),e.quadraticCurveTo(a,r,a+c,r),e.closePath(),e.fill(),s.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=Eo[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=Bo(this,t),a=Object.assign({},i,this._size),r=No(e,t,a),l=Wo(t,a,r,e);s._to===l.x&&n._to===l.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=di(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),bi(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),xi(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!it(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!it(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e;const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=Eo[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}Yo.positioners=Eo;var Uo={id:"tooltip",_element:Yo,positioners:Eo,afterInit(t,e,i){i&&(t.tooltip=new Yo({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",i))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:$,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex<s)return i[e.dataIndex]}return""},afterTitle:$,beforeBody:$,beforeLabel:$,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const i=t.formattedValue;return U(i)||(e+=i),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:$,afterBody:$,beforeFooter:$,footer:$,afterFooter:$}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Xo=Object.freeze({__proto__:null,Decimation:ho,Filler:Po,Legend:Oo,SubTitle:Ro,Title:To,Tooltip:Uo});function qo(t,e,i,s){const n=t.indexOf(e);if(-1===n)return((t,e,i,s)=>("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s);return n!==t.lastIndexOf(e)?i:n}class Ko extends Ns{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(U(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:Qt(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:qo(i,t,Z(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Go(t,e,{horizontal:i,minRotation:s}){const n=Yt(s),o=(i?Math.sin(n):Math.cos(n))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}Ko.id="category",Ko.defaults={ticks:{callback:Ko.prototype.getLabelForValue}};class Zo extends Ns{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return U(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:n}=this;const o=t=>s=e?s:t,a=t=>n=i?n:t;if(t){const t=Bt(s),e=Bt(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=1;(n>=Number.MAX_SAFE_INTEGER||s<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*n)),a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function(t,e){const i=[],{bounds:s,step:n,min:o,max:a,precision:r,count:l,maxTicks:h,maxDigits:c,includeBounds:d}=t,u=n||1,f=h-1,{min:g,max:p}=e,m=!U(o),b=!U(a),x=!U(l),_=(p-g)/(c+1);let y,v,w,M,k=Vt((p-g)/f/u)*u;if(k<1e-14&&!m&&!b)return[{value:g},{value:p}];M=Math.ceil(p/k)-Math.floor(g/k),M>f&&(k=Vt(M*k/f/u)*u),U(r)||(y=Math.pow(10,r),k=Math.ceil(k*y)/y),"ticks"===s?(v=Math.floor(g/k)*k,w=Math.ceil(p/k)*k):(v=g,w=p),m&&b&&n&&jt((a-o)/n,k/1e3)?(M=Math.round(Math.min((a-o)/k,h)),k=(a-o)/M,v=o,w=a):x?(v=m?o:v,w=b?a:w,M=l-1,k=(w-v)/M):(M=(w-v)/k,M=Ht(M,Math.round(M),k/1e3)?Math.round(M):Math.ceil(M));const S=Math.max(Xt(k),Xt(v));y=Math.pow(10,U(r)?S:r),v=Math.round(v*y)/y,w=Math.round(w*y)/y;let P=0;for(m&&(d&&v!==o?(i.push({value:o}),v<o&&P++,Ht(Math.round((v+P*k)*y)/y,o,Go(o,_,t))&&P++):v<o&&P++);P<M;++P)i.push({value:Math.round((v+P*k)*y)/y});return b&&d&&w!==a?i.length&&Ht(i[i.length-1].value,a,Go(a,_,t))?i[i.length-1].value=a:i.push({value:a}):b&&w!==a||i.push({value:w}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&$t(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return ni(t,this.chart.options.locale,this.options.ticks.format)}}class Jo extends Zo{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=K(t)?t:0,this.max=K(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=Yt(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,n.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function Qo(t){return 1===t/Math.pow(10,Math.floor(Ft(t)))}Jo.id="linear",Jo.defaults={ticks:{callback:Ts.formatters.numeric}};class ta extends Ns{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=Zo.prototype.parse.apply(this,[t,e]);if(0!==i)return K(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=K(t)?Math.max(0,t):null,this.max=K(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t,a=(t,e)=>Math.pow(10,Math.floor(Ft(t))+e);i===s&&(i<=0?(n(1),o(10)):(n(a(i,-1)),o(a(s,1)))),i<=0&&n(a(s,-1)),s<=0&&o(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&n(a(i,-1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=function(t,e){const i=Math.floor(Ft(e.max)),s=Math.ceil(e.max/Math.pow(10,i)),n=[];let o=G(t.min,Math.pow(10,Math.floor(Ft(e.min)))),a=Math.floor(Ft(o)),r=Math.floor(o/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do{n.push({value:o,major:Qo(o)}),++r,10===r&&(r=1,++a,l=a>=0?1:l),o=Math.round(r*Math.pow(10,a)*l)/l}while(a<i||a===i&&r<s);const h=G(t.max,o);return n.push({value:h,major:Qo(o)}),n}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&$t(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":ni(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Ft(t),this._valueRange=Ft(this.max)-Ft(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Ft(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function ea(t){const e=t.ticks;if(e.display&&t.display){const t=di(e.backdropPadding);return Z(e.font&&e.font.size,yt.font.size)+t.height}return 0}function ia(t,e,i,s,n){return t===s||t===n?{start:e-i/2,end:e+i/2}:t<s||t>n?{start:e-i,end:e}:{start:e,end:e+i}}function sa(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],n=[],o=t._pointLabels.length,a=t.options.pointLabels,r=a.centerPointLabels?Ot/o:0;for(let d=0;d<o;d++){const o=a.setContext(t.getPointLabelContext(d));n[d]=o.padding;const u=t.getPointPosition(d,t.drawingArea+n[d],r),f=ui(o.font),g=(l=t.ctx,h=f,c=X(c=t._pointLabels[d])?c:[c],{w:be(l,h.string,c),h:c.length*h.lineHeight});s[d]=g;const p=Zt(t.getIndexAngle(d)+r),m=Math.round(Ut(p));na(i,e,p,ia(m,u.x,g.w,0,180),ia(m,u.y,g.h,90,270))}var l,h,c;t.setCenterPoint(e.l-i.l,i.r-e.r,e.t-i.t,i.b-e.b),t._pointLabelItems=function(t,e,i){const s=[],n=t._pointLabels.length,o=t.options,a=ea(o)/2,r=t.drawingArea,l=o.pointLabels.centerPointLabels?Ot/n:0;for(let o=0;o<n;o++){const n=t.getPointPosition(o,r+a+i[o],l),h=Math.round(Ut(Zt(n.angle+Et))),c=e[o],d=ra(n.y,c.h,h),u=oa(h),f=aa(n.x,c.w,u);s.push({x:n.x,y:d,textAlign:u,left:f,top:d,right:f+c.w,bottom:d+c.h})}return s}(t,s,n)}function na(t,e,i,s,n){const o=Math.abs(Math.sin(i)),a=Math.abs(Math.cos(i));let r=0,l=0;s.start<e.l?(r=(e.l-s.start)/o,t.l=Math.min(t.l,e.l-r)):s.end>e.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.start<e.t?(l=(e.t-n.start)/a,t.t=Math.min(t.t,e.t-l)):n.end>e.b&&(l=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function oa(t){return 0===t||180===t?"center":t<180?"left":"right"}function aa(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function ra(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}function la(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,At);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;o<s;o++)i=t.getPointPosition(o,e),n.lineTo(i.x,i.y)}}ta.id="logarithmic",ta.defaults={ticks:{callback:Ts.formatters.logarithmic,major:{enabled:!0}}};class ha extends Zo{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=di(ea(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=K(t)&&!isNaN(t)?t:0,this.max=K(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/ea(this.options))}generateTickLabels(t){Zo.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=tt(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?sa(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return Zt(t*(At/(this._pointLabels.length||1))+Yt(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(U(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(U(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return function(t,e,i){return pi(t,{label:i,index:e,type:"pointLabel"})}(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const s=this.getIndexAngle(t)-Et+i;return{x:Math.cos(s)*e+this.xCenter,y:Math.sin(s)*e+this.yCenter,angle:s}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:s,bottom:n}=this._pointLabelItems[t];return{left:e,top:i,right:s,bottom:n}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),la(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:s}=e,n=this._pointLabels.length;let o,a,r;if(e.pointLabels.display&&function(t,e){const{ctx:i,options:{pointLabels:s}}=t;for(let n=e-1;n>=0;n--){const e=s.setContext(t.getPointLabelContext(n)),o=ui(e.font),{x:a,y:r,textAlign:l,left:h,top:c,right:d,bottom:u}=t._pointLabelItems[n],{backdropColor:f}=e;if(!U(f)){const t=ci(e.borderRadius),s=di(e.backdropPadding);i.fillStyle=f;const n=h-s.left,o=c-s.top,a=d-h+s.width,r=u-c+s.height;Object.values(t).some((t=>0!==t))?(i.beginPath(),Ce(i,{x:n,y:o,w:a,h:r,radius:t}),i.fill()):i.fillRect(n,o,a,r)}Pe(i,t._pointLabels[n],a,r+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,n),s.display&&this.ticks.forEach(((t,e)=>{if(0!==e){a=this.getDistanceFromCenterForValue(t.value);!function(t,e,i,s){const n=t.ctx,o=e.circular,{color:a,lineWidth:r}=e;!o&&!s||!a||!r||i<0||(n.save(),n.strokeStyle=a,n.lineWidth=r,n.setLineDash(e.borderDash),n.lineDashOffset=e.borderDashOffset,n.beginPath(),la(t,i,o,s),n.closePath(),n.stroke(),n.restore())}(this,s.setContext(this.getContext(e-1)),a,n)}})),i.display){for(t.save(),o=n-1;o>=0;o--){const s=i.setContext(this.getPointLabelContext(o)),{color:n,lineWidth:l}=s;l&&n&&(t.lineWidth=l,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),r=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(r.x,r.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&!e.reverse)return;const r=i.setContext(this.getContext(a)),l=ui(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=l.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=di(r.backdropPadding);t.fillRect(-o/2-e.left,-n-l.size/2-e.top,o+e.width,l.size+e.height)}Pe(t,s.label,0,-n,l,{color:r.color})})),t.restore()}drawTitle(){}}ha.id="radialLinear",ha.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ts.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},ha.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},ha.descriptors={angleLines:{_fallback:"grid"}};const ca={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},da=Object.keys(ca);function ua(t,e){return t-e}function fa(t,e){if(U(e))return null;const i=t._adapter,{parser:s,round:n,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof s&&(a=s(a)),K(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null===a?null:(n&&(a="week"!==n||!Wt(o)&&!0!==o?i.startOf(a,n):i.startOf(a,"isoWeek",o)),+a)}function ga(t,e,i,s){const n=da.length;for(let o=da.indexOf(t);o<n-1;++o){const t=ca[da[o]],n=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((i-e)/(n*t.size))<=s)return da[o]}return da[n-1]}function pa(t,e,i){if(i){if(i.length){const{lo:s,hi:n}=vt(i,e);t[i[s]>=e?i[s]:i[n]]=!0}}else t[e]=!0}function ma(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a<o;++a)r=e[a],n[r]=a,s.push({value:r,major:!1});return 0!==o&&i?function(t,e,i,s){const n=t._adapter,o=+n.startOf(e[0].value,s),a=e[e.length-1].value;let r,l;for(r=o;r<=a;r=+n.add(r,1,s))l=i[r],l>=0&&(e[l].major=!0);return e}(t,s,n,i):s}class ba extends Ns{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),s=this._adapter=new xn._date(t.adapters.date);rt(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:fa(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:a}=this.getUserBounds();function r(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),a||isNaN(t.max)||(n=Math.max(n,t.max))}o&&a||(r(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||r(this.getMinMax(!1))),s=K(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=K(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=kt(s,n,this.max);return this._unit=e.unit||(i.autoSkip?ga(e.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(t,e,i,s,n){for(let o=da.length-1;o>=da.indexOf(i);o--){const i=da[o];if(ca[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return da[i?da.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=da.indexOf(t)+1,i=da.length;e<i;++e)if(ca[da[e]].common)return da[e]}(this._unit):void 0,this.initOffsets(s),t.reverse&&o.reverse(),ma(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t){let e,i,s=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),s=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;s=Qt(s,0,o),n=Qt(n,0,o),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,s=this.options,n=s.time,o=n.unit||ga(n.minUnit,e,i,this._getLabelCapacity(e)),a=Z(n.stepSize,1),r="week"===o&&n.isoWeekday,l=Wt(r)||!0===r,h={};let c,d,u=e;if(l&&(u=+t.startOf(u,"isoWeek",r)),u=+t.startOf(u,l?"day":o),t.diff(i,e,o)>1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const f="data"===s.ticks.source&&this.getDataTimestamps();for(c=u,d=0;c<i;c=+t.add(c,a,o),d++)pa(h,c,f);return c!==i&&"ticks"!==s.bounds&&1!==d||pa(h,c,f),Object.keys(h).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.time.displayFormats,a=this._unit,r=this._majorUnit,l=a&&o[a],h=r&&o[r],c=i[e],d=r&&h&&c&&c.major,u=this._adapter.format(t,s||(d?h:l)),f=n.ticks.callback;return f?tt(f,[u,e,i],this):u}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e<i;++e)s=t[e],s.label=this._tickFormatFunction(s.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,s=Yt(this.isHorizontal()?e.maxRotation:e.minRotation),n=Math.cos(s),o=Math.sin(s),a=this._resolveTickFontOptions(0).size;return{w:i*n+a*o,h:i*o+a*n}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,s=i[e.unit]||i.millisecond,n=this._tickFormatFunction(t,0,ma(this,[t],this._majorUnit),s),o=this._getLabelSize(n),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t<e;++t)i=i.concat(s[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const s=this.getLabels();for(e=0,i=s.length;e<i;++e)t.push(fa(this,s[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return Ct(t.sort(ua))}}function xa(t,e,i){let s,n,o,a,r=0,l=t.length-1;i?(e>=t[r].pos&&e<=t[l].pos&&({lo:r,hi:l}=wt(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[l])):(e>=t[r].time&&e<=t[l].time&&({lo:r,hi:l}=wt(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[l]));const h=n-s;return h?o+(a-o)*(e-s)/h:o}ba.id="time",ba.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class _a extends ba{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=xa(e,this.min),this._tableRange=xa(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,l,h;for(o=0,a=t.length;o<a;++o)l=t[o],l>=e&&l<=i&&s.push(l);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o<a;++o)h=s[o+1],r=s[o-1],l=s[o],Math.round((h+r)/2)!==l&&n.push({time:l,pos:o/(a-1)});return n}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(xa(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return xa(this._table,i*this._tableRange+this._minPos,!0)}}_a.id="timeseries",_a.defaults=ba.defaults;var ya=Object.freeze({__proto__:null,CategoryScale:Ko,LinearScale:Jo,LogarithmicScale:ta,RadialLinearScale:ha,TimeScale:ba,TimeSeriesScale:_a});return fn.register(In,ya,ao,Xo),fn.helpers={...Di},fn._adapters=xn,fn.Animation=gs,fn.Animations=ms,fn.animator=a,fn.controllers=Hs.controllers.items,fn.DatasetController=Cs,fn.Element=Os,fn.elements=ao,fn.Interaction=Ei,fn.layouts=Xi,fn.platforms=ds,fn.Scale=Ns,fn.Ticks=Ts,Object.assign(fn,In,ya,ao,Xo,ds),fn.Chart=fn,"undefined"!=typeof window&&(window.Chart=fn),fn}));
assets/js/admin/chart.min.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";const t="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function e(e,i,s){const n=s||(t=>Array.prototype.slice.call(t));let o=!1,a=[];return function(...s){a=n(s),o||(o=!0,t.call(window,(()=>{o=!1,e.apply(i,a)})))}}function i(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}const s=t=>"start"===t?"left":"end"===t?"right":"center",n=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,o=(t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e;var a=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=t.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};function r(t){return t+.5|0}const l=(t,e,i)=>Math.max(Math.min(t,i),e);function h(t){return l(r(2.55*t),0,255)}function c(t){return l(r(255*t),0,255)}function d(t){return l(r(t/2.55)/100,0,1)}function u(t){return l(r(100*t),0,100)}const f={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},g=[..."0123456789ABCDEF"],p=t=>g[15&t],m=t=>g[(240&t)>>4]+g[15&t],b=t=>(240&t)>>4==(15&t);const x=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function _(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function y(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function v(t,e,i){const s=_(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function w(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e<i?6:0):e===n?(i-t)/s+2:(t-e)/s+4}(e,i,s,h,n),r=60*r+.5),[0|r,l||0,a]}function M(t,e,i,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,s)).map(c)}function k(t,e,i){return M(_,t,e,i)}function S(t){return(t%360+360)%360}const P={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},D={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let C;const O=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,A=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,T=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function L(t,e,i){if(t){let s=w(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=k(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function R(t,e){return t?Object.assign(e||{},t):t}function E(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=c(t[3]))):(e=R(t,{r:0,g:0,b:0,a:1})).a=c(e.a),e}function I(t){return"r"===t.charAt(0)?function(t){const e=O.exec(t);let i,s,n,o=255;if(e){if(e[7]!==i){const t=+e[7];o=e[8]?h(t):l(255*t,0,255)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?h(i):l(i,0,255)),s=255&(e[4]?h(s):l(s,0,255)),n=255&(e[6]?h(n):l(n,0,255)),{r:i,g:s,b:n,a:o}}}(t):function(t){const e=x.exec(t);let i,s=255;if(!e)return;e[5]!==i&&(s=e[6]?h(+e[5]):c(+e[5]));const n=S(+e[2]),o=+e[3]/100,a=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return M(v,t,e,i)}(n,o,a):"hsv"===e[1]?function(t,e,i){return M(y,t,e,i)}(n,o,a):k(n,o,a),{r:i[0],g:i[1],b:i[2],a:s}}(t)}class z{constructor(t){if(t instanceof z)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=E(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*f[s[1]],g:255&17*f[s[2]],b:255&17*f[s[3]],a:5===o?17*f[s[4]]:255}:7!==o&&9!==o||(n={r:f[s[1]]<<4|f[s[2]],g:f[s[3]]<<4|f[s[4]],b:f[s[5]]<<4|f[s[6]],a:9===o?f[s[7]]<<4|f[s[8]]:255})),i=n||function(t){C||(C=function(){const t={},e=Object.keys(D),i=Object.keys(P);let s,n,o,a,r;for(s=0;s<e.length;s++){for(a=r=e[s],n=0;n<i.length;n++)o=i[n],r=r.replace(o,P[o]);o=parseInt(D[a],16),t[r]=[o>>16&255,o>>8&255,255&o]}return t}(),C.transparent=[0,0,0,0]);const e=C[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||I(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=R(this._rgb);return t&&(t.a=d(t.a)),t}set rgb(t){this._rgb=E(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${d(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?function(t){var e=(t=>b(t.r)&&b(t.g)&&b(t.b)&&b(t.a))(t)?p:m;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=w(t),i=e[0],s=u(e[1]),n=u(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${d(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,l=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-l,i.r=255&l*i.r+n*s.r+.5,i.g=255&l*i.g+n*s.g+.5,i.b=255&l*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=T(d(t.r)),n=T(d(t.g)),o=T(d(t.b));return{r:c(A(s+i*(T(d(e.r))-s))),g:c(A(n+i*(T(d(e.g))-n))),b:c(A(o+i*(T(d(e.b))-o))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new z(this.rgb)}alpha(t){return this._rgb.a=c(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=r(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return L(this._rgb,2,t),this}darken(t){return L(this._rgb,2,-t),this}saturate(t){return L(this._rgb,1,t),this}desaturate(t){return L(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=w(t);i[0]=S(i[0]+e),i=k(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function F(t){return new z(t)}function B(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function V(t){return B(t)?t:F(t)}function N(t){return B(t)?t:F(t).saturate(.5).darken(.1).hexString()}function $(){}const W=function(){let t=0;return function(){return t++}}();function H(t){return null==t}function j(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function Y(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const U=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function X(t,e){return U(t)?t:e}function q(t,e){return void 0===t?e:t}const K=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,G=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Z(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function J(t,e,i,s){let n,o,a;if(j(t))if(o=t.length,s)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;n<o;n++)e.call(i,t[n],n);else if(Y(t))for(a=Object.keys(t),o=a.length,n=0;n<o;n++)e.call(i,t[a[n]],a[n])}function Q(t,e){let i,s,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,s=t.length;i<s;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function tt(t){if(j(t))return t.map(tt);if(Y(t)){const e=Object.create(null),i=Object.keys(t),s=i.length;let n=0;for(;n<s;++n)e[i[n]]=tt(t[i[n]]);return e}return t}function et(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function it(t,e,i,s){if(!et(t))return;const n=e[t],o=i[t];Y(n)&&Y(o)?st(n,o,s):e[t]=tt(o)}function st(t,e,i){const s=j(e)?e:[e],n=s.length;if(!Y(t))return t;const o=(i=i||{}).merger||it;for(let a=0;a<n;++a){if(!Y(e=s[a]))continue;const n=Object.keys(e);for(let s=0,a=n.length;s<a;++s)o(n[s],t,e,i)}return t}function nt(t,e){return st(t,e,{merger:ot})}function ot(t,e,i){if(!et(t))return;const s=e[t],n=i[t];Y(s)&&Y(n)?nt(s,n):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=tt(n))}function at(t,e){const i=t.indexOf(".",e);return-1===i?t.length:i}function rt(t,e){if(""===e)return t;let i=0,s=at(e,i);for(;t&&s>i;)t=t[e.slice(i,s)],i=s+1,s=at(e,i);return t}function lt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const ht=t=>void 0!==t,ct=t=>"function"==typeof t,dt=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function ut(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const ft=Object.create(null),gt=Object.create(null);function pt(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;e<s;++e){const s=i[e];t=t[s]||(t[s]=Object.create(null))}return t}function mt(t,e,i){return"string"==typeof e?st(pt(t,e),i):st(pt(t,""),e)}var bt=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>N(e.backgroundColor),this.hoverBorderColor=(t,e)=>N(e.borderColor),this.hoverColor=(t,e)=>N(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return mt(this,t,e)}get(t){return pt(this,t)}describe(t,e){return mt(gt,t,e)}override(t,e){return mt(ft,t,e)}route(t,e,i,s){const n=pt(this,t),o=pt(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return Y(t)?Object.assign({},e,t):q(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function xt(t,e,i){i=i||(i=>t[i]<e);let s,n=t.length-1,o=0;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const _t=(t,e,i)=>xt(t,i,(s=>t[s][e]<i)),yt=(t,e,i)=>xt(t,i,(s=>t[s][e]>=i));function vt(t,e,i){let s=0,n=t.length;for(;s<n&&t[s]<e;)s++;for(;n>s&&t[n-1]>i;)n--;return s>0||n<t.length?t.slice(s,n):t}const wt=["push","pop","shift","splice","unshift"];function Mt(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),wt.forEach((e=>{const i="_onData"+lt(e),s=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const n=s.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[i]&&t[i](...e)})),n}})})))}function kt(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(wt.forEach((e=>{delete t[e]})),delete t._chartjs)}function St(t){const e=new Set;let i,s;for(i=0,s=t.length;i<s;++i)e.add(t[i]);return e.size===s?t:Array.from(e)}const Pt=Math.PI,Dt=2*Pt,Ct=Dt+Pt,Ot=Number.POSITIVE_INFINITY,At=Pt/180,Tt=Pt/2,Lt=Pt/4,Rt=2*Pt/3,Et=Math.log10,It=Math.sign;function zt(t){const e=Math.round(t);t=Vt(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(Et(t))),s=t/i;return(s<=1?1:s<=2?2:s<=5?5:10)*i}function Ft(t){const e=[],i=Math.sqrt(t);let s;for(s=1;s<i;s++)t%s==0&&(e.push(s),e.push(t/s));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}function Bt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Vt(t,e,i){return Math.abs(t-e)<i}function Nt(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}function Wt(t,e,i){let s,n,o;for(s=0,n=t.length;s<n;s++)o=t[s][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Ht(t){return t*(Pt/180)}function jt(t){return t*(180/Pt)}function $t(t){if(!U(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function Yt(t,e){const i=e.x-t.x,s=e.y-t.y,n=Math.sqrt(i*i+s*s);let o=Math.atan2(s,i);return o<-.5*Pt&&(o+=Dt),{angle:o,distance:n}}function Ut(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Xt(t,e){return(t-e+Ct)%Dt-Pt}function qt(t){return(t%Dt+Dt)%Dt}function Kt(t,e,i,s){const n=qt(t),o=qt(e),a=qt(i),r=qt(o-n),l=qt(a-n),h=qt(n-o),c=qt(n-a);return n===o||n===a||s&&o===a||r>l&&h<c}function Gt(t,e,i){return Math.max(e,Math.min(i,t))}function Zt(t){return Gt(t,-32768,32767)}function Jt(t,e,i,s=1e-6){return t>=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function Qt(){return"undefined"!=typeof window&&"undefined"!=typeof document}function te(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function ee(t,e,i){let s;return"string"==typeof t?(s=parseInt(t,10),-1!==t.indexOf("%")&&(s=s/100*e.parentNode[i])):s=t,s}const ie=t=>window.getComputedStyle(t,null);function se(t,e){return ie(t).getPropertyValue(e)}const ne=["top","right","bottom","left"];function oe(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=ne[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}function ae(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=ie(i),o="border-box"===n.boxSizing,a=oe(n,"padding"),r=oe(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,l=!1;if(((t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot))(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,l=!0}return{x:a,y:r,box:l}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const re=t=>Math.round(10*t)/10;function le(t,e,i,s){const n=ie(t),o=oe(n,"margin"),a=ee(n.maxWidth,t,"clientWidth")||Ot,r=ee(n.maxHeight,t,"clientHeight")||Ot,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=te(t);if(o){const t=o.getBoundingClientRect(),a=ie(o),r=oe(a,"border","width"),l=oe(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=ee(a.maxWidth,o,"clientWidth"),n=ee(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||Ot,maxHeight:n||Ot}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=oe(n,"border","width"),e=oe(n,"padding");h-=e.width+t.width,c-=e.height+t.height}return h=Math.max(0,h-o.width),c=Math.max(0,s?Math.floor(h/s):c-o.height),h=re(Math.min(h,a,l.maxWidth)),c=re(Math.min(c,r,l.maxHeight)),h&&!c&&(c=re(h/2)),{width:h,height:c}}function he(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=n/s,t.width=o/s;const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const ce=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function de(t,e){const i=se(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function ue(t){return!t||H(t.size)||H(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function fe(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function ge(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let l,h,c,d,u;for(l=0;l<r;l++)if(d=i[l],null!=d&&!0!==j(d))a=fe(t,n,o,a,d);else if(j(d))for(h=0,c=d.length;h<c;h++)u=d[h],null==u||j(u)||(a=fe(t,n,o,a,u));t.restore();const f=o.length/2;if(f>i.length){for(l=0;l<f;l++)delete n[o[l]];o.splice(0,f)}return a}function pe(t,e,i){const s=t.currentDevicePixelRatio,n=0!==i?Math.max(i/2,.5):0;return Math.round((e-n)*s)/s+n}function me(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function be(t,e,i,s){let n,o,a,r,l;const h=e.pointStyle,c=e.rotation,d=e.radius;let u=(c||0)*At;if(h&&"object"==typeof h&&(n=h.toString(),"[object HTMLImageElement]"===n||"[object HTMLCanvasElement]"===n))return t.save(),t.translate(i,s),t.rotate(u),t.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),void t.restore();if(!(isNaN(d)||d<=0)){switch(t.beginPath(),h){default:t.arc(i,s,d,0,Dt),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(u)*d,s-Math.cos(u)*d),u+=Rt,t.lineTo(i+Math.sin(u)*d,s-Math.cos(u)*d),u+=Rt,t.lineTo(i+Math.sin(u)*d,s-Math.cos(u)*d),t.closePath();break;case"rectRounded":l=.516*d,r=d-l,o=Math.cos(u+Lt)*r,a=Math.sin(u+Lt)*r,t.arc(i-o,s-a,l,u-Pt,u-Tt),t.arc(i+a,s-o,l,u-Tt,u),t.arc(i+o,s+a,l,u,u+Tt),t.arc(i-a,s+o,l,u+Tt,u+Pt),t.closePath();break;case"rect":if(!c){r=Math.SQRT1_2*d,t.rect(i-r,s-r,2*r,2*r);break}u+=Lt;case"rectRot":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+a,s-o),t.lineTo(i+o,s+a),t.lineTo(i-a,s+o),t.closePath();break;case"crossRot":u+=Lt;case"cross":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a),t.moveTo(i+a,s-o),t.lineTo(i-a,s+o);break;case"star":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a),t.moveTo(i+a,s-o),t.lineTo(i-a,s+o),u+=Lt,o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a),t.moveTo(i+a,s-o),t.lineTo(i-a,s+o);break;case"line":o=Math.cos(u)*d,a=Math.sin(u)*d,t.moveTo(i-o,s-a),t.lineTo(i+o,s+a);break;case"dash":t.moveTo(i,s),t.lineTo(i+Math.cos(u)*d,s+Math.sin(u)*d)}t.fill(),e.borderWidth>0&&t.stroke()}}function xe(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function _e(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function ye(t){t.restore()}function ve(t,e,i,s,n){if(!e)return t.lineTo(i.x,i.y);if("middle"===n){const s=(e.x+i.x)/2;t.lineTo(s,e.y),t.lineTo(s,i.y)}else"after"===n!=!!s?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function we(t,e,i,s){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(s?e.cp1x:e.cp2x,s?e.cp1y:e.cp2y,s?i.cp2x:i.cp1x,s?i.cp2y:i.cp1y,i.x,i.y)}function Me(t,e,i,s,n,o={}){const a=j(e)?e:[e],r=o.strokeWidth>0&&""!==o.strokeColor;let l,h;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),H(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;l<a.length;++l)h=a[l],r&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),H(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(h,i,s,o.maxWidth)),t.fillText(h,i,s,o.maxWidth),ke(t,i,s,h,o),s+=n.lineHeight;t.restore()}function ke(t,e,i,s,n){if(n.strikethrough||n.underline){const o=t.measureText(s),a=e-o.actualBoundingBoxLeft,r=e+o.actualBoundingBoxRight,l=i-o.actualBoundingBoxAscent,h=i+o.actualBoundingBoxDescent,c=n.strikethrough?(l+h)/2:h;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=n.decorationWidth||2,t.moveTo(a,c),t.lineTo(r,c),t.stroke()}}function Se(t,e){const{x:i,y:s,w:n,h:o,radius:a}=e;t.arc(i+a.topLeft,s+a.topLeft,a.topLeft,-Tt,Pt,!0),t.lineTo(i,s+o-a.bottomLeft),t.arc(i+a.bottomLeft,s+o-a.bottomLeft,a.bottomLeft,Pt,Tt,!0),t.lineTo(i+n-a.bottomRight,s+o),t.arc(i+n-a.bottomRight,s+o-a.bottomRight,a.bottomRight,Tt,0,!0),t.lineTo(i+n,s+a.topRight),t.arc(i+n-a.topRight,s+a.topRight,a.topRight,0,-Tt,!0),t.lineTo(i+a.topLeft,s)}function Pe(t,e=[""],i=t,s,n=(()=>t[0])){ht(s)||(s=Fe("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:s,_getTarget:n,override:n=>Pe([n,...t],e,i,s)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>Te(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=Fe(Oe(o,t),i),ht(n))return Ae(t,n)?Ie(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Be(t).includes(e),ownKeys:t=>Be(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function De(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Ce(t,s),setContext:e=>De(t,e,i,s),override:n=>De(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Te(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];return ct(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);return r.add(t),e=e(o,a||s),r.delete(t),Ae(t,e)&&(e=Ie(n._scopes,n,t,e)),e}(e,r,t,i)),j(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(ht(o.index)&&s(t))e=e[o.index%e.length];else if(Y(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=Ie(s,n,t,l);e.push(De(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable)),Ae(e,r)&&(r=De(r,n,o&&o[e],a)),r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Ce(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:ct(i)?i:()=>i,isIndexable:ct(s)?s:()=>s}}const Oe=(t,e)=>t?t+lt(e):e,Ae=(t,e)=>Y(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Te(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=i();return t[e]=s,s}function Le(t,e,i){return ct(t)?t(e,i):t}const Re=(t,e)=>!0===t?e:"string"==typeof t?rt(e,t):void 0;function Ee(t,e,i,s,n){for(const o of e){const e=Re(i,o);if(e){t.add(e);const o=Le(e._fallback,i,n);if(ht(o)&&o!==i&&o!==s)return o}else if(!1===e&&ht(s)&&i!==s)return null}return!1}function Ie(t,e,i,s){const n=e._rootScopes,o=Le(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let l=ze(r,a,i,o||i,s);return null!==l&&(!ht(o)||o===i||(l=ze(r,a,o,l,s),null!==l))&&Pe(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];return j(n)&&Y(i)?i:n}(e,i,s)))}function ze(t,e,i,s,n){for(;i;)i=Ee(t,e,i,s,n);return i}function Fe(t,e){for(const i of e){if(!i)continue;const e=i[t];if(ht(e))return e}}function Be(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function Ve(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,l,h,c;for(r=0,l=s;r<l;++r)h=r+i,c=e[h],a[r]={r:n.parse(rt(c,o),h)};return a}const Ne=Number.EPSILON||1e-14,We=(t,e)=>e<t.length&&!t[e].skip&&t[e],He=t=>"x"===t?"y":"x";function je(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=Ut(o,n),l=Ut(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function $e(t,e="x"){const i=He(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=We(t,0);for(a=0;a<s;++a)if(r=l,l=h,h=We(t,a+1),l){if(h){const t=h[e]-l[e];n[a]=0!==t?(h[i]-l[i])/t:0}o[a]=r?h?It(n[a-1])!==It(n[a])?0:(n[a-1]+n[a])/2:n[a-1]:n[a]}!function(t,e,i){const s=t.length;let n,o,a,r,l,h=We(t,0);for(let c=0;c<s-1;++c)l=h,h=We(t,c+1),l&&h&&(Vt(e[c],0,Ne)?i[c]=i[c+1]=0:(n=i[c]/e[c],o=i[c+1]/e[c],r=Math.pow(n,2)+Math.pow(o,2),r<=9||(a=3/Math.sqrt(r),i[c]=n*a*e[c],i[c+1]=o*a*e[c])))}(t,n,o),function(t,e,i="x"){const s=He(i),n=t.length;let o,a,r,l=We(t,0);for(let h=0;h<n;++h){if(a=r,r=l,l=We(t,h+1),!r)continue;const n=r[i],c=r[s];a&&(o=(n-a[i])/3,r[`cp1${i}`]=n-o,r[`cp1${s}`]=c-o*e[h]),l&&(o=(l[i]-n)/3,r[`cp2${i}`]=n+o,r[`cp2${s}`]=c+o*e[h])}}(t,o,e)}function Ye(t,e,i){return Math.max(Math.min(t,i),e)}function Ue(t,e,i,s,n){let o,a,r,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)$e(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)r=t[o],l=je(i,r,t[Math.min(o+1,a-(s?0:1))%a],e.tension),r.cp1x=l.previous.x,r.cp1y=l.previous.y,r.cp2x=l.next.x,r.cp2y=l.next.y,i=r}e.capBezierPoints&&function(t,e){let i,s,n,o,a,r=xe(t[0],e);for(i=0,s=t.length;i<s;++i)a=o,o=r,r=i<s-1&&xe(t[i+1],e),o&&(n=t[i],a&&(n.cp1x=Ye(n.cp1x,e.left,e.right),n.cp1y=Ye(n.cp1y,e.top,e.bottom)),r&&(n.cp2x=Ye(n.cp2x,e.left,e.right),n.cp2y=Ye(n.cp2y,e.top,e.bottom)))}(t,i)}const Xe=t=>0===t||1===t,qe=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*Dt/i),Ke=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*Dt/i)+1,Ge={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*Tt),easeOutSine:t=>Math.sin(t*Tt),easeInOutSine:t=>-.5*(Math.cos(Pt*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Xe(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Xe(t)?t:qe(t,.075,.3),easeOutElastic:t=>Xe(t)?t:Ke(t,.075,.3),easeInOutElastic(t){const e=.1125;return Xe(t)?t:t<.5?.5*qe(2*t,e,.45):.5+.5*Ke(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-Ge.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*Ge.easeInBounce(2*t):.5*Ge.easeOutBounce(2*t-1)+.5};function Ze(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function Je(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function Qe(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=Ze(t,n,i),r=Ze(n,o,i),l=Ze(o,e,i),h=Ze(a,r,i),c=Ze(r,l,i);return Ze(h,c,i)}const ti=new Map;function ei(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=ti.get(i);return s||(s=new Intl.NumberFormat(t,e),ti.set(i,s)),s}(e,i).format(t)}const ii=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),si=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function ni(t,e){const i=(""+t).match(ii);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}function oi(t,e){const i={},s=Y(e),n=s?Object.keys(e):e,o=Y(t)?s?i=>q(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=+o(t)||0;return i}function ai(t){return oi(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ri(t){return oi(t,["topLeft","topRight","bottomLeft","bottomRight"])}function li(t){const e=ai(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function hi(t,e){t=t||{},e=e||bt.font;let i=q(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=q(t.style,e.style);s&&!(""+s).match(si)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const n={family:q(t.family,e.family),lineHeight:ni(q(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:q(t.weight,e.weight),string:""};return n.string=ue(n),n}function ci(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;n<o;++n)if(a=t[n],
2
+ void 0!==a&&(void 0!==e&&"function"==typeof a&&(a=a(e),r=!1),void 0!==i&&j(a)&&(a=a[i%a.length],r=!1),void 0!==a))return s&&!r&&(s.cacheable=!1),a}function di(t,e,i){const{min:s,max:n}=t,o=G(e,(n-s)/2),a=(t,e)=>i&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}function ui(t,e){return Object.assign(Object.create(t),e)}function fi(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function gi(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function pi(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function mi(t){return"angle"===t?{between:Kt,compare:Xt,normalize:qt}:{between:Jt,compare:(t,e)=>t-e,normalize:t=>t}}function bi({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function xi(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=mi(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=mi(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;h<c&&a(r(e[d%l][s]),n,o);++h)d--,u--;d%=l,u%=l}return u<d&&(u+=l),{start:d,end:u,loop:f,style:t.style}}(t,e,i),g=[];let p,m,b,x=!1,_=null;for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==b&&(x=l(p,n,o),null===_&&(x||l(n,b,p)&&0!==r(n,b))&&(_=0===r(p,n)?t:i),null!==_&&(!x||0===r(o,p)||l(o,b,p))&&(g.push(bi({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,b=p));return null!==_&&g.push(bi({start:_,end:d,loop:u,count:a,style:f})),g}function _i(t,e){const i=[],s=t.segments;for(let n=0;n<s.length;n++){const o=xi(s[n],t.points,e);o.length&&i.push(...o)}return i}function yi(t,e){const i=t.points,s=t.options.spanGaps,n=i.length;if(!n)return[];const o=!!t._loop,{start:a,end:r}=function(t,e,i,s){let n=0,o=e-1;if(i&&!s)for(;n<e&&!t[n].skip;)n++;for(;n<e&&t[n].skip;)n++;for(n%=e,i&&(o+=n);o>n&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);return vi(t,!0===s?[{start:a,end:r,loop:o}]:function(t,e,i,s){const n=t.length,o=[];let a,r=e,l=t[e];for(a=e+1;a<=i;++a){const i=t[a%n];i.skip||i.stop?l.skip||(s=!1,o.push({start:e%n,end:(a-1)%n,loop:s}),e=r=i.stop?a:null):(r=a,l.skip&&(e=a)),l=i}return null!==r&&o.push({start:e%n,end:r%n,loop:s}),o}(i,a,r<a?r+n:r,!!t._fullLoop&&0===a&&r===n-1),i,e)}function vi(t,e,i,s){return s&&s.setContext&&i?function(t,e,i,s){const n=t._chart.getContext(),o=wi(t.options),{_datasetIndex:a,options:{spanGaps:r}}=t,l=i.length,h=[];let c=o,d=e[0].start,u=d;function f(t,e,s,n){const o=r?-1:1;if(t!==e){for(t+=l;i[t%l].skip;)t-=o;for(;i[e%l].skip;)e+=o;t%l!=e%l&&(h.push({start:t%l,end:e%l,loop:s,style:n}),c=n,d=e%l)}}for(const t of e){d=r?d:t.start;let e,o=i[d%l];for(u=d+1;u<=t.end;u++){const r=i[u%l];e=wi(s.setContext(ui(n,{type:"segment",p0:o,p1:r,p0DataIndex:(u-1)%l,p1DataIndex:u%l,datasetIndex:a}))),Mi(e,c)&&f(d,u-1,t.loop,c),o=r,c=e}d<u-1&&f(d,u-1,t.loop,c)}return h}(t,e,i,s):e}function wi(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Mi(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}var ki=Object.freeze({__proto__:null,easingEffects:Ge,isPatternOrGradient:B,color:V,getHoverColor:N,noop:$,uid:W,isNullOrUndef:H,isArray:j,isObject:Y,isFinite:U,finiteOrDefault:X,valueOrDefault:q,toPercentage:K,toDimension:G,callback:Z,each:J,_elementsEqual:Q,clone:tt,_merger:it,merge:st,mergeIf:nt,_mergerIf:ot,_deprecated:function(t,e,i,s){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+s+'" instead')},resolveObjectKey:rt,_capitalize:lt,defined:ht,isFunction:ct,setsEqual:dt,_isClickEvent:ut,toFontString:ue,_measureText:fe,_longestText:ge,_alignPixel:pe,clearCanvas:me,drawPoint:be,_isPointInArea:xe,clipArea:_e,unclipArea:ye,_steppedLineTo:ve,_bezierCurveTo:we,renderText:Me,addRoundedRectPath:Se,_lookup:xt,_lookupByKey:_t,_rlookupByKey:yt,_filterBetween:vt,listenArrayEvents:Mt,unlistenArrayEvents:kt,_arrayUnique:St,_createResolver:Pe,_attachContext:De,_descriptors:Ce,_parseObjectDataRadialScale:Ve,splineCurve:je,splineCurveMonotone:$e,_updateBezierControlPoints:Ue,_isDomSupported:Qt,_getParentNode:te,getStyle:se,getRelativePosition:ae,getMaximumSize:le,retinaScale:he,supportsEventListenerOptions:ce,readUsedSize:de,fontString:function(t,e,i){return e+" "+t+"px "+i},requestAnimFrame:t,throttled:e,debounce:i,_toLeftRightCenter:s,_alignStartEnd:n,_textX:o,_pointInLine:Ze,_steppedInterpolation:Je,_bezierInterpolation:Qe,formatNumber:ei,toLineHeight:ni,_readValueToProps:oi,toTRBL:ai,toTRBLCorners:ri,toPadding:li,toFont:hi,resolve:ci,_addGrace:di,createContext:ui,PI:Pt,TAU:Dt,PITAU:Ct,INFINITY:Ot,RAD_PER_DEG:At,HALF_PI:Tt,QUARTER_PI:Lt,TWO_THIRDS_PI:Rt,log10:Et,sign:It,niceNum:zt,_factorize:Ft,isNumber:Bt,almostEquals:Vt,almostWhole:Nt,_setMinAndMaxByKey:Wt,toRadians:Ht,toDegrees:jt,_decimalPlaces:$t,getAngleFromPoint:Yt,distanceBetweenPoints:Ut,_angleDiff:Xt,_normalizeAngle:qt,_angleBetween:Kt,_limitValue:Gt,_int16Range:Zt,_isBetween:Jt,getRtlAdapter:fi,overrideTextDirection:gi,restoreTextDirection:pi,_boundSegment:xi,_boundSegments:_i,_computeSegments:yi});function Si(t,e,i,s){const{controller:n,data:o,_sorted:a}=t,r=n._cachedMeta.iScale;if(r&&e===r.axis&&"r"!==e&&a&&o.length){const t=r._reversePixels?yt:_t;if(!s)return t(o,e,i);if(n._sharedOptions){const s=o[0],n="function"==typeof s.getRange&&s.getRange(e);if(n){const s=t(o,e,i-n),a=t(o,e,i+n);return{lo:s.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function Pi(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let t=0,i=o.length;t<i;++t){const{index:i,data:r}=o[t],{lo:l,hi:h}=Si(o[t],e,a,n);for(let t=l;t<=h;++t){const e=r[t];e.skip||s(e,i,t)}}}function Di(t,e,i,s,n){const o=[];return n||t.isPointInArea(e)?(Pi(t,i,e,(function(i,a,r){(n||xe(i,t.chartArea,0))&&i.inRange(e.x,e.y,s)&&o.push({element:i,datasetIndex:a,index:r})}),!0),o):o}function Ci(t,e,i,s,n,o){return o||t.isPointInArea(e)?"r"!==i||s?function(t,e,i,s,n,o){let a=[];const r=function(t){const e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,s){const n=e?Math.abs(t.x-s.x):0,o=i?Math.abs(t.y-s.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2))}}(i);let l=Number.POSITIVE_INFINITY;return Pi(t,i,e,(function(i,h,c){const d=i.inRange(e.x,e.y,n);if(s&&!d)return;const u=i.getCenterPoint(n);if(!o&&!t.isPointInArea(u)&&!d)return;const f=r(e,u);f<l?(a=[{element:i,datasetIndex:h,index:c}],l=f):f===l&&a.push({element:i,datasetIndex:h,index:c})})),a}(t,e,i,s,n,o):function(t,e,i,s){let n=[];return Pi(t,i,e,(function(t,i,o){const{startAngle:a,endAngle:r}=t.getProps(["startAngle","endAngle"],s),{angle:l}=Yt(t,{x:e.x,y:e.y});Kt(l,a,r)&&n.push({element:t,datasetIndex:i,index:o})})),n}(t,e,i,n):[]}function Oi(t,e,i,s,n){const o=[],a="x"===i?"inXRange":"inYRange";let r=!1;return Pi(t,i,e,((t,s,l)=>{t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:l}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var Ai={evaluateInteractionItems:Pi,modes:{index(t,e,i,s){const n=ae(e,t),o=i.axis||"x",a=i.includeInvisible||!1,r=i.intersect?Di(t,n,o,s,a):Ci(t,n,o,!1,s,a),l=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,i=t.data[e];i&&!i.skip&&l.push({element:i,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,i,s){const n=ae(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;let r=i.intersect?Di(t,n,o,s,a):Ci(t,n,o,!1,s,a);if(r.length>0){const e=r[0].datasetIndex,i=t.getDatasetMeta(e).data;r=[];for(let t=0;t<i.length;++t)r.push({element:i[t],datasetIndex:e,index:t})}return r},point:(t,e,i,s)=>Di(t,ae(e,t),i.axis||"xy",s,i.includeInvisible||!1),nearest(t,e,i,s){const n=ae(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;return Ci(t,n,o,i.intersect,s,a)},x:(t,e,i,s)=>Oi(t,ae(e,t),"x",i.intersect,s),y:(t,e,i,s)=>Oi(t,ae(e,t),"y",i.intersect,s)}};const Ti=["left","top","right","bottom"];function Li(t,e){return t.filter((t=>t.pos===e))}function Ri(t,e){return t.filter((t=>-1===Ti.indexOf(t.pos)&&t.box.axis===e))}function Ei(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function Ii(t,e,i,s){return Math.max(t[i],e[i])+Math.max(t[s],e[s])}function zi(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Fi(t,e,i,s){const{pos:n,box:o}=i,a=t.maxPadding;if(!Y(n)){i.size&&(t[n]-=i.size);const e=s[i.stack]||{size:0,count:1};e.size=Math.max(e.size,i.horizontal?o.height:o.width),i.size=e.size/e.count,t[n]+=i.size}o.getPadding&&zi(a,o.getPadding());const r=Math.max(0,e.outerWidth-Ii(a,t,"left","right")),l=Math.max(0,e.outerHeight-Ii(a,t,"top","bottom")),h=r!==t.w,c=l!==t.h;return t.w=r,t.h=l,i.horizontal?{same:h,other:c}:{same:c,other:h}}function Bi(t,e){const i=e.maxPadding;return function(t){const s={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{s[t]=Math.max(e[t],i[t])})),s}(t?["left","right"]:["top","bottom"])}function Vi(t,e,i,s){const n=[];let o,a,r,l,h,c;for(o=0,a=t.length,h=0;o<a;++o){r=t[o],l=r.box,l.update(r.width||e.w,r.height||e.h,Bi(r.horizontal,e));const{same:a,other:d}=Fi(e,i,r,s);h|=a&&n.length,c=c||d,l.fullSize||n.push(r)}return h&&Vi(n,e,i,s)||c}function Ni(t,e,i,s,n){t.top=i,t.left=e,t.right=e+s,t.bottom=i+n,t.width=s,t.height=n}function Wi(t,e,i,s){const n=i.padding;let{x:o,y:a}=e;for(const r of t){const t=r.box,l=s[r.stack]||{count:1,placed:0,weight:1},h=r.stackWeight/l.weight||1;if(r.horizontal){const s=e.w*h,o=l.size||t.height;ht(l.start)&&(a=l.start),t.fullSize?Ni(t,n.left,a,i.outerWidth-n.right-n.left,o):Ni(t,e.left+l.placed,a,s,o),l.start=a,l.placed+=s,a=t.bottom}else{const s=e.h*h,a=l.size||t.width;ht(l.start)&&(o=l.start),t.fullSize?Ni(t,o,n.top,a,i.outerHeight-n.bottom-n.top):Ni(t,o,e.top+l.placed,a,s),l.start=o,l.placed+=s,o=t.right}}e.x=o,e.y=a}bt.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Hi={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(t,e,i,s){if(!t)return;const n=li(t.options.layout.padding),o=Math.max(e-n.width,0),a=Math.max(i-n.height,0),r=function(t){const e=function(t){const e=[];let i,s,n,o,a,r;for(i=0,s=(t||[]).length;i<s;++i)n=t[i],({position:o,options:{stack:a,stackWeight:r=1}}=n),e.push({index:i,box:n,pos:o,horizontal:n.isHorizontal(),weight:n.weight,stack:a&&o+a,stackWeight:r});return e}(t),i=Ei(e.filter((t=>t.box.fullSize)),!0),s=Ei(Li(e,"left"),!0),n=Ei(Li(e,"right")),o=Ei(Li(e,"top"),!0),a=Ei(Li(e,"bottom")),r=Ri(e,"x"),l=Ri(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(a).concat(r),chartArea:Li(e,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(a).concat(r)}}(t.boxes),l=r.vertical,h=r.horizontal;J(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),u=Object.assign({},n);zi(u,li(s));const f=Object.assign({maxPadding:u,w:o,h:a,x:n.left,y:n.top},n),g=function(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!Ti.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o<a;++o){r=t[o];const{fullSize:a}=r.box,l=i[r.stack],h=l&&r.stackWeight/l.weight;r.horizontal?(r.width=h?h*s:a&&e.availableWidth,r.height=n):(r.width=s,r.height=h?h*n:a&&e.availableHeight)}return i}(l.concat(h),d);Vi(r.fullSize,f,d,g),Vi(l,f,d,g),Vi(h,f,d,g)&&Vi(l,f,d,g),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(f),Wi(r.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,Wi(r.rightAndBottom,f,d,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},J(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class ji{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class $i extends ji{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Yi={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ui=t=>null===t||""===t,Xi=!!ce&&{passive:!0};function qi(t,e,i){t.canvas.removeEventListener(e,i,Xi)}function Ki(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function Gi(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Ki(i.addedNodes,s),e=e&&!Ki(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function Zi(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Ki(i.removedNodes,s),e=e&&!Ki(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const Ji=new Map;let Qi=0;function ts(){const t=window.devicePixelRatio;t!==Qi&&(Qi=t,Ji.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function es(t,i,s){const n=t.canvas,o=n&&te(n);if(!o)return;const a=e(((t,e)=>{const i=o.clientWidth;s(t,e),i<o.clientWidth&&s()}),window),r=new ResizeObserver((t=>{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||a(i,s)}));return r.observe(o),function(t,e){Ji.size||window.addEventListener("resize",ts),Ji.set(t,e)}(t,a),r}function is(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){Ji.delete(t),Ji.size||window.removeEventListener("resize",ts)}(t)}function ss(t,i,s){const n=t.canvas,o=e((e=>{null!==t.ctx&&s(function(t,e){const i=Yi[t.type]||t.type,{x:s,y:n}=ae(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,i){t.addEventListener(e,i,Xi)}(n,i,o),o}class ns extends ji{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t.$chartjs={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Ui(n)){const e=de(t,"width");void 0!==e&&(t.width=e)}if(Ui(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=de(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e.$chartjs)return!1;const i=e.$chartjs.initial;["height","width"].forEach((t=>{const s=i[t];H(s)?e.removeAttribute(t):e.setAttribute(t,s)}));const s=i.style||{};return Object.keys(s).forEach((t=>{e.style[t]=s[t]})),e.width=e.width,delete e.$chartjs,!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:Gi,detach:Zi,resize:es}[e]||ss;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];s&&(({attach:is,detach:is,resize:is}[e]||qi)(t,e,s),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return le(t,e,i,s)}isAttached(t){const e=te(t);return!(!e||!e.isConnected)}}function os(t){return!Qt()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?$i:ns}var as=Object.freeze({__proto__:null,_detectPlatform:os,BasePlatform:ji,BasicPlatform:$i,DomPlatform:ns});const rs="transparent",ls={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=V(t||rs),n=s.valid&&V(e||rs);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class hs{constructor(t,e,i,s){const n=e[i];s=ci([t.to,s,n,t.from]);const o=ci([t.from,n,s]);this._active=!0,this._fn=t.fn||ls[t.type||typeof o],this._easing=Ge[t.easing]||Ge.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=ci([t.to,e,s,t.from]),this._from=ci([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e<i),!this._active)return this._target[s]=a,void this._notify(!0);e<0?this._target[s]=n:(r=e/i%2,r=o&&r>1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}bt.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const cs=Object.keys(bt.animation);bt.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),bt.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),bt.describe("animations",{_fallback:"animation"}),bt.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class ds{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!Y(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const s=t[i];if(!Y(s))return;const n={};for(const t of cs)n[t]=s[t];(j(s.properties)&&s.properties||[i]).forEach((t=>{t!==i&&e.has(t)||e.set(t,n)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(i)return i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i;t.options=e}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e<s.length;e++){const n=t[s[e]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)}(t.options.$animations,i).then((()=>{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const l=o[r];if("$"===l.charAt(0))continue;if("options"===l){s.push(...this._animateOptions(t,e));continue}const h=e[l];let c=n[l];const d=i.get(l);if(c){if(d&&c.active()){c.update(d,h,a);continue}c.cancel()}d&&d.duration?(n[l]=c=new hs(d,t,l,h),s.push(c)):t[l]=h}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(a.add(this._chart,i),!0):void 0}}function us(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function fs(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n<o;++n)i.push(s[n].index);return i}function gs(t,e,i,s={}){const n=t.keys,o="single"===s.mode;let a,r,l,h;if(null!==e){for(a=0,r=n.length;a<r;++a){if(l=+n[a],l===i){if(s.all)continue;break}h=t.values[l],U(h)&&(o||0===e||It(e)===It(h))&&(e+=h)}return e}}function ps(t,e){const i=t&&t.options.stacked;return i||void 0===i&&void 0!==e.stack}function ms(t,e,i){const s=t[e]||(t[e]={});return s[i]||(s[i]={})}function bs(t,e,i,s){for(const n of e.getMatchingVisibleMetas(s).reverse()){const e=t[n.index];if(i&&e>0||!i&&e<0)return n.index}return null}function xs(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,h=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;t<d;++t){const i=e[t],{[l]:o,[h]:d}=i;u=(i._stacks||(i._stacks={}))[h]=ms(n,c,o),u[r]=d,u._top=bs(u,a,!0,s.type),u._bottom=bs(u,a,!1,s.type)}}function _s(t,e){const i=t.scales;return Object.keys(i).filter((t=>i[t].axis===e)).shift()}function ys(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i]}}}const vs=t=>"reset"===t||"none"===t,ws=(t,e)=>e?t:Object.assign({},t);class Ms{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ps(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&ys(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=q(i.xAxisID,_s(t,"x")),o=e.yAxisID=q(i.yAxisID,_s(t,"y")),a=e.rAxisID=q(i.rAxisID,_s(t,"r")),r=e.indexAxis,l=e.iAxisID=s(r,n,o,a),h=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&kt(this._data,this),t._stacked&&ys(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(Y(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let s,n,o;for(s=0,n=e.length;s<n;++s)o=e[s],i[s]={x:o,y:t[o]};return i}(e);else if(i!==e){if(i){kt(i,this);const t=this._cachedMeta;ys(t),t._parsed=[]}e&&Object.isExtensible(e)&&Mt(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const n=e._stacked;e._stacked=ps(e.vScale,e),e.stack!==i.stack&&(s=!0,ys(e),e.stack=i.stack),this._resyncElements(t),(s||n!==e._stacked)&&xs(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:s}=this,{iScale:n,_stacked:o}=i,a=n.axis;let r,l,h,c=0===t&&e===s.length||i._sorted,d=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,h=s;else{h=j(s[t])?this.parseArrayData(i,s,t,e):Y(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const n=()=>null===l[a]||d&&l[a]<d[a];for(r=0;r<e;++r)i._parsed[r+t]=l=h[r],c&&(n()&&(c=!1),d=l);i._sorted=c}o&&xs(this,h)}parsePrimitiveData(t,e,i,s){const{iScale:n,vScale:o}=t,a=n.axis,r=o.axis,l=n.getLabels(),h=n===o,c=new Array(s);let d,u,f;for(d=0,u=s;d<u;++d)f=d+i,c[d]={[a]:h||n.parse(l[f],f),[r]:o.parse(e[f],f)};return c}parseArrayData(t,e,i,s){const{xScale:n,yScale:o}=t,a=new Array(s);let r,l,h,c;for(r=0,l=s;r<l;++r)h=r+i,c=e[h],a[r]={x:n.parse(c[0],h),y:o.parse(c[1],h)};return a}parseObjectData(t,e,i,s){const{xScale:n,yScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l=new Array(s);let h,c,d,u;for(h=0,c=s;h<c;++h)d=h+i,u=e[d],l[h]={x:n.parse(rt(u,a),d),y:o.parse(rt(u,r),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const s=this.chart,n=this._cachedMeta,o=e[t.axis];return gs({keys:fs(s,!0),values:e._stacks[t.axis]},o,n.index,{mode:i})}updateRangeFromParsed(t,e,i,s){const n=i[e.axis];let o=null===n?NaN:n;const a=s&&i._stacks[e.axis];s&&a&&(s.values=a,o=gs(s,n,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const i=this._cachedMeta,s=i._parsed,n=i._sorted&&t===i.iScale,o=s.length,a=this._getOtherScale(t),r=((t,e,i)=>t&&!e.hidden&&e._stacked&&{keys:fs(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:c}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(a);let d,u;function f(){u=s[d];const e=u[a.axis];return!U(u[t.axis])||h>e||c<e}for(d=0;d<o&&(f()||(this.updateRangeFromParsed(l,t,u,r),!n));++d);if(n)for(d=o-1;d>=0;--d)if(!f()){this.updateRangeFromParsed(l,t,u,r);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s<n;++s)o=e[s][t.axis],U(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,s=e.vScale,n=this.getParsed(t);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:s?""+s.getLabelForValue(n[s.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,i,s,n;return Y(t)?(e=t.top,i=t.right,s=t.bottom,n=t.left):e=i=s=n=t,{top:e,right:i,bottom:s,left:n,disabled:!1===t}}(q(this.options.clip,function(t,e,i){if(!1===i)return!1;const s=us(t,i),n=us(e,i);return{top:n.end,right:s.end,bottom:n.start,left:s.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,s=i.data||[],n=e.chartArea,o=[],a=this._drawStart||0,r=this._drawCount||s.length-a,l=this.options.drawActiveElementsOnTop;let h;for(i.dataset&&i.dataset.draw(t,n,a,r),h=a;h<a+r;++h){const e=s[h];e.hidden||(e.active&&l?o.push(e):e.draw(t,n))}for(h=0;h<o.length;++h)o[h].draw(t,n)}getStyle(t,e){const i=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const s=this.getDataset();let n;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];n=e.$context||(e.$context=function(t,e,i){return ui(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:i,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),n.parsed=this.getParsed(t),n.raw=s.data[t],n.index=n.dataIndex=t}else n=this.$context||(this.$context=function(t,e){return ui(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),n.dataset=s,n.index=n.datasetIndex=this.index;return n.active=!!e,n.mode=i,n}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const s="active"===e,n=this._cachedDataOpts,o=t+"-"+e,a=n[o],r=this.enableOptionSharing&&ht(i);if(a)return ws(a,r);const l=this.chart.config,h=l.datasetElementScopeKeys(this._type,t),c=s?[`${t}Hover`,"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),h),u=Object.keys(bt.elements[t]),f=l.resolveNamedOptions(d,u,(()=>this.getContext(i,s)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(ws(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const l=new ds(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||vs(t)||this.chart._animationsDisabled}updateElement(t,e,i,s){vs(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!vs(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n<s&&this._removeElements(n,s-n)}_insertElements(t,e,i=!0){const s=this._cachedMeta,n=s.data,o=t+e;let a;const r=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;a<o;++a)n[a]=new this.dataElementType;this._parsing&&r(s._parsed),this.parse(t,e),i&&this.updateElements(n,t,e,"reset")}updateElements(t,e,i,s){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const s=i._parsed.splice(t,e);i._stacked&&ys(i,s)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,s]=t;this[e](i,s)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Ms.defaults={},Ms.prototype.datasetElementType=null,Ms.prototype.dataElementType=null;class ks{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return Bt(this.x)&&Bt(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const s={};return t.forEach((t=>{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}ks.defaults={},ks.defaultRoutes=void 0;const Ss={values:t=>j(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t)),i}(t,i)}const a=Et(Math.abs(o)),r=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),ei(t,s,l)},logarithmic(t,e,i){if(0===t)return"0";const s=t/Math.pow(10,Math.floor(Et(t)))
3
+ ;return 1===s||2===s||5===s?Ss.numeric.call(this,t,e,i):""}};var Ps={formatters:Ss};function Ds(t,e,i,s,n){const o=q(s,0),a=Math.min(q(n,t.length),t.length);let r,l,h,c=0;for(i=Math.ceil(i),n&&(r=n-s,i=r/Math.floor(r/i)),h=o;h<0;)c++,h=Math.round(o+c*i);for(l=Math.max(o,0);l<a;l++)l===h&&(e.push(t[l]),c++,h=Math.round(o+c*i))}bt.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ps.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),bt.route("scale.ticks","color","","color"),bt.route("scale.grid","color","","borderColor"),bt.route("scale.grid","borderColor","","borderColor"),bt.route("scale.title","color","","color"),bt.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),bt.describe("scales",{_fallback:"scale"}),bt.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Cs=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function Os(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;o<n;o+=s)i.push(t[Math.floor(o)]);return i}function As(t,e,i){const s=t.ticks.length,n=Math.min(e,s-1),o=t._startPixel,a=t._endPixel,r=1e-6;let l,h=t.getPixelForTick(n);if(!(i&&(l=1===s?Math.max(h-o,a-h):0===e?(t.getPixelForTick(1)-h)/2:(h-t.getPixelForTick(n-1))/2,h+=n<e?l:-l,h<o-r||h>a+r)))return h}function Ts(t){return t.drawTicks?t.tickLength:0}function Ls(t,e){if(!t.display)return 0;const i=hi(t.font,e),s=li(t.padding);return(j(t.text)?t.text.length:1)*i.lineHeight+s.height}function Rs(t,e,i){let n=s(t);return(i&&"right"!==e||!i&&"right"===e)&&(n=(t=>"left"===t?"right":"right"===t?"left":t)(n)),n}class Es extends ks{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=X(t,Number.POSITIVE_INFINITY),e=X(e,Number.NEGATIVE_INFINITY),i=X(i,Number.POSITIVE_INFINITY),s=X(s,Number.NEGATIVE_INFINITY),{min:X(t,i),max:X(e,s),minDefined:U(t),maxDefined:U(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,l=a.length;r<l;++r)e=a[r].controller.getMinMax(this,t),n||(i=Math.min(i,e.min)),o||(s=Math.max(s,e.max));return i=o&&i>s?s:i,s=n&&i>s?i:s,{min:X(i,X(s,i)),max:X(s,X(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Z(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=di(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=a<this.ticks.length;this._convertTicksToLabels(r?Os(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=function(t,e){const i=t.options.ticks,s=i.maxTicksLimit||function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),n=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;i<s;i++)t[i].major&&e.push(i);return e}(e):[],o=n.length,a=n[0],r=n[o-1],l=[];if(o>s)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;n<t.length;n++)n===a&&(e.push(t[n]),o++,a=i[o*s])}(e,l,n,o/s),l;const h=function(t,e,i){const s=function(t){const e=t.length;let i,s;if(e<2)return!1;for(s=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==s)return!1;return s}(t),n=e.length/i;if(!s)return Math.max(n,1);const o=Ft(s);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];if(e>n)return e}return Math.max(n,1)}(n,e,s);if(o>0){let t,i;const s=o>1?Math.round((r-a)/(o-1)):null;for(Ds(e,l,h,H(s)?0:a-s,a),t=0,i=o-1;t<i;t++)Ds(e,l,h,n[t],n[t+1]);return Ds(e,l,h,r,H(s)?e.length:r+s),l}return Ds(e,l,h),l}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),r&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,i=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,i=!i),this._startPixel=t,this._endPixel=e,this._reversePixels=i,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Z(this.options.afterUpdate,[this])}beforeSetDimensions(){Z(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Z(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Z(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Z(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,s,n;for(i=0,s=t.length;i<s;i++)n=t[i],n.label=Z(e.callback,[n.value,i,t],this)}afterTickToLabelConversion(){Z(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Z(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=this.ticks.length,s=e.minRotation||0,n=e.maxRotation;let o,a,r,l=s;if(!this._isVisible()||!e.display||s>=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const h=this._getLabelSizes(),c=h.widest.width,d=h.highest.height,u=Gt(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Ts(t.grid)-e.padding-Ls(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),l=jt(Math.min(Math.asin(Gt((h.highest.height+6)/o,-1,1)),Math.asin(Gt(a/r,-1,1))-Math.asin(Gt(d/r,-1,1)))),l=Math.max(s,Math.min(n,l))),this.labelRotation=l}afterCalculateLabelRotation(){Z(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Z(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Ls(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Ts(n)+o):(t.height=this.maxHeight,t.width=Ts(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,l=Ht(this.labelRotation),h=Math.cos(l),c=Math.sin(l);if(a){const e=i.mirror?0:c*n.width+h*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:h*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,h)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?l?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-h+o)*this.width/(this.width-h),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Z(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e<i;e++)H(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=Os(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length)}return t}_computeLabelSizes(t,e){const{ctx:i,_longestTextCache:s}=this,n=[],o=[];let a,r,l,h,c,d,u,f,g,p,m,b=0,x=0;for(a=0;a<e;++a){if(h=t[a].label,c=this._resolveTickFontOptions(a),i.font=d=c.string,u=s[d]=s[d]||{data:{},gc:[]},f=c.lineHeight,g=p=0,H(h)||j(h)){if(j(h))for(r=0,l=h.length;r<l;++r)m=h[r],H(m)||j(m)||(g=fe(i,u.data,u.gc,g,m),p+=f)}else g=fe(i,u.data,u.gc,g,h),p=f;n.push(g),o.push(p),b=Math.max(g,b),x=Math.max(p,x)}!function(t,e){J(t,(t=>{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n<s;++n)delete t.data[i[n]];i.splice(0,s)}}))}(s,e);const _=n.indexOf(b),y=o.indexOf(x),v=t=>({width:n[t]||0,height:o[t]||0});return{first:v(0),last:v(e-1),widest:v(_),highest:v(y),widths:n,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Zt(this._alignToPixels?pe(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=function(t,e,i){return ui(t,{tick:i,index:e,type:"tick"})}(this.getContext(),t,i))}return this.$context||(this.$context=ui(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=Ht(this.labelRotation),i=Math.abs(Math.cos(e)),s=Math.abs(Math.sin(e)),n=this._getLabelSizes(),o=t.autoSkipPadding||0,a=n?n.widest.width+o:0,r=n?n.highest.height+o:0;return this.isHorizontal()?r*i>a*s?a/i:r/s:r*s<a*i?r/i:a/s}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:o}=s,a=n.offset,r=this.isHorizontal(),l=this.ticks.length+(a?1:0),h=Ts(n),c=[],d=n.setContext(this.getContext()),u=d.drawBorder?d.borderWidth:0,f=u/2,g=function(t){return pe(i,t,u)};let p,m,b,x,_,y,v,w,M,k,S,P;if("top"===o)p=g(this.bottom),y=this.bottom-h,w=p-f,k=g(t.top)+f,P=t.bottom;else if("bottom"===o)p=g(this.top),k=t.top,P=g(t.bottom)-f,y=p+f,w=this.top+h;else if("left"===o)p=g(this.right),_=this.right-h,v=p-f,M=g(t.left)+f,S=t.right;else if("right"===o)p=g(this.left),M=t.left,S=g(t.right)-f,_=p+f,v=this.left+h;else if("x"===e){if("center"===o)p=g((t.top+t.bottom)/2+.5);else if(Y(o)){const t=Object.keys(o)[0],e=o[t];p=g(this.chart.scales[t].getPixelForValue(e))}k=t.top,P=t.bottom,y=p+f,w=y+h}else if("y"===e){if("center"===o)p=g((t.left+t.right)/2);else if(Y(o)){const t=Object.keys(o)[0],e=o[t];p=g(this.chart.scales[t].getPixelForValue(e))}_=p-f,v=_-h,M=t.left,S=t.right}const D=q(s.ticks.maxTicksLimit,l),C=Math.max(1,Math.ceil(l/D));for(m=0;m<l;m+=C){const t=n.setContext(this.getContext(m)),e=t.lineWidth,s=t.color,o=n.borderDash||[],l=t.borderDashOffset,h=t.tickWidth,d=t.tickColor,u=t.tickBorderDash||[],f=t.tickBorderDashOffset;b=As(this,m,a),void 0!==b&&(x=pe(i,b,e),r?_=v=M=S=x:y=w=k=P=x,c.push({tx1:_,ty1:y,tx2:v,ty2:w,x1:M,y1:k,x2:S,y2:P,width:e,color:s,borderDash:o,borderDashOffset:l,tickWidth:h,tickColor:d,tickBorderDash:u,tickBorderDashOffset:f}))}return this._ticksLength=l,this._borderValue=p,c}_computeLabelItems(t){const e=this.axis,i=this.options,{position:s,ticks:n}=i,o=this.isHorizontal(),a=this.ticks,{align:r,crossAlign:l,padding:h,mirror:c}=n,d=Ts(i.grid),u=d+h,f=c?-h:u,g=-Ht(this.labelRotation),p=[];let m,b,x,_,y,v,w,M,k,S,P,D,C="middle";if("top"===s)v=this.bottom-f,w=this._getXAxisLabelAlignment();else if("bottom"===s)v=this.top+f,w=this._getXAxisLabelAlignment();else if("left"===s){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,y=t.x}else if("right"===s){const t=this._getYAxisLabelAlignment(d);w=t.textAlign,y=t.x}else if("x"===e){if("center"===s)v=(t.top+t.bottom)/2+u;else if(Y(s)){const t=Object.keys(s)[0],e=s[t];v=this.chart.scales[t].getPixelForValue(e)+u}w=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===s)y=(t.left+t.right)/2-u;else if(Y(s)){const t=Object.keys(s)[0],e=s[t];y=this.chart.scales[t].getPixelForValue(e)}w=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===r?C="top":"end"===r&&(C="bottom"));const O=this._getLabelSizes();for(m=0,b=a.length;m<b;++m){x=a[m],_=x.label;const t=n.setContext(this.getContext(m));M=this.getPixelForTick(m)+n.labelOffset,k=this._resolveTickFontOptions(m),S=k.lineHeight,P=j(_)?_.length:1;const e=P/2,i=t.color,r=t.textStrokeColor,h=t.textStrokeWidth;let d,u=w;if(o?(y=M,"inner"===w&&(u=m===b-1?this.options.reverse?"left":"right":0===m?this.options.reverse?"right":"left":"center"),D="top"===s?"near"===l||0!==g?-P*S+S/2:"center"===l?-O.highest.height/2-e*S+S:-O.highest.height+S/2:"near"===l||0!==g?S/2:"center"===l?O.highest.height/2-e*S:O.highest.height-P*S,c&&(D*=-1)):(v=M,D=(1-P)*S/2),t.showLabelBackdrop){const e=li(t.backdropPadding),i=O.heights[m],s=O.widths[m];let n=v+D-e.top,o=y-e.left;switch(C){case"middle":n-=i/2;break;case"bottom":n-=i}switch(w){case"center":o-=s/2;break;case"right":o-=s}d={left:o,top:n,width:s+e.width,height:i+e.height,color:t.backdropColor}}p.push({rotation:g,label:_,font:k,color:i,strokeColor:r,strokeWidth:h,textOffset:D,textAlign:u,textBaseline:C,translation:[y,v],backdrop:d})}return p}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Ht(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:s,padding:n}}=this.options,o=t+n,a=this._getLabelSizes().widest.width;let r,l;return"left"===e?s?(l=this.right+n,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l+=a)):(l=this.right-o,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l=this.left)):"right"===e?s?(l=this.left+n,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l-=a)):(l=this.left+o,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l=this.right)):r="right",{textAlign:r,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:s,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,s,n,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));return i>=0?e.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n<o;++n){const t=s[n];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:i}}=this,s=i.setContext(this.getContext()),n=i.drawBorder?s.borderWidth:0;if(!n)return;const o=i.setContext(this.getContext(0)).lineWidth,a=this._borderValue;let r,l,h,c;this.isHorizontal()?(r=pe(t,this.left,n)-n/2,l=pe(t,this.right,o)+o/2,h=c=a):(h=pe(t,this.top,n)-n/2,c=pe(t,this.bottom,o)+o/2,r=l=a),e.save(),e.lineWidth=s.borderWidth,e.strokeStyle=s.borderColor,e.beginPath(),e.moveTo(r,h),e.lineTo(l,c),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,i=this._computeLabelArea();i&&_e(e,i);const s=this._labelItems||(this._labelItems=this._computeLabelItems(t));let n,o;for(n=0,o=s.length;n<o;++n){const t=s[n],i=t.font,o=t.label;t.backdrop&&(e.fillStyle=t.backdrop.color,e.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height)),Me(e,o,0,t.textOffset,i,t)}i&&ye(e)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:s}}=this;if(!i.display)return;const o=hi(i.font),a=li(i.padding),r=i.align;let l=o.lineHeight/2;"bottom"===e||"center"===e||Y(e)?(l+=a.bottom,j(i.text)&&(l+=o.lineHeight*(i.text.length-1))):l+=a.top;const{titleX:h,titleY:c,maxWidth:d,rotation:u}=function(t,e,i,s){const{top:o,left:a,bottom:r,right:l,chart:h}=t,{chartArea:c,scales:d}=h;let u,f,g,p=0;const m=r-o,b=l-a;if(t.isHorizontal()){if(f=n(s,a,l),Y(i)){const t=Object.keys(i)[0],s=i[t];g=d[t].getPixelForValue(s)+m-e}else g="center"===i?(c.bottom+c.top)/2+m-e:Cs(t,i,e);u=l-a}else{if(Y(i)){const t=Object.keys(i)[0],s=i[t];f=d[t].getPixelForValue(s)-b+e}else f="center"===i?(c.left+c.right)/2-b+e:Cs(t,i,e);g=n(s,r,o),p="left"===i?-Tt:Tt}return{titleX:f,titleY:g,maxWidth:u,rotation:p}}(this,l,e,r);Me(t,i.text,0,0,o,{color:i.color,maxWidth:d,rotation:u,textAlign:Rs(r,e,s),textBaseline:"middle",translation:[h,c]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=q(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===Es.prototype.draw?[{z:i,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n<o;++n){const o=e[n];o[i]!==this.id||t&&o.type!==t||s.push(o)}return s}_resolveTickFontOptions(t){return hi(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Is{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;(function(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const s=this.items,n=t.id,o=this.scope+"."+n;if(!n)throw new Error("class does not have id: "+t);return n in s||(s[n]=t,function(t,e,i){const s=st(Object.create(null),[i?bt.get(i):{},bt.get(e),t.defaults]);bt.set(e,s),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((i=>{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),l=a.join(".");bt.route(o,n,l,r)}))}(e,t.defaultRoutes),t.descriptors&&bt.describe(e,t.descriptors)}(t,o,i),this.override&&bt.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in bt[s]&&(delete bt[s][i],this.override&&delete ft[i])}}var zs=new class{constructor(){this.controllers=new Is(Ms,"datasets",!0),this.elements=new Is(ks,"elements"),this.plugins=new Is(Object,"plugins"),this.scales=new Is(Es,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):J(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=lt(t);Z(i["before"+s],[],i),e[t](i),Z(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const s=e.get(t);if(void 0===s)throw new Error('"'+t+'" is not a registered '+i+".");return s}};class Fs{constructor(){this._init=[]}notify(t,e,i,s){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const n=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(n,t,e,i);return"afterDestroy"===e&&(this._notify(n,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,i,s){s=s||{};for(const n of t){const t=n.plugin;if(!1===Z(t[i],[e,s,n.options],t)&&s.cancelable)return!1}return!0}invalidate(){H(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,s=q(i.options&&i.options.plugins,{}),n=function(t){const e=[],i=Object.keys(zs.plugins.items);for(let t=0;t<i.length;t++)e.push(zs.getPlugin(i[t]));const s=t.plugins||[];for(let t=0;t<s.length;t++){const i=s[t];-1===e.indexOf(i)&&e.push(i)}return e}(i);return!1!==s||e?function(t,e,i,s){const n=[],o=t.getContext();for(let a=0;a<e.length;a++){const r=e[a],l=Bs(i[r.id],s);null!==l&&n.push({plugin:r,options:Vs(t.config,r,l,o)})}return n}(t,n,s,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,s=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function Bs(t,e){return e||!1!==t?!0===t?{}:t:null}function Vs(t,e,i,s){const n=t.pluginScopeKeys(e),o=t.getOptionScopes(i,n);return t.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ns(t,e){const i=bt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function Ws(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.charAt(0).toLowerCase();var i}function Hs(t){const e=t.options||(t.options={});e.plugins=q(e.plugins,{}),e.scales=function(t,e){const i=ft[t.type]||{scales:{}},s=e.scales||{},n=Ns(t.type,e),o=Object.create(null),a=Object.create(null);return Object.keys(s).forEach((t=>{const e=s[t];if(!Y(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const r=Ws(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(r,n),h=i.scales||{};o[r]=o[r]||t,a[t]=nt(Object.create(null),[{axis:r},e,h[r],h[l]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,r=i.indexAxis||Ns(n,e),l=(ft[n]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,r),n=i[e+"AxisID"]||o[e]||e;a[n]=a[n]||Object.create(null),nt(a[n],[{axis:e},s[n],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];nt(e,[bt.scales[e.type],bt.scale])})),a}(t,e)}function js(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const $s=new Map,Ys=new Set;function Us(t,e){let i=$s.get(t);return i||(i=e(),$s.set(t,i),Ys.add(i)),i}const Xs=(t,e,i)=>{const s=rt(e,i);void 0!==s&&t.add(s)};class qs{constructor(t){this._config=function(t){return(t=t||{}).data=js(t.data),Hs(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=js(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Hs(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Us(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Us(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Us(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return Us(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>Xs(r,t,e)))),e.forEach((t=>Xs(r,s,t))),e.forEach((t=>Xs(r,ft[n]||{},t))),e.forEach((t=>Xs(r,bt,t))),e.forEach((t=>Xs(r,gt,t)))}));const l=Array.from(r);return 0===l.length&&l.push(Object.create(null)),Ys.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,ft[e]||{},bt.datasets[e]||{},{type:e},bt,gt]}resolveNamedOptions(t,e,i,s=[""]){const n={$shared:!0},{resolver:o,subPrefixes:a}=Ks(this._resolverCache,t,s);let r=o;(function(t,e){const{isScriptable:i,isIndexable:s}=Ce(t);for(const n of e){const e=i(n),o=s(n),a=(o||e)&&t[n];if(e&&(ct(a)||Gs(a))||o&&j(a))return!0}return!1})(o,e)&&(n.$shared=!1,r=De(o,i=ct(i)?i():i,this.createResolver(t,i,a)));for(const t of e)n[t]=r[t];return n}createResolver(t,e,i=[""],s){const{resolver:n}=Ks(this._resolverCache,t,i);return Y(e)?De(n,e,void 0,s):n}}function Ks(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);return o||(o={resolver:Pe(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)),o}const Gs=t=>Y(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||ct(t[i])),!1),Zs=["top","bottom","left","right","chartArea"];function Js(t,e){return"top"===t||"bottom"===t||-1===Zs.indexOf(t)&&"x"===e}function Qs(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function tn(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),Z(i&&i.onComplete,[t],e)}function en(t){const e=t.chart,i=e.options.animation;Z(i&&i.onProgress,[t],e)}function sn(t){return Qt()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const nn={},on=t=>{const e=sn(t);return Object.values(nn).filter((t=>t.canvas===e)).pop()};function an(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}class rn{constructor(t,e){const s=this.config=new qs(e),n=sn(t),o=on(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||os(n)),this.platform.updateConfig(s);const l=this.platform.acquireContext(n,r.aspectRatio),h=l&&l.canvas,c=h&&h.height,d=h&&h.width;this.id=W(),this.ctx=l,this.canvas=h,this.width=d,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Fs,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=i((t=>this.update(t)),r.resizeDelay||0),this._dataChanges=[],nn[this.id]=this,l&&h?(a.listen(this,"complete",tn),a.listen(this,"progress",en),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:s,_aspectRatio:n}=this;return H(t)?e&&n?n:s?i/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():he(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return me(this.canvas,this.ctx),this}stop(){return a.stop(this),this}resize(t,e){a.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,
4
+ this._aspectRatio=this.aspectRatio,he(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Z(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){J(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=Ws(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),J(n,(e=>{const n=e.options,o=n.id,a=Ws(o,n),r=q(n.type,e.dtype);void 0!==n.position&&Js(n.position,a)===Js(e.dposition)||(n.position=e.dposition),s[o]=!0;let l=null;o in i&&i[o].type===r?l=i[o]:(l=new(zs.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[l.id]=l),l.init(n,t)})),J(s,((t,e)=>{t||delete i[e]})),J(i,(t=>{Hi.configure(this,t,t.options),Hi.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(Qs("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i<s;i++){const s=e[i];let n=this.getDatasetMeta(i);const o=s.type||this.config.type;if(n.type&&n.type!==o&&(this._destroyDatasetMeta(i),n=this.getDatasetMeta(i)),n.type=o,n.indexAxis=s.indexAxis||Ns(o,this.options),n.order=s.order||0,n.index=i,n.label=""+s.label,n.visible=this.isDatasetVisible(i),n.controller)n.controller.updateIndex(i),n.controller.linkScales();else{const e=zs.getController(o),{datasetElementType:s,dataElementType:a}=bt.datasets[o];Object.assign(e.prototype,{dataElementType:zs.getElement(a),datasetElementType:s&&zs.getElement(s)}),n.controller=new e(this,i),t.push(n.controller)}}return this._updateMetasets(),t}_resetElements(){J(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),i=!s&&-1===n.indexOf(e);e.buildOrUpdateElements(i),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),s||J(n,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Qs("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){J(this.scales,(t=>{Hi.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);dt(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e)an(t,s,"_removeElements"===i?-n:n)}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;t<e;t++)if(!dt(s,i(t)))return;return Array.from(s).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Hi.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],J(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,ct(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),s={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",s)&&(i.controller._update(e),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(a.has(this)?this.attached&&!a.running(this)&&a.start(this):(this.draw(),tn({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let s,n;for(s=0,n=e.length;s<n;++s){const n=e[s];t&&!n.visible||i.push(n)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,s=!i.disabled,n=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(s&&_e(e,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),t.controller.draw(),s&&ye(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return xe(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=Ai.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=ui(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);ht(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),a.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),me(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete nn[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};J(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){J(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},J(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a<r;++a){o=t[a];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[s+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map((({datasetIndex:t,index:e})=>{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!Q(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=ut(t),l=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,Z(n.onHover,[t,a,this],this),r&&Z(n.onClick,[t,a,this],this));const h=!Q(a,s);return(h||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=l,h}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}const ln=()=>J(rn.instances,(t=>t._plugins.invalidate())),hn=!0;function cn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}Object.defineProperties(rn,{defaults:{enumerable:hn,value:bt},instances:{enumerable:hn,value:nn},overrides:{enumerable:hn,value:ft},registry:{enumerable:hn,value:zs},version:{enumerable:hn,value:"3.8.0"},getChart:{enumerable:hn,value:on},register:{enumerable:hn,value:(...t)=>{zs.add(...t),ln()}},unregister:{enumerable:hn,value:(...t)=>{zs.remove(...t),ln()}}});class dn{constructor(t){this.options=t||{}}formats(){return cn()}parse(t,e){return cn()}format(t,e){return cn()}add(t,e,i){return cn()}diff(t,e,i){return cn()}startOf(t,e,i){return cn()}endOf(t,e){return cn()}}dn.override=function(t){Object.assign(dn.prototype,t)};var un={_date:dn};function fn(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let s=[];for(let e=0,n=i.length;e<n;e++)s=s.concat(i[e].controller.getAllParsedValues(t));t._cache.$bar=St(s.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const l=()=>{32767!==o&&-32768!==o&&(ht(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;s<n;++s)o=e.getPixelForValue(i[s]),l();for(a=void 0,s=0,n=e.ticks.length;s<n;++s)o=e.getPixelForTick(s),l();return r}function gn(t,e,i,s){return j(t)?function(t,e,i,s){const n=i.parse(t[0],s),o=i.parse(t[1],s),a=Math.min(n,o),r=Math.max(n,o);let l=a,h=r;Math.abs(a)>Math.abs(r)&&(l=r,h=a),e[i.axis]=h,e._custom={barStart:l,barEnd:h,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function pn(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,l=[];let h,c,d,u;for(h=i,c=i+s;h<c;++h)u=e[h],d={},d[n.axis]=r||n.parse(a[h],h),l.push(gn(u,d,o,h));return l}function mn(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function bn(t,e,i,s){let n=e.borderSkipped;const o={};if(!n)return void(t.borderSkipped=o);const{start:a,end:r,reverse:l,top:h,bottom:c}=function(t){let e,i,s,n,o;return t.horizontal?(e=t.base>t.x,i="left",s="right"):(e=t.base<t.y,i="bottom",s="top"),e?(n="end",o="start"):(n="start",o="end"),{start:i,end:s,reverse:e,top:n,bottom:o}}(t);"middle"===n&&i&&(t.enableBorderRadius=!0,(i._top||0)===s?n=h:(i._bottom||0)===s?n=c:(o[xn(c,a,r,l)]=!0,n=h)),o[xn(n,a,r,l)]=!0,t.borderSkipped=o}function xn(t,e,i,s){var n,o,a;return s?(a=i,t=_n(t=(n=t)===(o=e)?a:n===a?o:n,i,e)):t=_n(t,e,i),t}function _n(t,e,i){return"start"===t?e:"end"===t?i:t}function yn(t,{inflateAmount:e},i){t.inflateAmount="auto"===e?1===i?.33:0:e}class vn extends Ms{parsePrimitiveData(t,e,i,s){return pn(t,e,i,s)}parseArrayData(t,e,i,s){return pn(t,e,i,s)}parseObjectData(t,e,i,s){const{iScale:n,vScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l="x"===n.axis?a:r,h="x"===o.axis?a:r,c=[];let d,u,f,g;for(d=i,u=i+s;d<u;++d)g=e[d],f={},f[n.axis]=n.parse(rt(g,l),d),c.push(gn(rt(g,h),f,o,d));return c}updateRangeFromParsed(t,e,i,s){super.updateRangeFromParsed(t,e,i,s);const n=i._custom;n&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,n.min),t.max=Math.max(t.max,n.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:s}=e,n=this.getParsed(t),o=n._custom,a=mn(o)?"["+o.start+", "+o.end+"]":""+s.getLabelForValue(n[s.axis]);return{label:""+i.getLabelForValue(n[i.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,i,s){const n="reset"===s,{index:o,_cachedMeta:{vScale:a}}=this,r=a.getBasePixel(),l=a.isHorizontal(),h=this._getRuler(),c=this.resolveDataElementOptions(e,s),d=this.getSharedOptions(c),u=this.includeOptions(s,d);this.updateSharedOptions(d,s,c);for(let c=e;c<e+i;c++){const e=this.getParsed(c),i=n||H(e[a.axis])?{base:r,head:r}:this._calculateBarValuePixels(c),f=this._calculateBarIndexPixels(c,h),g=(e._stacks||{})[a.axis],p={horizontal:l,base:i.base,enableBorderRadius:!g||mn(e._custom)||o===g._top||o===g._bottom,x:l?i.head:f.center,y:l?f.center:i.head,height:l?f.size:Math.abs(i.size),width:l?Math.abs(i.size):f.size};u&&(p.options=d||this.resolveDataElementOptions(c,t[c].active?"active":s));const m=p.options||t[c].options;bn(p,m,g,o),yn(p,m,h.ratio),this.updateElement(t[c],c,p,s)}}_getStacks(t,e){const i=this._cachedMeta.iScale,s=i.getMatchingVisibleMetas(this._type),n=i.options.stacked,o=s.length,a=[];let r,l;for(r=0;r<o;++r)if(l=s[r],l.controller.options.grouped){if(void 0!==e){const t=l.controller.getParsed(e)[l.controller._cachedMeta.vScale.axis];if(H(t)||isNaN(t))continue}if((!1===n||-1===a.indexOf(l.stack)||void 0===n&&void 0===l.stack)&&a.push(l.stack),l.index===t)break}return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n<o;++n)s.push(i.getPixelForValue(this.getParsed(n)[i.axis],n));const a=t.barThickness;return{min:a||fn(e),pixels:s,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:i},options:{base:s,minBarLength:n}}=this,o=s||0,a=this.getParsed(t),r=a._custom,l=mn(r);let h,c,d=a[e.axis],u=0,f=i?this.applyStack(e,a,i):d;f!==d&&(u=f-d,f=d),l&&(d=r.barStart,f=r.barEnd-r.barStart,0!==d&&It(d)!==It(r.barEnd)&&(u=0),u+=d);const g=H(s)||l?u:s;let p=e.getPixelForValue(g);if(h=this.chart.getDataVisibility(t)?e.getPixelForValue(u+f):p,c=h-p,Math.abs(c)<n){c=function(t,e,i){return 0!==t?It(t):(e.isHorizontal()?1:-1)*(e.min>=i?1:-1)}(c,e,o)*n,d===o&&(p-=c/2);const t=e.getPixelForDecimal(0),i=e.getPixelForDecimal(1),s=Math.min(t,i),a=Math.max(t,i);p=Math.max(Math.min(p,a),s),h=p+c}if(p===e.getPixelForValue(o)){const t=It(c)*e.getLineWidthForValue(o)/2;p+=t,c-=t}return{size:c,base:p,head:h,center:h+c/2}}_calculateBarIndexPixels(t,e){const i=e.scale,s=this.options,n=s.skipNull,o=q(s.maxBarThickness,1/0);let a,r;if(e.grouped){const i=n?this._getStackCount(t):e.stackCount,l="flex"===s.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t<n.length-1?n[t+1]:null;const l=i.categoryPercentage;null===a&&(a=o-(null===r?e.end-e.start:r-o)),null===r&&(r=o+o-a);const h=o-(o-Math.min(a,r))/2*l;return{chunk:Math.abs(r-a)/2*l/s,ratio:i.barPercentage,start:h}}(t,e,s,i):function(t,e,i,s){const n=i.barThickness;let o,a;return H(n)?(o=e.min*i.categoryPercentage,a=i.barPercentage):(o=n*s,a=1),{chunk:o/s,ratio:a,start:e.pixels[t]-o/2}}(t,e,s,i),h=this._getStackIndex(this.index,this._cachedMeta.stack,n?t:void 0);a=l.start+l.chunk*h+l.chunk/2,r=Math.min(o,l.chunk*l.ratio)}else a=i.getPixelForValue(this.getParsed(t)[i.axis],t),r=Math.min(o,e.min*e.ratio);return{base:a-r/2,head:a+r/2,center:a,size:r}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,s=i.length;let n=0;for(;n<s;++n)null!==this.getParsed(n)[e.axis]&&i[n].draw(this._ctx)}}vn.id="bar",vn.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},vn.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class wn extends Ms{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,s){const n=super.parsePrimitiveData(t,e,i,s);for(let t=0;t<n.length;t++)n[t]._custom=this.resolveDataElementOptions(t+i).radius;return n}parseArrayData(t,e,i,s){const n=super.parseArrayData(t,e,i,s);for(let t=0;t<n.length;t++){const s=e[i+t];n[t]._custom=q(s[2],this.resolveDataElementOptions(t+i).radius)}return n}parseObjectData(t,e,i,s){const n=super.parseObjectData(t,e,i,s);for(let t=0;t<n.length;t++){const s=e[i+t];n[t]._custom=q(s&&s.r&&+s.r,this.resolveDataElementOptions(t+i).radius)}return n}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:s}=e,n=this.getParsed(t),o=i.getLabelForValue(n.x),a=s.getLabelForValue(n.y),r=n._custom;return{label:e.label,value:"("+o+", "+a+(r?", "+r:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,r=this.resolveDataElementOptions(e,s),l=this.getSharedOptions(r),h=this.includeOptions(s,l),c=o.axis,d=a.axis;for(let r=e;r<e+i;r++){const e=t[r],i=!n&&this.getParsed(r),l={},u=l[c]=n?o.getPixelForDecimal(.5):o.getPixelForValue(i[c]),f=l[d]=n?a.getBasePixel():a.getPixelForValue(i[d]);l.skip=isNaN(u)||isNaN(f),h&&(l.options=this.resolveDataElementOptions(r,e.active?"active":s),n&&(l.options.radius=0)),this.updateElement(e,r,l,s)}this.updateSharedOptions(l,s,r)}resolveDataElementOptions(t,e){const i=this.getParsed(t);let s=super.resolveDataElementOptions(t,e);s.$shared&&(s=Object.assign({},s,{$shared:!1}));const n=s.radius;return"active"!==e&&(s.radius=0),s.radius+=q(i&&i._custom,n),s}}wn.id="bubble",wn.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},wn.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class Mn extends Ms{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=i;else{let n,o,a=t=>+i[t];if(Y(i[t])){const{key:t="value"}=this._parsing;a=e=>+rt(i[e],t)}for(n=t,o=t+e;n<o;++n)s._parsed[n]=a(n)}}_getRotation(){return Ht(this.options.rotation-90)}_getCircumference(){return Ht(this.options.circumference)}_getRotationExtents(){let t=Dt,e=-Dt;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const s=this.chart.getDatasetMeta(i).controller,n=s._getRotation(),o=s._getCircumference();t=Math.min(t,n),e=Math.max(e,n+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,s=this._cachedMeta,n=s.data,o=this.getMaxBorderWidth()+this.getMaxOffset(n)+this.options.spacing,a=Math.max((Math.min(i.width,i.height)-o)/2,0),r=Math.min(K(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:h,rotation:c}=this._getRotationExtents(),{ratioX:d,ratioY:u,offsetX:f,offsetY:g}=function(t,e,i){let s=1,n=1,o=0,a=0;if(e<Dt){const r=t,l=r+e,h=Math.cos(r),c=Math.sin(r),d=Math.cos(l),u=Math.sin(l),f=(t,e,s)=>Kt(t,r,l,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>Kt(t,r,l,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,h,d),m=f(Tt,c,u),b=g(Pt,h,d),x=g(Pt+Tt,c,u);s=(p-b)/2,n=(m-x)/2,o=-(p+b)/2,a=-(m+x)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(c,h,r),p=(i.width-o)/d,m=(i.height-o)/u,b=Math.max(Math.min(p,m)/2,0),x=G(this.options.radius,b),_=(x-Math.max(x*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*x,this.offsetY=g*x,s.total=this.calculateTotal(),this.outerRadius=x-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*l,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/Dt)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,l=(a.left+a.right)/2,h=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,f=this.resolveDataElementOptions(e,s),g=this.getSharedOptions(f),p=this.includeOptions(s,g);let m,b=this._getRotation();for(m=0;m<e;++m)b+=this._circumference(m,n);for(m=e;m<e+i;++m){const e=this._circumference(m,n),i=t[m],o={x:l+this.offsetX,y:h+this.offsetY,startAngle:b,endAngle:b+e,circumference:e,outerRadius:u,innerRadius:d};p&&(o.options=g||this.resolveDataElementOptions(m,i.active?"active":s)),b+=e,this.updateElement(i,m,o,s)}this.updateSharedOptions(g,s,f)}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,s=0;for(i=0;i<e.length;i++){const n=t._parsed[i];null===n||isNaN(n)||!this.chart.getDataVisibility(i)||e[i].hidden||(s+=Math.abs(n))}return s}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?Dt*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ei(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s<n;++s)if(i.isDatasetVisible(s)){o=i.getDatasetMeta(s),t=o.data,a=o.controller;break}if(!t)return 0;for(s=0,n=t.length;s<n;++s)r=a.resolveDataElementOptions(s),"inner"!==r.borderAlign&&(e=Math.max(e,r.borderWidth||0,r.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,s=t.length;i<s;++i){const t=this.resolveDataElementOptions(i);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(q(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Mn.id="doughnut",Mn.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},Mn.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},Mn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const i=": "+t.formattedValue;return j(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}};class kn extends Ms{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:s=[],_dataset:n}=e,o=this.chart._animationsDisabled;let{start:a,count:r}=function(t,e,i){const s=e.length;let n=0,o=s;if(t._sorted){const{iScale:a,_parsed:r}=t,l=a.axis,{min:h,max:c,minDefined:d,maxDefined:u}=a.getUserBounds();d&&(n=Gt(Math.min(_t(r,a.axis,h).lo,i?s:_t(e,l,a.getPixelForValue(h)).lo),0,s-1)),o=u?Gt(Math.max(_t(r,a.axis,c).hi+1,i?0:_t(e,l,a.getPixelForValue(c)).hi+1),n,s)-n:s-n}return{start:n,count:o}}(e,s,o);this._drawStart=a,this._drawCount=r,function(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}(e)&&(a=0,r=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=s;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:l},t),this.updateElements(s,a,r,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a,_stacked:r,_dataset:l}=this._cachedMeta,h=this.resolveDataElementOptions(e,s),c=this.getSharedOptions(h),d=this.includeOptions(s,c),u=o.axis,f=a.axis,{spanGaps:g,segment:p}=this.options,m=Bt(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||n||"none"===s;let x=e>0&&this.getParsed(e-1);for(let h=e;h<e+i;++h){const e=t[h],i=this.getParsed(h),g=b?e:{},_=H(i[f]),y=g[u]=o.getPixelForValue(i[u],h),v=g[f]=n||_?a.getBasePixel():a.getPixelForValue(r?this.applyStack(a,i,r):i[f],h);g.skip=isNaN(y)||isNaN(v)||_,g.stop=h>0&&Math.abs(i[u]-x[u])>m,p&&(g.parsed=i,g.raw=l.data[h]),d&&(g.options=c||this.resolveDataElementOptions(h,e.active?"active":s)),b||this.updateElement(e,h,g,s),x=i}this.updateSharedOptions(c,s,h)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}kn.id="line",kn.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},kn.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Sn extends Ms{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ei(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}parseObjectData(t,e,i,s){return Ve.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(s<e.min&&(e.min=s),s>e.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.options.animation,r=this._cachedMeta.rScale,l=r.xCenter,h=r.yCenter,c=r.getIndexAngle(0)-.5*Pt;let d,u=c;const f=360/this.countVisibleElements();for(d=0;d<e;++d)u+=this._computeAngle(d,s,f);for(d=e;d<e+i;d++){const e=t[d];let i=u,g=u+this._computeAngle(d,s,f),p=o.getDataVisibility(d)?r.getDistanceFromCenterForValue(this.getParsed(d).r):0;u=g,n&&(a.animateScale&&(p=0),a.animateRotate&&(i=g=c));const m={x:l,y:h,innerRadius:0,outerRadius:p,startAngle:i,endAngle:g,options:this.resolveDataElementOptions(d,e.active?"active":s)};this.updateElement(e,d,m,s)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?Ht(this.resolveDataElementOptions(t,e).angle||i):0}}Sn.id="polarArea",Sn.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Sn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Pn extends Mn{}Pn.id="pie",Pn.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Dn extends Ms{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,s){return Ve.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a<e+i;a++){const e=t[a],i=this.resolveDataElementOptions(a,e.active?"active":s),r=n.getPointPositionForValue(a,this.getParsed(a).r),l=o?n.xCenter:r.x,h=o?n.yCenter:r.y,c={x:l,y:h,angle:r.angle,skip:isNaN(l)||isNaN(h),
5
+ options:i};this.updateElement(e,a,c,s)}}}Dn.id="radar",Dn.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},Dn.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Cn extends kn{}Cn.id="scatter",Cn.defaults={showLine:!1,fill:!1},Cn.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var On=Object.freeze({__proto__:null,BarController:vn,BubbleController:wn,DoughnutController:Mn,LineController:kn,PolarAreaController:Sn,PieController:Pn,RadarController:Dn,ScatterController:Cn});function An(t,e,i){const{startAngle:s,pixelMargin:n,x:o,y:a,outerRadius:r,innerRadius:l}=e;let h=n/r;t.beginPath(),t.arc(o,a,r,s-h,i+h),l>n?(h=n/l,t.arc(o,a,l,i+h,s-h,!0)):t.arc(o,a,n,i+Tt,s-Tt),t.closePath(),t.clip()}function Tn(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function Ln(t,e,i,s,n){const{x:o,y:a,startAngle:r,pixelMargin:l,innerRadius:h}=e,c=Math.max(e.outerRadius+s+i-l,0),d=h>0?h+s+i+l:0;let u=0;const f=n-r;if(s){const t=((h>0?h-s:0)+(c>0?c-s:0))/2;u=(f-(0!==t?f*t/(t+s):f))/2}const g=(f-Math.max(.001,f*c-i/Pt)/c)/2,p=r+g+u,m=n-g-u,{outerStart:b,outerEnd:x,innerStart:_,innerEnd:y}=function(t,e,i,s){const n=oi(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return Gt(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:Gt(n.innerStart,0,a),innerEnd:Gt(n.innerEnd,0,a)}}(e,d,c,m-p),v=c-b,w=c-x,M=p+b/v,k=m-x/w,S=d+_,P=d+y,D=p+_/S,C=m-y/P;if(t.beginPath(),t.arc(o,a,c,M,k),x>0){const e=Tn(w,k,o,a);t.arc(e.x,e.y,x,k,m+Tt)}const O=Tn(P,m,o,a);if(t.lineTo(O.x,O.y),y>0){const e=Tn(P,C,o,a);t.arc(e.x,e.y,y,m+Tt,C+Math.PI)}if(t.arc(o,a,d,m-y/d,p+_/d,!0),_>0){const e=Tn(S,D,o,a);t.arc(e.x,e.y,_,D+Math.PI,p-Tt)}const A=Tn(v,p,o,a);if(t.lineTo(A.x,A.y),b>0){const e=Tn(v,M,o,a);t.arc(e.x,e.y,b,p-Tt,M)}t.closePath()}class Rn extends ks{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:n,distance:o}=Yt(s,{x:t,y:e}),{startAngle:a,endAngle:r,innerRadius:l,outerRadius:h,circumference:c}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),d=this.options.spacing/2,u=q(c,r-a)>=Dt||Kt(n,a,r),f=Jt(o,l+d,h+d);return u&&f}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:r,spacing:l}=this.options,h=(s+n)/2,c=(o+a+l+r)/2;return{x:e+Math.cos(h)*c,y:i+Math.sin(h)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/2,n=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>Dt?Math.floor(i/Dt):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(s){o=s/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*o,Math.sin(e)*o),this.circumference>=Pt&&(o=s)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=function(t,e,i,s){const{fullCircles:n,startAngle:o,circumference:a}=e;let r=e.endAngle;if(n){Ln(t,e,i,s,o+Dt);for(let e=0;e<n;++e)t.fill();isNaN(a)||(r=o+a%Dt,a%Dt==0&&(r+=Dt))}return Ln(t,e,i,s,r),t.fill(),r}(t,this,o,n);(function(t,e,i,s,n){const{options:o}=e,{borderWidth:a,borderJoinStyle:r}=o,l="inner"===o.borderAlign;a&&(l?(t.lineWidth=2*a,t.lineJoin=r||"round"):(t.lineWidth=a,t.lineJoin=r||"bevel"),e.fullCircles&&function(t,e,i){const{x:s,y:n,startAngle:o,pixelMargin:a,fullCircles:r}=e,l=Math.max(e.outerRadius-a,0),h=e.innerRadius+a;let c;for(i&&An(t,e,o+Dt),t.beginPath(),t.arc(s,n,h,o+Dt,o,!0),c=0;c<r;++c)t.stroke();for(t.beginPath(),t.arc(s,n,l,o,o+Dt),c=0;c<r;++c)t.stroke()}(t,e,l),l&&An(t,e,n),Ln(t,e,i,s,n),t.stroke())})(t,this,o,n,a),t.restore()}}function En(t,e,i=e){t.lineCap=q(i.borderCapStyle,e.borderCapStyle),t.setLineDash(q(i.borderDash,e.borderDash)),t.lineDashOffset=q(i.borderDashOffset,e.borderDashOffset),t.lineJoin=q(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=q(i.borderWidth,e.borderWidth),t.strokeStyle=q(i.borderColor,e.borderColor)}function In(t,e,i){t.lineTo(i.x,i.y)}function zn(t,e,i={}){const s=t.length,{start:n=0,end:o=s-1}=i,{start:a,end:r}=e,l=Math.max(n,a),h=Math.min(o,r),c=n<a&&o<a||n>r&&o>r;return{count:s,start:l,loop:e.loop,ilen:h<l&&!c?s+h-l:h-l}}function Fn(t,e,i,s){const{points:n,options:o}=e,{count:a,start:r,loop:l,ilen:h}=zn(n,i,s),c=function(t){return t.stepped?ve:t.tension||"monotone"===t.cubicInterpolationMode?we:In}(o);let d,u,f,{move:g=!0,reverse:p}=s||{};for(d=0;d<=h;++d)u=n[(r+(p?h-d:d))%a],u.skip||(g?(t.moveTo(u.x,u.y),g=!1):c(t,f,u,p,o.stepped),f=u);return l&&(u=n[(r+(p?h:0))%a],c(t,f,u,p,o.stepped)),!!l}function Bn(t,e,i,s){const n=e.points,{count:o,start:a,ilen:r}=zn(n,i,s),{move:l=!0,reverse:h}=s||{};let c,d,u,f,g,p,m=0,b=0;const x=t=>(a+(h?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(l&&(d=n[x(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[x(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(i<f?f=i:i>g&&(g=i),m=(b*m+e)/++b):(_(),t.lineTo(e,i),u=s,b=0,f=g=i),p=i}_()}function Vn(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?Fn:Bn}Rn.id="arc",Rn.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Rn.defaultRoutes={backgroundColor:"backgroundColor"};const Nn="function"==typeof Path2D;class Wn extends ks{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;Ue(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=yi(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,s=t[e],n=this.points,o=_i(this,{property:e,start:s,end:s});if(!o.length)return;const a=[],r=function(t){return t.stepped?Je:t.tension||"monotone"===t.cubicInterpolationMode?Qe:Ze}(i);let l,h;for(l=0,h=o.length;l<h;++l){const{start:h,end:c}=o[l],d=n[h],u=n[c];if(d===u){a.push(d);continue}const f=r(d,u,Math.abs((s-d[e])/(u[e]-d[e])),i.stepped);f[e]=t[e],a.push(f)}return 1===a.length?a[0]:a}pathSegment(t,e,i){return Vn(this)(t,this,e,i)}path(t,e,i){const s=this.segments,n=Vn(this);let o=this._loop;e=e||0,i=i||this.points.length-e;for(const a of s)o&=n(t,this,a,{start:e,end:e+i-1});return!!o}draw(t,e,i,s){const n=this.options||{};(this.points||[]).length&&n.borderWidth&&(t.save(),function(t,e,i,s){Nn&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),En(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=Vn(e);for(const r of n)En(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}(t,this,i,s),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Hn(t,e,i,s){const n=t.options,{[i]:o}=t.getProps([i],s);return Math.abs(e-o)<n.radius+n.hitRadius}Wn.id="line",Wn.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},Wn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},Wn.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class jn extends ks{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.options,{x:n,y:o}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-o,2)<Math.pow(s.hitRadius+s.radius,2)}inXRange(t,e){return Hn(this,t,"x",e)}inYRange(t,e){return Hn(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){let e=(t=t||this.options||{}).radius||0;return e=Math.max(e,e&&t.hoverRadius||0),2*(e+(e&&t.borderWidth||0))}draw(t,e){const i=this.options;this.skip||i.radius<.1||!xe(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,be(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function $n(t,e){const{x:i,y:s,base:n,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let r,l,h,c,d;return t.horizontal?(d=a/2,r=Math.min(i,n),l=Math.max(i,n),h=s-d,c=s+d):(d=o/2,r=i-d,l=i+d,h=Math.min(s,n),c=Math.max(s,n)),{left:r,top:h,right:l,bottom:c}}function Yn(t,e,i,s){return t?0:Gt(e,i,s)}function Un(t,e,i,s){const n=null===e,o=null===i,a=t&&!(n&&o)&&$n(t,s);return a&&(n||Jt(e,a.left,a.right))&&(o||Jt(i,a.top,a.bottom))}function Xn(t,e){t.rect(e.x,e.y,e.w,e.h)}function qn(t,e,i={}){const s=t.x!==i.x?-e:0,n=t.y!==i.y?-e:0,o=(t.x+t.w!==i.x+i.w?e:0)-s,a=(t.y+t.h!==i.y+i.h?e:0)-n;return{x:t.x+s,y:t.y+n,w:t.w+o,h:t.h+a,radius:t.radius}}jn.id="point",jn.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},jn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class Kn extends ks{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:s}}=this,{inner:n,outer:o}=function(t){const e=$n(t),i=e.right-e.left,s=e.bottom-e.top,n=function(t,e,i){const s=t.options.borderWidth,n=t.borderSkipped,o=ai(s);return{t:Yn(n.top,o.top,0,i),r:Yn(n.right,o.right,0,e),b:Yn(n.bottom,o.bottom,0,i),l:Yn(n.left,o.left,0,e)}}(t,i/2,s/2),o=function(t,e,i){const{enableBorderRadius:s}=t.getProps(["enableBorderRadius"]),n=t.options.borderRadius,o=ri(n),a=Math.min(e,i),r=t.borderSkipped,l=s||Y(n);return{topLeft:Yn(!l||r.top||r.left,o.topLeft,0,a),topRight:Yn(!l||r.top||r.right,o.topRight,0,a),bottomLeft:Yn(!l||r.bottom||r.left,o.bottomLeft,0,a),bottomRight:Yn(!l||r.bottom||r.right,o.bottomRight,0,a)}}(t,i/2,s/2);return{outer:{x:e.left,y:e.top,w:i,h:s,radius:o},inner:{x:e.left+n.l,y:e.top+n.t,w:i-n.l-n.r,h:s-n.t-n.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,o.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(n.b,n.r))}}}}(this),a=(r=o.radius).topLeft||r.topRight||r.bottomLeft||r.bottomRight?Se:Xn;var r;t.save(),o.w===n.w&&o.h===n.h||(t.beginPath(),a(t,qn(o,e,n)),t.clip(),a(t,qn(n,-e,o)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,qn(n,e)),t.fillStyle=s,t.fill(),t.restore()}inRange(t,e,i){return Un(this,t,e,i)}inXRange(t,e){return Un(this,t,null,e)}inYRange(t,e){return Un(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:s,horizontal:n}=this.getProps(["x","y","base","horizontal"],t);return{x:n?(e+s)/2:e,y:n?i:(i+s)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}Kn.id="bar",Kn.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},Kn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Gn=Object.freeze({__proto__:null,ArcElement:Rn,LineElement:Wn,PointElement:jn,BarElement:Kn});function Zn(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function Jn(t){t.data.datasets.forEach((t=>{Zn(t)}))}var Qn={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void Jn(t);const s=t.width;t.data.datasets.forEach(((e,n)=>{const{_data:o,indexAxis:a}=e,r=t.getDatasetMeta(n),l=o||e.data;if("y"===ci([a,t.options.indexAxis]))return;if(!r.controller.supportsDecimation)return;const h=t.scales[r.xAxisID];if("linear"!==h.type&&"time"!==h.type)return;if(t.options.parsing)return;let c,{start:d,count:u}=function(t,e){const i=e.length;let s,n=0;const{iScale:o}=t,{min:a,max:r,minDefined:l,maxDefined:h}=o.getUserBounds();return l&&(n=Gt(_t(e,o.axis,a).lo,0,i-1)),s=h?Gt(_t(e,o.axis,r).hi+1,n,i)-n:i-n,{start:n,count:s}}(r,l);if(u<=(i.threshold||4*s))Zn(e);else{switch(H(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":c=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let l=0;const h=e+i-1;let c,d,u,f,g,p=e;for(a[l++]=t[p],c=0;c<o-2;c++){let s,n=0,o=0;const h=Math.floor((c+1)*r)+1+e,m=Math.min(Math.floor((c+2)*r)+1,i)+e,b=m-h;for(s=h;s<m;s++)n+=t[s].x,o+=t[s].y;n/=b,o/=b;const x=Math.floor(c*r)+1+e,_=Math.min(Math.floor((c+1)*r)+1,i)+e,{x:y,y:v}=t[p];for(u=f=-1,s=x;s<_;s++)f=.5*Math.abs((y-n)*(t[s].y-v)-(y-t[s].x)*(o-v)),f>u&&(u=f,d=t[s],g=s);a[l++]=d,p=g}return a[l++]=t[h],a}(l,d,u,s,i);break;case"min-max":c=function(t,e,i,s){let n,o,a,r,l,h,c,d,u,f,g=0,p=0;const m=[],b=e+i-1,x=t[e].x,_=t[b].x-x;for(n=e;n<e+i;++n){o=t[n],a=(o.x-x)/_*s,r=o.y;const e=0|a;if(e===l)r<u?(u=r,h=n):r>f&&(f=r,c=n),g=(p*g+o.x)/++p;else{const i=n-1;if(!H(h)&&!H(c)){const e=Math.min(h,c),s=Math.max(h,c);e!==d&&e!==i&&m.push({...t[e],x:g}),s!==d&&s!==i&&m.push({...t[s],x:g})}n>0&&i!==d&&m.push(t[i]),m.push(o),l=e,p=0,u=f=r,h=c=d=n}}return m}(l,d,u,s);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=c}}))},destroy(t){Jn(t)}};function to(t,e,i,s){if(s)return;let n=e[t],o=i[t];return"angle"===t&&(n=qt(n),o=qt(o)),{property:t,start:n,end:o}}function eo(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function io(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function so(t,e){let i=[],s=!1;return j(t)?(s=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=eo(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new Wn({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function no(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!U(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function oo(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=q(i&&i.target,i);return void 0===s&&(s=!!e.backgroundColor),!1!==s&&null!==s&&(!0===s?"origin":s)}(t);if(Y(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return U(n)&&Math.floor(n)===n?function(t,e,i,s){return"-"!==t&&"+"!==t||(i=e+i),!(i===e||i<0||i>=s)&&i}(s[0],e,n,i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function ao(t,e,i){const s=[];for(let n=0;n<i.length;n++){const o=i[n],{first:a,last:r,point:l}=ro(o,e,"x");if(!(!l||a&&r))if(a)s.unshift(l);else if(t.push(l),!r)break}t.push(...s)}function ro(t,e,i){const s=t.interpolate(e,i);if(!s)return{};const n=s[i],o=t.segments,a=t.points;let r=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],s=a[e.start][i],h=a[e.end][i];if(Jt(n,s,h)){r=n===s,l=n===h;break}}return{first:r,last:l,point:s}}class lo{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:s,y:n,radius:o}=this;return e=e||{start:0,end:Dt},t.arc(s,n,o,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:s}=this,n=t.angle;return{x:e+Math.cos(n)*s,y:i+Math.sin(n)*s,angle:n}}}function ho(t,e,i){const s=function(t){const{chart:e,fill:i,line:s}=t;if(U(i))return function(t,e){const i=t.getDatasetMeta(e);return i&&t.isDatasetVisible(e)?i.dataset:null}(e,i);if("stack"===i)return function(t){const{scale:e,index:i,line:s}=t,n=[],o=s.segments,a=s.points,r=function(t,e){const i=[],s=t.getMatchingVisibleMetas("line");for(let t=0;t<s.length;t++){const n=s[t];if(n.index===e)break;n.hidden||i.unshift(n.dataset)}return i}(e,i);r.push(so({x:null,y:e.bottom},s));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)ao(n,a[t],r)}return new Wn({points:n,options:{}})}(t);if("shape"===i)return!0;const n=function(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:i}=t,s=e.options,n=e.getLabels().length,o=s.reverse?e.max:e.min,a=function(t,e,i){let s;return s="start"===t?i:"end"===t?e.options.reverse?e.min:e.max:Y(t)?t.value:e.getBaseValue(),s}(i,e,o),r=[];if(s.grid.circular){const t=e.getPointPositionForValue(0,o);return new lo({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(a)})}for(let t=0;t<n;++t)r.push(e.getPointPositionForValue(t,a));return r}(t):function(t){const{scale:e={},fill:i}=t,s=function(t,e){let i=null;return"start"===t?i=e.bottom:"end"===t?i=e.top:Y(t)?i=e.getPixelForValue(t.value):e.getBasePixel&&(i=e.getBasePixel()),i}(i,e);if(U(s)){const t=e.isHorizontal();return{x:t?s:null,y:t?null:s}}return null}(t)}(t);return n instanceof lo?n:so(n,s)}(e),{line:n,scale:o,axis:a}=e,r=n.options,l=r.fill,h=r.backgroundColor,{above:c=h,below:d=h}=l||{};s&&n.points.length&&(_e(t,i),function(t,e){const{line:i,target:s,above:n,below:o,area:a,scale:r}=e,l=i._loop?"angle":e.axis;t.save(),"x"===l&&o!==n&&(co(t,s,a.top),uo(t,{line:i,target:s,color:n,scale:r,property:l}),t.restore(),t.save(),co(t,s,a.bottom)),uo(t,{line:i,target:s,color:o,scale:r,property:l}),t.restore()}(t,{line:n,target:s,above:c,below:d,area:i,scale:o,axis:a}),ye(t))}function co(t,e,i){const{segments:s,points:n}=e;let o=!0,a=!1;t.beginPath();for(const r of s){const{start:s,end:l}=r,h=n[s],c=n[eo(s,l,n)];o?(t.moveTo(h.x,h.y),o=!1):(t.lineTo(h.x,i),t.lineTo(h.x,h.y)),a=!!e.pathSegment(t,r,{move:a}),a?t.closePath():t.lineTo(c.x,i)}t.lineTo(e.first().x,i),t.closePath(),t.clip()}function uo(t,e){const{line:i,target:s,property:n,color:o,scale:a}=e,r=function(t,e,i){const s=t.segments,n=t.points,o=e.points,a=[];for(const t of s){let{start:s,end:r}=t;r=eo(s,r,n);const l=to(i,n[s],n[r],t.loop);if(!e.segments){a.push({source:t,target:l,start:n[s],end:n[r]});continue}const h=_i(e,l);for(const e of h){const s=to(i,o[e.start],o[e.end],e.loop),r=xi(t,n,s);for(const t of r)a.push({source:t,target:e,start:{[i]:io(l,s,"start",Math.max)},end:{[i]:io(l,s,"end",Math.min)}})}}return a}(i,s,n);for(const{source:e,target:l,start:h,end:c}of r){const{style:{backgroundColor:r=o}={}}=e,d=!0!==s;t.save(),t.fillStyle=r,fo(t,a,d&&to(n,h,c)),t.beginPath();const u=!!i.pathSegment(t,e);let f;if(d){u?t.closePath():go(t,s,c,n);const e=!!s.pathSegment(t,l,{move:u,reverse:!0});f=u&&e,f||go(t,s,h,n)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function fo(t,e,i){const{top:s,bottom:n}=e.chart.chartArea,{property:o,start:a,end:r}=i||{};"x"===o&&(t.beginPath(),t.rect(a,s,r-a,n-s),t.clip())}function go(t,e,i,s){const n=e.interpolate(i,s);n&&t.lineTo(n.x,n.y)}var po={id:"filler",afterDatasetsUpdate(t,e,i){const s=(t.data.datasets||[]).length,n=[];let o,a,r,l;for(a=0;a<s;++a)o=t.getDatasetMeta(a),r=o.dataset,l=null,r&&r.options&&r instanceof Wn&&(l={visible:t.isDatasetVisible(a),index:a,fill:oo(r,a,s),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:r}),o.$filler=l,n.push(l);for(a=0;a<s;++a)l=n[a],l&&!1!==l.fill&&(l.fill=no(n,a,i.propagate))},beforeDraw(t,e,i){const s="beforeDraw"===i.drawTime,n=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=n.length-1;e>=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&ho(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;i&&ho(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;s&&!1!==s.fill&&"beforeDatasetDraw"===i.drawTime&&ho(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const mo=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class bo extends ks{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Z(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=hi(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=mo(i,n);let l,h;e.font=s.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,n,a,r)+10):(h=this.maxHeight,l=this._fitCols(o,n,a,r)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||l[l.length-1]+g+2*a>o)&&(c+=h,l[l.length-(f>0?0:1)]=0,u+=h,d++),r[f]={left:0,top:u,row:d,width:g,height:s},l[l.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.columnSizes=[],h=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const p=i+e/2+n.measureText(t.text).width;o>0&&u+s+2*a>h&&(c+=d+a,l.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:s},d=Math.max(d,p),u+=s+a})),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:o}}=this,a=fi(o,this.left,this.width);if(this.isHorizontal()){let o=0,r=n(i,this.left+s,this.right-this.lineWidths[o]);for(const l of e)o!==l.row&&(o=l.row,r=n(i,this.left+s,this.right-this.lineWidths[o])),l.top+=this.top+t+s,l.left=a.leftForLtr(a.x(r),l.width),r+=l.width+s}else{let o=0,r=n(i,this.top+t+s,this.bottom-this.columnSizes[o].height);for(const l of e)l.col!==o&&(o=l.col,r=n(i,this.top+t+s,this.bottom-this.columnSizes[o].height)),l.top=r,l.left+=this.left+s,l.left=a.leftForLtr(a.x(l.left),l.width),r+=l.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;_e(t,this),this._draw(),ye(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:a,labels:r}=t,l=bt.color,h=fi(t.rtl,this.left,this.width),c=hi(r.font),{color:d,padding:u}=r,f=c.size,g=f/2;let p;this.drawTitle(),s.textAlign=h.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:m,boxHeight:b,itemHeight:x}=mo(r,f),_=this.isHorizontal(),y=this._computeTitleHeight();p=_?{x:n(a,this.left+u,this.right-i[0]),y:this.top+u+y,line:0}:{x:this.left+u,y:n(a,this.top+y+u,this.bottom-e[0].height),line:0},gi(this.ctx,t.textDirection);const v=x+u;this.legendItems.forEach(((w,M)=>{s.strokeStyle=w.fontColor||d,s.fillStyle=w.fontColor||d;const k=s.measureText(w.text).width,S=h.textAlign(w.textAlign||(w.textAlign=r.textAlign)),P=m+g+k;let D=p.x,C=p.y;h.setWidth(this.width),_?M>0&&D+P+u>this.right&&(C=p.y+=v,p.line++,D=p.x=n(a,this.left+u,this.right-i[p.line])):M>0&&C+v>this.bottom&&(D=p.x=D+e[p.line].width+u,p.line++,C=p.y=n(a,this.top+y+u,this.bottom-e[p.line].height)),function(t,e,i){if(isNaN(m)||m<=0||isNaN(b)||b<0)return;s.save();const n=q(i.lineWidth,1);if(s.fillStyle=q(i.fillStyle,l),s.lineCap=q(i.lineCap,"butt"),s.lineDashOffset=q(i.lineDashOffset,0),s.lineJoin=q(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=q(i.strokeStyle,l),s.setLineDash(q(i.lineDash,[])),r.usePointStyle){const o={radius:m*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},a=h.xPlus(t,m/2);be(s,o,a,e+g)}else{const o=e+Math.max((f-b)/2,0),a=h.leftForLtr(t,m),r=ri(i.borderRadius);s.beginPath(),Object.values(r).some((t=>0!==t))?Se(s,{x:a,y:o,w:m,h:b,radius:r}):s.rect(a,o,m,b),s.fill(),0!==n&&s.stroke()}s.restore()}(h.x(D),C,w),D=o(S,D+m+g,_?D+P:this.right,t.rtl),function(t,e,i){Me(s,i.text,t,e+x/2,c,{strikethrough:i.hidden,textAlign:h.textAlign(i.textAlign)})}(h.x(D),C,w),_?p.x+=P+u:p.y+=v})),pi(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=hi(e.font),o=li(e.padding);if(!e.display)return;const a=fi(t.rtl,this.left,this.width),r=this.ctx,l=e.position,h=i.size/2,c=o.top+h;let d,u=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),d=this.top+c,u=n(t.align,u,this.right-f);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);d=c+n(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const g=n(l,u,u+f);r.textAlign=a.textAlign(s(l)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=i.string,Me(r,e.text,g,d,i)}_computeTitleHeight(){const t=this.options.title,e=hi(t.font),i=li(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(Jt(t,this.left,this.right)&&Jt(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(s=n[i],Jt(t,s.left,s.left+s.width)&&Jt(e,s.top,s.top+s.height))return this.legendItems[i];return null}handleEvent(t){const e=this.options;if(!function(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const o=this._hoveredItem,a=(n=i,null!==(s=o)&&null!==n&&s.datasetIndex===n.datasetIndex&&s.index===n.index);o&&!a&&Z(e.onLeave,[t,o,this],this),this._hoveredItem=i,i&&!a&&Z(e.onHover,[t,i,this],this)}else i&&Z(e.onClick,[t,i,this],this);var s,n}}var xo={id:"legend",_element:bo,start(t,e,i){const s=t.legend=new bo({ctx:t.ctx,options:i,chart:t});Hi.configure(t,s,i),Hi.addBox(t,s)},stop(t){Hi.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const s=t.legend;Hi.configure(t,s,i),s.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const s=e.datasetIndex,n=i.chart;n.isDatasetVisible(s)?(n.hide(s),e.hidden=!0):(n.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const a=t.controller.getStyle(i?0:void 0),r=li(a.borderWidth);return{text:e[t.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(r.width+r.height)/4,strokeStyle:a.borderColor,pointStyle:s||a.pointStyle,rotation:a.rotation,textAlign:n||a.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class _o extends ks{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=j(i.text)?i.text.length:1;this._padding=li(i.padding);const n=s*hi(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:o,options:a}=this,r=a.align;let l,h,c,d=0;return this.isHorizontal()?(h=n(r,i,o),c=e+t,l=o-i):("left"===a.position?(h=i+t,c=n(r,s,e),d=-.5*Pt):(h=o-t,c=n(r,e,s),d=.5*Pt),l=s-e),{titleX:h,titleY:c,maxWidth:l,rotation:d}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=hi(e.font),n=i.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:r,rotation:l}=this._drawArgs(n);Me(t,e.text,0,0,i,{color:e.color,maxWidth:r,rotation:l,textAlign:s(e.align),textBaseline:"middle",translation:[o,a]})}}var yo={id:"title",_element:_o,start(t,e,i){!function(t,e){const i=new _o({ctx:t.ctx,options:e,chart:t});Hi.configure(t,i,e),Hi.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;Hi.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;Hi.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const vo=new WeakMap;var wo={id:"subtitle",start(t,e,i){const s=new _o({ctx:t.ctx,options:i,chart:t});Hi.configure(t,s,i),Hi.addBox(t,s),vo.set(t,s)},stop(t){Hi.removeBox(t,vo.get(t)),vo.delete(t)},beforeUpdate(t,e,i){const s=vo.get(t);Hi.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Mo={average(t){if(!t.length)return!1;let e,i,s=0,n=0,o=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();s+=t.x,n+=t.y,++o}}return{x:s/o,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,s,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY;for(i=0,s=t.length;i<s;++i){const s=t[i].element;if(s&&s.hasValue()){const t=Ut(e,s.getCenterPoint());t<r&&(r=t,n=s)}}if(n){const t=n.tooltipPosition();o=t.x,a=t.y}return{x:o,y:a}}};function ko(t,e){return e&&(j(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function So(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Po(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function Do(t,e){
6
+ const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,l=hi(e.bodyFont),h=hi(e.titleFont),c=hi(e.footerFont),d=o.length,u=n.length,f=s.length,g=li(e.padding);let p=g.height,m=0,b=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);b+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),b&&(p+=f*(e.displayColors?Math.max(r,l.lineHeight):l.lineHeight)+(b-f)*l.lineHeight+(b-1)*e.bodySpacing),u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let x=0;const _=function(t){m=Math.max(m,i.measureText(t).width+x)};return i.save(),i.font=h.string,J(t.title,_),i.font=l.string,J(t.beforeBody.concat(t.afterBody),_),x=e.displayColors?a+2+e.boxPadding:0,J(s,(t=>{J(t.before,_),J(t.lines,_),J(t.after,_)})),x=0,i.font=c.string,J(t.footer,_),i.restore(),m+=g.width,{width:m,height:p}}function Co(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:l}}=t;let h="center";return"center"===s?h=n<=(r+l)/2?"left":"right":n<=o/2?h="left":n>=a-o/2&&(h="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(h,t,e,i)&&(h="center"),h}function Oo(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return i<s/2?"top":i>t.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||Co(t,e,i,s),yAlign:s}}function Ao(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:l}=i,h=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=ri(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,l,h);return"center"===l?"left"===r?g+=h:"right"===r&&(g-=h):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:Gt(g,0,s.width-e.width),y:Gt(p,0,s.height-e.height)}}function To(t,e,i){const s=li(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function Lo(t){return ko([],So(t))}function Ro(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}class Eo extends ks{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&e.options.animation&&i.animations,n=new ds(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=(this,ui(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"})))}getTitle(t,e){const{callbacks:i}=e,s=i.beforeTitle.apply(this,[t]),n=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);let a=[];return a=ko(a,So(s)),a=ko(a,So(n)),a=ko(a,So(o)),a}getBeforeBody(t,e){return Lo(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,s=[];return J(t,(t=>{const e={before:[],lines:[],after:[]},n=Ro(i,t);ko(e.before,So(n.beforeLabel.call(this,t))),ko(e.lines,n.label.call(this,t)),ko(e.after,So(n.afterLabel.call(this,t))),s.push(e)})),s}getAfterBody(t,e){return Lo(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,s=i.beforeFooter.apply(this,[t]),n=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);let a=[];return a=ko(a,So(s)),a=ko(a,So(n)),a=ko(a,So(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,l=[];for(a=0,r=e.length;a<r;++a)l.push(Po(this.chart,e[a]));return t.filter&&(l=l.filter(((e,s,n)=>t.filter(e,s,n,i)))),t.itemSort&&(l=l.sort(((e,s)=>t.itemSort(e,s,i)))),J(l,(e=>{const i=Ro(t.callbacks,e);s.push(i.labelColor.call(this,e)),n.push(i.labelPointStyle.call(this,e)),o.push(i.labelTextColor.call(this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=Mo[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=Do(this,i),a=Object.assign({},t,e),r=Oo(this.chart,i,a),l=Ao(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:l,bottomLeft:h,bottomRight:c}=ri(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,b,x,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,x=_+o,y=_-o):(p=d+f,m=p+o,x=_-o,y=_+o),b=p):(m="left"===s?d+Math.max(r,h)+o:"right"===s?d+f-Math.max(l,c)-o:this.caretX,"top"===n?(x=u,_=x-o,p=m-o,b=m+o):(x=u+g,_=x+o,p=m+o,b=m-o),y=x),{x1:p,x2:m,x3:b,y1:x,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const l=fi(i.rtl,this.x,this.width);for(t.x=To(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=hi(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r<n;++r)e.fillText(s[r],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,r+1===n&&(t.y+=i.titleMarginBottom-a)}}_drawColorBox(t,e,i,s,n){const o=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:r,boxWidth:l,boxPadding:h}=n,c=hi(n.bodyFont),d=To(this,"left",n),u=s.x(d),f=r<c.lineHeight?(c.lineHeight-r)/2:0,g=e.y+f;if(n.usePointStyle){const e={radius:Math.min(l,r)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},i=s.leftForLtr(u,l)+l/2,h=g+r/2;t.strokeStyle=n.multiKeyBackground,t.fillStyle=n.multiKeyBackground,be(t,e,i,h),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,be(t,e,i,h)}else{t.lineWidth=o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=s.leftForLtr(u,l-h),i=s.leftForLtr(s.xPlus(u,1),l-h-2),a=ri(o.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,Se(t,{x:e,y:g,w:l,h:r,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Se(t,{x:i,y:g+1,w:l-2,h:r-2,radius:a}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,g,l,r),t.strokeRect(e,g,l,r),t.fillStyle=o.backgroundColor,t.fillRect(i,g+1,l-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:l,boxPadding:h}=i,c=hi(i.bodyFont);let d=c.lineHeight,u=0;const f=fi(i.rtl,this.x,this.width),g=function(i){e.fillText(i,f.x(t.x+u),t.y+d/2),t.y+=d+n},p=f.textAlign(o);let m,b,x,_,y,v,w;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=To(this,p,i),e.fillStyle=i.bodyColor,J(this.beforeBody,g),u=a&&"right"!==p?"center"===o?l/2+h:l+2+h:0,_=0,v=s.length;_<v;++_){for(m=s[_],b=this.labelTextColors[_],e.fillStyle=b,J(m.before,g),x=m.lines,a&&x.length&&(this._drawColorBox(e,t,_,f,i),d=Math.max(c.lineHeight,r)),y=0,w=x.length;y<w;++y)g(x[y]),d=c.lineHeight;J(m.after,g)}u=0,d=c.lineHeight,J(this.afterBody,g),t.y-=n}drawFooter(t,e,i){const s=this.footer,n=s.length;let o,a;if(n){const r=fi(i.rtl,this.x,this.width);for(t.x=To(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=r.textAlign(i.footerAlign),e.textBaseline="middle",o=hi(i.footerFont),e.fillStyle=i.footerColor,e.font=o.string,a=0;a<n;++a)e.fillText(s[a],r.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+i.footerSpacing}}drawBackground(t,e,i,s){const{xAlign:n,yAlign:o}=this,{x:a,y:r}=t,{width:l,height:h}=i,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=ri(s.cornerRadius);e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,e.lineWidth=s.borderWidth,e.beginPath(),e.moveTo(a+c,r),"top"===o&&this.drawCaret(t,e,i,s),e.lineTo(a+l-d,r),e.quadraticCurveTo(a+l,r,a+l,r+d),"center"===o&&"right"===n&&this.drawCaret(t,e,i,s),e.lineTo(a+l,r+h-f),e.quadraticCurveTo(a+l,r+h,a+l-f,r+h),"bottom"===o&&this.drawCaret(t,e,i,s),e.lineTo(a+u,r+h),e.quadraticCurveTo(a,r+h,a,r+h-u),"center"===o&&"left"===n&&this.drawCaret(t,e,i,s),e.lineTo(a,r+c),e.quadraticCurveTo(a,r,a+c,r),e.closePath(),e.fill(),s.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=Mo[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=Do(this,t),a=Object.assign({},i,this._size),r=Oo(e,t,a),l=Ao(t,a,r,e);s._to===l.x&&n._to===l.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=li(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),gi(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),pi(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!Q(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!Q(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e;const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=Mo[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}Eo.positioners=Mo;var Io={id:"tooltip",_element:Eo,positioners:Mo,afterInit(t,e,i){i&&(t.tooltip=new Eo({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",i))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:$,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex<s)return i[e.dataIndex]}return""},afterTitle:$,beforeBody:$,beforeLabel:$,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const i=t.formattedValue;return H(i)||(e+=i),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:$,afterBody:$,beforeFooter:$,footer:$,afterFooter:$}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},zo=Object.freeze({__proto__:null,Decimation:Qn,Filler:po,Legend:xo,SubTitle:wo,Title:yo,Tooltip:Io});class Fo extends Es{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(H(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:Gt(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:function(t,e,i,s){const n=t.indexOf(e);return-1===n?((t,e,i,s)=>("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s):n!==t.lastIndexOf(e)?i:n}(i,t,q(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Bo(t,e,{horizontal:i,minRotation:s}){const n=Ht(s),o=(i?Math.sin(n):Math.cos(n))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}Fo.id="category",Fo.defaults={ticks:{callback:Fo.prototype.getLabelForValue}};class Vo extends Es{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return H(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:n}=this;const o=t=>s=e?s:t,a=t=>n=i?n:t;if(t){const t=It(s),e=It(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=1;(n>=Number.MAX_SAFE_INTEGER||s<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*n)),a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function(t,e){const i=[],{bounds:s,step:n,min:o,max:a,precision:r,count:l,maxTicks:h,maxDigits:c,includeBounds:d}=t,u=n||1,f=h-1,{min:g,max:p}=e,m=!H(o),b=!H(a),x=!H(l),_=(p-g)/(c+1);let y,v,w,M,k=zt((p-g)/f/u)*u;if(k<1e-14&&!m&&!b)return[{value:g},{value:p}];M=Math.ceil(p/k)-Math.floor(g/k),M>f&&(k=zt(M*k/f/u)*u),H(r)||(y=Math.pow(10,r),k=Math.ceil(k*y)/y),"ticks"===s?(v=Math.floor(g/k)*k,w=Math.ceil(p/k)*k):(v=g,w=p),m&&b&&n&&Nt((a-o)/n,k/1e3)?(M=Math.round(Math.min((a-o)/k,h)),k=(a-o)/M,v=o,w=a):x?(v=m?o:v,w=b?a:w,M=l-1,k=(w-v)/M):(M=(w-v)/k,M=Vt(M,Math.round(M),k/1e3)?Math.round(M):Math.ceil(M));const S=Math.max($t(k),$t(v));y=Math.pow(10,H(r)?S:r),v=Math.round(v*y)/y,w=Math.round(w*y)/y;let P=0;for(m&&(d&&v!==o?(i.push({value:o}),v<o&&P++,Vt(Math.round((v+P*k)*y)/y,o,Bo(o,_,t))&&P++):v<o&&P++);P<M;++P)i.push({value:Math.round((v+P*k)*y)/y});return b&&d&&w!==a?i.length&&Vt(i[i.length-1].value,a,Bo(a,_,t))?i[i.length-1].value=a:i.push({value:a}):b&&w!==a||i.push({value:w}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&Wt(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return ei(t,this.chart.options.locale,this.options.ticks.format)}}class No extends Vo{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=U(t)?t:0,this.max=U(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=Ht(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,n.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function Wo(t){return 1==t/Math.pow(10,Math.floor(Et(t)))}No.id="linear",No.defaults={ticks:{callback:Ps.formatters.numeric}};class Ho extends Es{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=Vo.prototype.parse.apply(this,[t,e]);if(0!==i)return U(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=U(t)?Math.max(0,t):null,this.max=U(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t,a=(t,e)=>Math.pow(10,Math.floor(Et(t))+e);i===s&&(i<=0?(n(1),o(10)):(n(a(i,-1)),o(a(s,1)))),i<=0&&n(a(s,-1)),s<=0&&o(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&n(a(i,-1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=function(t,e){const i=Math.floor(Et(e.max)),s=Math.ceil(e.max/Math.pow(10,i)),n=[];let o=X(t.min,Math.pow(10,Math.floor(Et(e.min)))),a=Math.floor(Et(o)),r=Math.floor(o/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do{n.push({value:o,major:Wo(o)}),++r,10===r&&(r=1,++a,l=a>=0?1:l),o=Math.round(r*Math.pow(10,a)*l)/l}while(a<i||a===i&&r<s);const h=X(t.max,o);return n.push({value:h,major:Wo(o)}),n}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&Wt(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":ei(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Et(t),this._valueRange=Et(this.max)-Et(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Et(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function jo(t){const e=t.ticks;if(e.display&&t.display){const t=li(e.backdropPadding);return q(e.font&&e.font.size,bt.font.size)+t.height}return 0}function $o(t,e,i,s,n){return t===s||t===n?{start:e-i/2,end:e+i/2}:t<s||t>n?{start:e-i,end:e}:{start:e,end:e+i}}function Yo(t,e,i,s,n){const o=Math.abs(Math.sin(i)),a=Math.abs(Math.cos(i));let r=0,l=0;s.start<e.l?(r=(e.l-s.start)/o,t.l=Math.min(t.l,e.l-r)):s.end>e.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.start<e.t?(l=(e.t-n.start)/a,t.t=Math.min(t.t,e.t-l)):n.end>e.b&&(l=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Uo(t){return 0===t||180===t?"center":t<180?"left":"right"}function Xo(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function qo(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}function Ko(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,Dt);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;o<s;o++)i=t.getPointPosition(o,e),n.lineTo(i.x,i.y)}}Ho.id="logarithmic",Ho.defaults={ticks:{callback:Ps.formatters.logarithmic,major:{enabled:!0}}};class Go extends Vo{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=li(jo(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=U(t)&&!isNaN(t)?t:0,this.max=U(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/jo(this.options))}generateTickLabels(t){Vo.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=Z(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?function(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],n=[],o=t._pointLabels.length,a=t.options.pointLabels,r=a.centerPointLabels?Pt/o:0;for(let d=0;d<o;d++){const o=a.setContext(t.getPointLabelContext(d));n[d]=o.padding;const u=t.getPointPosition(d,t.drawingArea+n[d],r),f=hi(o.font),g=(l=t.ctx,h=f,c=j(c=t._pointLabels[d])?c:[c],{w:ge(l,h.string,c),h:c.length*h.lineHeight});s[d]=g;const p=qt(t.getIndexAngle(d)+r),m=Math.round(jt(p));Yo(i,e,p,$o(m,u.x,g.w,0,180),$o(m,u.y,g.h,90,270))}var l,h,c;t.setCenterPoint(e.l-i.l,i.r-e.r,e.t-i.t,i.b-e.b),t._pointLabelItems=function(t,e,i){const s=[],n=t._pointLabels.length,o=t.options,a=jo(o)/2,r=t.drawingArea,l=o.pointLabels.centerPointLabels?Pt/n:0;for(let o=0;o<n;o++){const n=t.getPointPosition(o,r+a+i[o],l),h=Math.round(jt(qt(n.angle+Tt))),c=e[o],d=qo(n.y,c.h,h),u=Uo(h),f=Xo(n.x,c.w,u);s.push({x:n.x,y:d,textAlign:u,left:f,top:d,right:f+c.w,bottom:d+c.h})}return s}(t,s,n)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return qt(t*(Dt/(this._pointLabels.length||1))+Ht(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(H(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(H(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return function(t,e,i){return ui(t,{label:i,index:e,type:"pointLabel"})}(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const s=this.getIndexAngle(t)-Tt+i;return{x:Math.cos(s)*e+this.xCenter,y:Math.sin(s)*e+this.yCenter,angle:s}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:s,bottom:n}=this._pointLabelItems[t];return{left:e,top:i,right:s,bottom:n}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),Ko(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:s}=e,n=this._pointLabels.length;let o,a,r;if(e.pointLabels.display&&function(t,e){const{ctx:i,options:{pointLabels:s}}=t;for(let n=e-1;n>=0;n--){const e=s.setContext(t.getPointLabelContext(n)),o=hi(e.font),{x:a,y:r,textAlign:l,left:h,top:c,right:d,bottom:u}=t._pointLabelItems[n],{backdropColor:f}=e;if(!H(f)){const t=ri(e.borderRadius),s=li(e.backdropPadding);i.fillStyle=f;const n=h-s.left,o=c-s.top,a=d-h+s.width,r=u-c+s.height;Object.values(t).some((t=>0!==t))?(i.beginPath(),Se(i,{x:n,y:o,w:a,h:r,radius:t}),i.fill()):i.fillRect(n,o,a,r)}Me(i,t._pointLabels[n],a,r+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,n),s.display&&this.ticks.forEach(((t,e)=>{0!==e&&(a=this.getDistanceFromCenterForValue(t.value),function(t,e,i,s){const n=t.ctx,o=e.circular,{color:a,lineWidth:r}=e;!o&&!s||!a||!r||i<0||(n.save(),n.strokeStyle=a,n.lineWidth=r,n.setLineDash(e.borderDash),n.lineDashOffset=e.borderDashOffset,n.beginPath(),Ko(t,i,o,s),n.closePath(),n.stroke(),n.restore())}(this,s.setContext(this.getContext(e-1)),a,n))})),i.display){for(t.save(),o=n-1;o>=0;o--){const s=i.setContext(this.getPointLabelContext(o)),{color:n,lineWidth:l}=s;l&&n&&(t.lineWidth=l,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),r=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(r.x,r.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&!e.reverse)return;const r=i.setContext(this.getContext(a)),l=hi(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=l.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=li(r.backdropPadding);t.fillRect(-o/2-e.left,-n-l.size/2-e.top,o+e.width,l.size+e.height)}Me(t,s.label,0,-n,l,{color:r.color})})),t.restore()}drawTitle(){}}Go.id="radialLinear",Go.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ps.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},Go.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Go.descriptors={angleLines:{_fallback:"grid"}};const Zo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Jo=Object.keys(Zo);function Qo(t,e){return t-e}function ta(t,e){if(H(e))return null;const i=t._adapter,{parser:s,round:n,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof s&&(a=s(a)),U(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null===a?null:(n&&(a="week"!==n||!Bt(o)&&!0!==o?i.startOf(a,n):i.startOf(a,"isoWeek",o)),+a)}function ea(t,e,i,s){const n=Jo.length;for(let o=Jo.indexOf(t);o<n-1;++o){const t=Zo[Jo[o]],n=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((i-e)/(n*t.size))<=s)return Jo[o]}return Jo[n-1]}function ia(t,e,i){if(i){if(i.length){const{lo:s,hi:n}=xt(i,e);t[i[s]>=e?i[s]:i[n]]=!0}}else t[e]=!0}function sa(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a<o;++a)r=e[a],n[r]=a,s.push({value:r,major:!1});return 0!==o&&i?function(t,e,i,s){const n=t._adapter,o=+n.startOf(e[0].value,s),a=e[e.length-1].value;let r,l;for(r=o;r<=a;r=+n.add(r,1,s))l=i[r],l>=0&&(e[l].major=!0);return e}(t,s,n,i):s}class na extends Es{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),s=this._adapter=new un._date(t.adapters.date);nt(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:ta(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:a}=this.getUserBounds();function r(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),a||isNaN(t.max)||(n=Math.max(n,t.max))}o&&a||(r(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||r(this.getMinMax(!1))),s=U(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=U(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=vt(s,n,this.max);return this._unit=e.unit||(i.autoSkip?ea(e.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(t,e,i,s,n){for(let o=Jo.length-1;o>=Jo.indexOf(i);o--){const i=Jo[o];if(Zo[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return Jo[i?Jo.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=Jo.indexOf(t)+1,i=Jo.length;e<i;++e)if(Zo[Jo[e]].common)return Jo[e]}(this._unit):void 0,this.initOffsets(s),t.reverse&&o.reverse(),sa(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t){let e,i,s=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),s=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25
7
+ ;s=Gt(s,0,o),n=Gt(n,0,o),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,s=this.options,n=s.time,o=n.unit||ea(n.minUnit,e,i,this._getLabelCapacity(e)),a=q(n.stepSize,1),r="week"===o&&n.isoWeekday,l=Bt(r)||!0===r,h={};let c,d,u=e;if(l&&(u=+t.startOf(u,"isoWeek",r)),u=+t.startOf(u,l?"day":o),t.diff(i,e,o)>1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const f="data"===s.ticks.source&&this.getDataTimestamps();for(c=u,d=0;c<i;c=+t.add(c,a,o),d++)ia(h,c,f);return c!==i&&"ticks"!==s.bounds&&1!==d||ia(h,c,f),Object.keys(h).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.time.displayFormats,a=this._unit,r=this._majorUnit,l=a&&o[a],h=r&&o[r],c=i[e],d=r&&h&&c&&c.major,u=this._adapter.format(t,s||(d?h:l)),f=n.ticks.callback;return f?Z(f,[u,e,i],this):u}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e<i;++e)s=t[e],s.label=this._tickFormatFunction(s.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,s=Ht(this.isHorizontal()?e.maxRotation:e.minRotation),n=Math.cos(s),o=Math.sin(s),a=this._resolveTickFontOptions(0).size;return{w:i*n+a*o,h:i*o+a*n}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,s=i[e.unit]||i.millisecond,n=this._tickFormatFunction(t,0,sa(this,[t],this._majorUnit),s),o=this._getLabelSize(n),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t<e;++t)i=i.concat(s[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const s=this.getLabels();for(e=0,i=s.length;e<i;++e)t.push(ta(this,s[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return St(t.sort(Qo))}}function oa(t,e,i){let s,n,o,a,r=0,l=t.length-1;i?(e>=t[r].pos&&e<=t[l].pos&&({lo:r,hi:l}=_t(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[l])):(e>=t[r].time&&e<=t[l].time&&({lo:r,hi:l}=_t(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[l]));const h=n-s;return h?o+(a-o)*(e-s)/h:o}na.id="time",na.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class aa extends na{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=oa(e,this.min),this._tableRange=oa(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,l,h;for(o=0,a=t.length;o<a;++o)l=t[o],l>=e&&l<=i&&s.push(l);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o<a;++o)h=s[o+1],r=s[o-1],l=s[o],Math.round((h+r)/2)!==l&&n.push({time:l,pos:o/(a-1)});return n}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(oa(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return oa(this._table,i*this._tableRange+this._minPos,!0)}}aa.id="timeseries",aa.defaults=na.defaults;var ra=Object.freeze({__proto__:null,CategoryScale:Fo,LinearScale:No,LogarithmicScale:Ho,RadialLinearScale:Go,TimeScale:na,TimeSeriesScale:aa});return rn.register(On,ra,Gn,zo),rn.helpers={...ki},rn._adapters=un,rn.Animation=hs,rn.Animations=ds,rn.animator=a,rn.controllers=zs.controllers.items,rn.DatasetController=Ms,rn.Element=ks,rn.elements=Gn,rn.Interaction=Ai,rn.layouts=Hi,rn.platforms=as,rn.Scale=Es,rn.Ticks=Ps,Object.assign(rn,On,ra,Gn,zo,as),rn.Chart=rn,"undefined"!=typeof window&&(window.Chart=rn),rn}));
assets/js/admin/index.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Do not modify the files in this folder.
5
+ */
assets/js/admin/reports.js ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function ($) {
2
+
3
+ function format_amount(amount) {
4
+ return currencySymbol.replace(/[0-9.,]+/, amount);
5
+ }
6
+
7
+ $(window).on('load', function () {
8
+
9
+ if (document.getElementById('ppress-report-revenue')) {
10
+
11
+ $('#ppress-mode-filter select').on('change', function () {
12
+ $('#ppress-date-filters').toggle(this.value === 'custom');
13
+ }).change();
14
+
15
+ const revenueConfig = {
16
+ type: 'line',
17
+ data: {
18
+ labels: revenueStat.label,
19
+ datasets: revenueStat.dataset
20
+ },
21
+ options: {
22
+ responsive: true,
23
+ interaction: {
24
+ mode: 'index',
25
+ intersect: false,
26
+ },
27
+ stacked: false,
28
+ scales: {
29
+ y: {
30
+ type: 'linear',
31
+ display: true,
32
+ position: 'left',
33
+ // https://www.chartjs.org/docs/latest/samples/scale-options/ticks.html
34
+ ticks: {
35
+ // Include a dollar sign in the ticks
36
+ callback: function (value, index, ticks) {
37
+ return format_amount(value);
38
+ }
39
+ }
40
+ }
41
+ },
42
+ plugins: {
43
+ tooltip: {
44
+ callbacks: {
45
+ label: function (context) {
46
+ let label = context.dataset.label || '';
47
+
48
+ if (label) {
49
+ label += ': ';
50
+ }
51
+ if (context.parsed.y !== null) {
52
+ label += format_amount(context.parsed.y);
53
+ }
54
+ return label;
55
+ }
56
+ }
57
+ },
58
+ legend: {
59
+ display: false
60
+ }
61
+ }
62
+ },
63
+ };
64
+
65
+ const taxesConfig = {
66
+ type: 'line',
67
+ data: {
68
+ labels: taxesStat.label,
69
+ datasets: taxesStat.dataset
70
+ },
71
+ options: {
72
+ responsive: true,
73
+ interaction: {
74
+ mode: 'index',
75
+ intersect: false,
76
+ },
77
+ stacked: false,
78
+ scales: {
79
+ y: {
80
+ type: 'linear',
81
+ display: true,
82
+ position: 'left',
83
+ // https://www.chartjs.org/docs/latest/samples/scale-options/ticks.html
84
+ ticks: {
85
+ // Include a dollar sign in the ticks
86
+ callback: function (value, index, ticks) {
87
+ return format_amount(value);
88
+ }
89
+ }
90
+ }
91
+ },
92
+ plugins: {
93
+ tooltip: {
94
+ callbacks: {
95
+ label: function (context) {
96
+ let label = context.dataset.label || '';
97
+
98
+ if (label) {
99
+ label += ': ';
100
+ }
101
+ if (context.parsed.y !== null) {
102
+ label += format_amount(context.parsed.y);
103
+ }
104
+ return label;
105
+ }
106
+ }
107
+ },
108
+ legend: {
109
+ display: false
110
+ }
111
+ }
112
+ },
113
+ };
114
+
115
+ const ordersConfig = {
116
+ type: 'line',
117
+ data: {
118
+ labels: orderStat.label,
119
+ datasets: orderStat.dataset
120
+ },
121
+ options: {
122
+ responsive: true,
123
+ interaction: {
124
+ mode: 'index',
125
+ intersect: false,
126
+ },
127
+ stacked: false,
128
+ scales: {
129
+ y: {
130
+ type: 'linear',
131
+ position: 'left',
132
+ }
133
+ }
134
+ },
135
+ };
136
+
137
+ const refundConfig = {
138
+ type: 'line',
139
+ data: {
140
+ labels: refundStat.label,
141
+ datasets: refundStat.dataset
142
+ },
143
+ options: {
144
+ responsive: true,
145
+ interaction: {
146
+ mode: 'index',
147
+ intersect: false,
148
+ },
149
+ stacked: false,
150
+ scales: {
151
+ y: {
152
+ type: 'linear',
153
+ display: true,
154
+ position: 'left',
155
+ }
156
+ },
157
+ plugins: {
158
+ legend: {
159
+ display: false
160
+ }
161
+ }
162
+ },
163
+ };
164
+
165
+ const topPlanConfig = {
166
+ type: 'line',
167
+ data: {
168
+ labels: topPlansStat.label,
169
+ datasets: topPlansStat.dataset
170
+ },
171
+ options: {
172
+ responsive: true,
173
+ interaction: {
174
+ mode: 'index',
175
+ intersect: false,
176
+ },
177
+ stacked: false,
178
+ scales: {
179
+ y: {
180
+ type: 'linear',
181
+ stacked: true,
182
+ position: 'left',
183
+ },
184
+ y1: {
185
+ type: 'linear',
186
+ position: 'right',
187
+ // grid line settings
188
+ grid: {
189
+ drawOnChartArea: false, // only want the grid lines for one axis to show up
190
+ },
191
+ ticks: {
192
+ // Include a dollar sign in the ticks
193
+ callback: function (value, index, ticks) {
194
+ return format_amount(value);
195
+ }
196
+ }
197
+ },
198
+ },
199
+ plugins: {
200
+ tooltip: {
201
+ callbacks: {
202
+ label: function (context) {
203
+ let label = context.dataset.label || '';
204
+
205
+ if (label) label += ': ';
206
+
207
+ if (context.parsed.y !== null) {
208
+
209
+ if (context.dataset.borderColor === 'rgb(255, 99, 132)') {
210
+ label += format_amount(context.parsed.y);
211
+ } else {
212
+ label += context.parsed.y;
213
+ }
214
+ }
215
+ return label;
216
+ }
217
+ }
218
+ },
219
+ legend: {
220
+ display: false
221
+ }
222
+ }
223
+ },
224
+ };
225
+
226
+ const paymentMethodsConfig = {
227
+ type: 'line',
228
+ data: {
229
+ labels: paymentMethodsStat.label,
230
+ datasets: paymentMethodsStat.dataset
231
+ },
232
+ options: {
233
+ responsive: true,
234
+ interaction: {
235
+ mode: 'index',
236
+ intersect: false,
237
+ },
238
+ stacked: false,
239
+ scales: {
240
+ y: {
241
+ type: 'linear',
242
+ stacked: true,
243
+ position: 'left',
244
+ },
245
+ y1: {
246
+ type: 'linear',
247
+ position: 'right',
248
+ // grid line settings
249
+ grid: {
250
+ drawOnChartArea: false, // only want the grid lines for one axis to show up
251
+ },
252
+ ticks: {
253
+ // Include a dollar sign in the ticks
254
+ callback: function (value, index, ticks) {
255
+ return format_amount(value);
256
+ }
257
+ }
258
+ },
259
+ },
260
+ plugins: {
261
+ tooltip: {
262
+ callbacks: {
263
+ label: function (context) {
264
+ let label = context.dataset.label || '';
265
+
266
+ if (label) label += ': ';
267
+
268
+ if (context.parsed.y !== null) {
269
+
270
+ if (context.dataset.borderColor === 'rgb(255, 99, 132)') {
271
+ label += format_amount(context.parsed.y);
272
+ } else {
273
+ label += context.parsed.y;
274
+ }
275
+ }
276
+ return label;
277
+ }
278
+ }
279
+ },
280
+ legend: {
281
+ display: false
282
+ }
283
+ }
284
+ },
285
+ };
286
+
287
+ new Chart(document.getElementById('ppress-report-revenue'), revenueConfig);
288
+ new Chart(document.getElementById('ppress-report-orders'), ordersConfig);
289
+ if ($('#ppress-report-tax').length > 0) {
290
+ new Chart(document.getElementById('ppress-report-tax'), taxesConfig);
291
+ }
292
+ new Chart(document.getElementById('ppress-report-refunds'), refundConfig);
293
+ new Chart(document.getElementById('ppress-report-top-plans'), topPlanConfig);
294
+ new Chart(document.getElementById('ppress-report-payment-methods'), paymentMethodsConfig);
295
+ }
296
+ });
297
+
298
+ })(jQuery);
assets/js/admin/reports.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(window).on("load",(function(){if(document.getElementById("ppress-report-revenue")){window.chartColors={red:"rgb(255, 99, 132)",orange:"rgb(255, 159, 64)",yellow:"rgb(255, 205, 86)",green:"rgb(75, 192, 192)",blue:"rgb(54, 162, 235)",purple:"rgb(153, 102, 255)",grey:"rgb(201, 203, 207)"},function(e){var r=["January","February","March","April","May","June","July","August","September","October","November","December"],t=["#4dc9f6","#f67019","#f53794","#537bc4","#acc236","#166a8f","#00a950","#58595b","#8549ba"],n=e.Samples||(e.Samples={});e.Color,n.CHART_COLORS={red:"rgb(255, 99, 132)",orange:"rgb(255, 159, 64)",yellow:"rgb(255, 205, 86)",green:"rgb(75, 192, 192)",blue:"rgb(54, 162, 235)",purple:"rgb(153, 102, 255)",grey:"rgb(201, 203, 207)"},n.utils={srand:function(e){this._seed=e},rand:function(e,r){var t=this._seed;return e=void 0===e?0:e,r=void 0===r?1:r,this._seed=(9301*t+49297)%233280,e+this._seed/233280*(r-e)},numbers:function(e){var r,t,n=e||{},a=n.min||0,s=n.max||1,l=n.from||[],o=n.count||8,i=n.decimals||8,d=n.continuity||1,u=Math.pow(10,i)||0,p=[];for(r=0;r<o;++r)t=(l[r]||0)+this.rand(a,s),this.rand()<=d?p.push(Math.round(u*t)/u):p.push(null);return p},labels:function(e){var r,t=e||{},n=t.min||0,a=t.max||100,s=(a-n)/(t.count||8),l=t.decimals||8,o=Math.pow(10,l)||0,i=t.prefix||"",d=[];for(r=n;r<a;r+=s)d.push(i+Math.round(o*r)/o);return d},months:function(e){var t,n,a=e||{},s=a.count||12,l=a.section,o=[];for(t=0;t<s;++t)n=r[Math.ceil(t)%12],o.push(n.substring(0,l));return o},color:function(e){return t[e%t.length]}},window.randomScalingFactor=function(){return Math.round(n.utils.rand(-100,100))},n.utils.srand(Date.now())}(this);const e=7,r={count:e,min:0,max:100},t=Samples.utils.months({count:7}),n={labels:t,datasets:[{label:"New",data:Samples.utils.numbers(r),borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)"},{label:"Renewal",data:Samples.utils.numbers(r),borderColor:Samples.CHART_COLORS.red,backgroundColor:"rgba(255, 99, 132, 0.5)"}]},a={labels:t,datasets:[{data:Samples.utils.numbers(r),borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)"}]},s={labels:["Agency","Standard","Pro","One time"],datasets:[{label:"Earnings",data:Samples.utils.numbers({count:e,min:20,max:800}),borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)",stack:"combined",type:"bar",yAxisID:"y"},{label:"Sales",data:Samples.utils.numbers({decimals:10,count:e,min:1,max:8}),borderColor:Samples.CHART_COLORS.red,backgroundColor:"rgba(255, 99, 132, 0.5)",stack:"combined",yAxisID:"y1"}]},l={type:"line",data:{labels:revenueStat.label,datasets:[{data:revenueStat.dataset,borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)"}]},options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",display:!0,position:"left",ticks:{callback:function(e,r,t){return"$"+e}}}},plugins:{tooltip:{callbacks:{label:function(e){let r=e.dataset.label||"";return r&&(r+=": "),null!==e.parsed.y&&(r+=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e.parsed.y)),r}}},legend:{display:!1}}}},o={type:"line",data:n,options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",display:!0,position:"left"}},plugins:{legend:{display:!1}}}},i={type:"line",data:a,options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",display:!0,position:"left"}},plugins:{legend:{display:!1}}}},d={type:"line",data:s,options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",stacked:!0,position:"left",ticks:{callback:function(e,r,t){return"$"+e}}},y1:{type:"linear",position:"right",grid:{drawOnChartArea:!1}}},plugins:{tooltip:{callbacks:{label:function(e){let r=e.dataset.label||"";return r&&(r+=": "),null!==e.parsed.y&&("Earnings"===e.dataset.label?r+="$"+e.parsed.y:r+=e.parsed.y),r}}},legend:{display:!1}}}};new Chart(document.getElementById("ppress-report-revenue"),l),new Chart(document.getElementById("ppress-report-orders"),o),new Chart(document.getElementById("ppress-report-tax"),l),new Chart(document.getElementById("ppress-report-refunds"),i),new Chart(document.getElementById("ppress-report-top-plans"),d),new Chart(document.getElementById("ppress-report-payment-methods"),d)}}));
assets/js/admin/tax-rate-repeater.js ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function ($) {
2
+
3
+ $(function () {
4
+
5
+ var tax_rate_row_tmpl = wp.template('ppress-tax-rate-row');
6
+ var empty_state_tmpl = wp.template('ppress-tax-rate-empty-row');
7
+
8
+ var country_state_select_tmpl = wp.template('ppress-tax-rate-state-select');
9
+ var country_state_input_tmpl = wp.template('ppress-tax-rate-state-input');
10
+
11
+ $(document).on('click', '.ppress_add_tax_rate', function (e) {
12
+ e.preventDefault();
13
+
14
+ $('.ppress-tax-rate-row--is-empty').remove();
15
+
16
+ var index = 0,
17
+ cache = $('.ppress-tax-rates-wrap table tbody tr').not('.ppress-tax-rate-row--is-empty');
18
+
19
+ if (cache.length > 0) {
20
+ index = cache.last().data('row-index') + 1;
21
+ }
22
+
23
+ $('.ppress-tax-rates-wrap table tbody').append(
24
+ tax_rate_row_tmpl({
25
+ 'index': index
26
+ })
27
+ );
28
+ });
29
+
30
+ $(document).on('click', '.ppress-tax-rate-table-actions .ppress-tax-rate-icon', function (e) {
31
+ e.preventDefault();
32
+ $(this).parents('.ppress-tax-rate-table-actions').parent().remove();
33
+
34
+ if ($('.ppress-tax-rates-wrap table tbody tr').length === 0) {
35
+
36
+ $('.ppress-tax-rates-wrap table tbody').append(empty_state_tmpl());
37
+ }
38
+ });
39
+
40
+ $(document).on('change', '.ppress-tax-rate-table-country select', function () {
41
+
42
+ var val = $(this).val(),
43
+ parent = $(this).parent().parent(),
44
+ field;
45
+
46
+ if (val in ppress_countries_states) {
47
+
48
+ field = country_state_select_tmpl({
49
+ index: parent.data('row-index'),
50
+ options: ppress_countries_states[val]
51
+ });
52
+
53
+ } else {
54
+
55
+ field = country_state_input_tmpl({
56
+ index: parent.data('row-index')
57
+ });
58
+ }
59
+
60
+ parent.find('.ppress-tax-rate-table-state').html(field);
61
+
62
+ });
63
+ });
64
+ })(jQuery);
assets/js/checkout-fields-manager.js ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function ($) {
2
+
3
+ $(document).on('ready', function () {
4
+
5
+ var template = wp.template('ppress-checkout-field-item');
6
+
7
+ $(document).on('ppress_update_dropdown', function () {
8
+ var cache = $('.ppress-checkout-field-list option');
9
+ cache.removeAttr("disabled");
10
+ $('.ppress-checkout-fields .widget').each(function () {
11
+ $('.ppress-checkout-field-list option[value="' + $(this).data('field-id') + '"]').attr("disabled", true);
12
+ });
13
+
14
+ // move selected option to first/default option after a field is added.
15
+ cache.eq(0).prop('selected', true)
16
+ });
17
+
18
+ if (typeof ppress_account_info_fields !== 'undefined') {
19
+ $.each(ppress_account_info_fields, function (key, value) {
20
+ $('#ppress-account-info-fields .ppress-checkout-fields').append(
21
+ template({
22
+ 'fieldGroup': 'accountInfo',
23
+ 'field_key': key,
24
+ 'label': value.label,
25
+ 'width': value.width,
26
+ 'required': value.required,
27
+ 'logged_in_hide': value.logged_in_hide,
28
+ 'deletable': value.deletable
29
+ })
30
+ );
31
+ });
32
+ }
33
+
34
+ if (typeof ppress_blling_address_fields !== 'undefined') {
35
+ $.each(ppress_blling_address_fields, function (key, value) {
36
+ $('#ppress-billing-address-fields .ppress-checkout-fields').append(
37
+ template({
38
+ 'fieldGroup': 'billing',
39
+ 'field_key': key,
40
+ 'label': value.label,
41
+ 'width': value.width,
42
+ 'required': value.required,
43
+ 'logged_in_hide': value.logged_in_hide,
44
+ 'deletable': value.deletable
45
+ })
46
+ );
47
+ });
48
+ }
49
+
50
+ $('.ppress-checkout-fields').sortable({
51
+ containment: "#ppress-checkout-field-manager-form",
52
+ items: ".widget",
53
+ placeholder: "sortable-placeholder"
54
+ });
55
+
56
+ $(document).trigger('ppress_update_dropdown');
57
+
58
+ $(document).on('click', '.ppress-checkout-fields .widget-title-action', function (e) {
59
+ e.preventDefault();
60
+ $(this).parents('.ppress-checkout-fields .widget').toggleClass('open');
61
+ });
62
+
63
+ $(document).on('click', '.ppress-checkout-fields .widget-control-remove', function (e) {
64
+ e.preventDefault();
65
+ $(this).parents('.ppress-checkout-fields .widget').slideUp("normal", function () {
66
+ $(this).remove();
67
+ $(document).trigger('ppress_update_dropdown');
68
+ });
69
+ });
70
+
71
+ $(document).on('change', '.ppress-checkout-fields .widget-content input[name$="[label]"]', function () {
72
+ $(this).parents('.ppress-checkout-fields .widget').find('.widget-title h3').text($(this).val());
73
+ });
74
+
75
+ $(document).on('click', '#ppress-cfm-submit-btn', function (e) {
76
+ e.preventDefault();
77
+ document.getElementById("ppress-checkout-field-manager-form").submit();
78
+ });
79
+
80
+ $(document).on('click', '#ppress-account-info-fields .ppress-checkout-add-field button', function (e) {
81
+ e.preventDefault();
82
+ var selectedField = $(this).prev().val();
83
+
84
+ if ("" !== selectedField) {
85
+
86
+ var bucket = typeof ppress_standard_acc_info_fields[selectedField] != 'undefined' ?
87
+ ppress_standard_acc_info_fields[selectedField] :
88
+ ppress_custom_fields[selectedField];
89
+
90
+ $('#ppress-account-info-fields .ppress-checkout-fields').append(
91
+ template({
92
+ 'fieldGroup': 'accountInfo',
93
+ 'field_key': selectedField,
94
+ 'label': bucket['label'],
95
+ 'width': bucket['width'],
96
+ 'required': bucket['required'],
97
+ 'logged_in_hide': bucket['logged_in_hide'],
98
+ 'deletable': bucket['deletable']
99
+ })
100
+ );
101
+
102
+ $(document).trigger('ppress_update_dropdown');
103
+ }
104
+ });
105
+
106
+ $(document).on('click', '#ppress-billing-address-fields .ppress-checkout-add-field button', function (e) {
107
+ e.preventDefault();
108
+ var selectedField = $(this).prev().val();
109
+
110
+ if ("" !== selectedField) {
111
+
112
+ var bucket = typeof ppress_standard_billing_fields[selectedField] != 'undefined' ?
113
+ ppress_standard_billing_fields[selectedField] :
114
+ ppress_custom_fields[selectedField];
115
+
116
+ $('#ppress-billing-address-fields .ppress-checkout-fields').append(
117
+ template({
118
+ 'fieldGroup': 'billing',
119
+ 'field_key': selectedField,
120
+ 'label': bucket['label'],
121
+ 'width': bucket['width'],
122
+ 'required': bucket['required'],
123
+ 'logged_in_hide': bucket['logged_in_hide'],
124
+ 'deletable': bucket['deletable']
125
+ })
126
+ );
127
+
128
+ $(document).trigger('ppress_update_dropdown');
129
+ }
130
+ });
131
+ });
132
+ })(jQuery);
assets/js/checkout.js ADDED
@@ -0,0 +1,372 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import $ from 'jquery';
2
+
3
+ export default function () {
4
+
5
+ let _this = this;
6
+
7
+ window.ppressCheckoutForm = this;
8
+
9
+ this.init = function () {
10
+
11
+ if (pp_ajax_form.is_checkout === '0' || $('#ppress_checkout_main_form').length === 0) return;
12
+
13
+ $(document).on('click', '.ppress-checkout-show-login-form', this.toggle_login_form);
14
+ $(document).on('click', '.ppress-login-submit-btn input[type="submit"]', this.process_login);
15
+ $(document).on('click', '.ppress-coupon-code-link', this.toggle_discount_code_reveal);
16
+ $(document).on('click', '.ppress-apply-discount-btn', this.apply_discount_code);
17
+ $(document).on('click', '#ppress-remove-applied-coupon', this.remove_applied_discount_code);
18
+ $(document).on('submit', '#ppress_mb_checkout_form', this.process_checkout);
19
+
20
+ $(document).on('click', '.ppress-terms-and-conditions-link', function (e) {
21
+ var cache = $('.ppress-checkout-form__terms_condition__content');
22
+ if (cache.length > 0) {
23
+ e.preventDefault();
24
+ cache.slideToggle();
25
+ }
26
+ });
27
+
28
+ $(document).on('ppress_update_checkout', this.update_checkout);
29
+
30
+ if (pp_ajax_form.is_checkout_tax_enabled === '1') {
31
+ $(document).on('change', '#ppress_mb_checkout_form .ppress_billing_country, #ppress_mb_checkout_form .ppress_billing_state, #ppress_mb_checkout_form .ppress_vat_number', _this.debounce(function () {
32
+ $(document.body).trigger('ppress_update_checkout');
33
+ }, 200));
34
+ } else {
35
+
36
+ $(document).on('change', '#ppress_mb_checkout_form .ppress_billing_country', _this.contextual_state_field);
37
+ }
38
+
39
+ // Update on page load.
40
+ $(document.body).trigger('ppress_update_checkout');
41
+
42
+ $(document).ajaxError(function () {
43
+ _this.remove_spinner();
44
+ });
45
+ };
46
+
47
+ this.debounce = function (fun, mil) {
48
+ let timer;
49
+ mil = mil || 600;
50
+ return function () {
51
+ clearTimeout(timer);
52
+ timer = setTimeout(function () {
53
+ fun();
54
+ }, mil);
55
+ };
56
+ };
57
+
58
+ this.contextual_state_field = function () {
59
+
60
+ let state_field = $('.ppress_billing_state');
61
+
62
+ let data = {
63
+ 'action': 'ppress_contextual_state_field',
64
+ 'country': $(this).val(),
65
+ 'name': state_field.prop('name'),
66
+ 'id': state_field.prop('id'),
67
+ 'class': state_field.prop('class'),
68
+ 'csrf': $('#ppress_checkout_nonce').val()
69
+ };
70
+
71
+ $.post(pp_ajax_form.ajaxurl, data, function (response) {
72
+ state_field.replaceWith(response.data);
73
+ });
74
+ };
75
+
76
+ this.scroll_to_notices = function (scrollElement) {
77
+ scrollElement = scrollElement || $('.ppress-checkout-alert');
78
+ if (scrollElement.length) {
79
+ $('html, body').animate({
80
+ scrollTop: (scrollElement.offset().top - 100)
81
+ }, 1000);
82
+ }
83
+ };
84
+
85
+ this.update_checkout = function () {
86
+
87
+ _this.removeAllAlerts();
88
+
89
+ _this.add_spinner();
90
+
91
+ let data = {
92
+ 'action': 'ppress_update_order_review',
93
+ 'plan_id': $('#ppress-checkout-plan-id').val(),
94
+ 'csrf': $('#ppress_checkout_nonce').val(),
95
+ 'address': $('.ppress-checkout-form__payment_method.ppress-active .ppress_billing_address').val(),
96
+ 'city': $('.ppress-checkout-form__payment_method.ppress-active .ppress_billing_city').val(),
97
+ 'country': $('.ppress-checkout-form__payment_method.ppress-active .ppress_billing_country').val(),
98
+ 'state': $('.ppress-checkout-form__payment_method.ppress-active .ppress_billing_state').val(),
99
+ 'postcode': $('.ppress-checkout-form__payment_method.ppress-active .ppress_billing_postcode').val(),
100
+ 'phone': $('.ppress-checkout-form__payment_method.ppress-active .ppress_billing_phone').val(),
101
+ 'vat_number': $('#ppress_checkout_main_form .ppress_vat_number').val(),
102
+ 'post_data': $('#ppress_mb_checkout_form').serialize()
103
+ };
104
+
105
+ $.post(pp_ajax_form.ajaxurl, data, function (response) {
106
+
107
+ // Save payment details to a temporary object
108
+ let paymentDetails = {};
109
+
110
+ $('.ppress-checkout-form__payment_method :input').each(function () {
111
+
112
+ let ID = $(this).attr('id');
113
+
114
+ if (ID) {
115
+ if ($.inArray($(this).attr('type'), ['checkbox', 'radio']) !== -1) {
116
+ paymentDetails[ID] = $(this).prop('checked');
117
+ } else {
118
+ paymentDetails[ID] = $(this).val();
119
+ }
120
+ }
121
+ });
122
+
123
+ // Always update the fragments
124
+ if ('data' in response && typeof response.data.fragments !== 'undefined') {
125
+ $.each(response.data.fragments, function (key, value) {
126
+ if (!_this.fragments || _this.fragments[key] !== value) {
127
+ $(key).replaceWith(value);
128
+ }
129
+ });
130
+ _this.fragments = data.fragments;
131
+ }
132
+
133
+ // Fill in the payment details if possible without overwriting data if set.
134
+ if (!$.isEmptyObject(paymentDetails)) {
135
+ $('.ppress-checkout-form__payment_method :input').each(function () {
136
+ let ID = $(this).attr('id');
137
+ if (ID) {
138
+ if ($.inArray($(this).attr('type'), ['checkbox', 'radio']) !== -1) {
139
+ $(this).prop('checked', paymentDetails[ID]);
140
+ } else if ($.inArray($(this).attr('type'), ['select']) !== -1) {
141
+ $(this).val(paymentDetails[ID]);
142
+ } else {
143
+ $(this).val(paymentDetails[ID]);
144
+ }
145
+ }
146
+ });
147
+ }
148
+
149
+ // Check for error
150
+ if ('success' in response && false === response.success) {
151
+
152
+ let $checkout_form_section = $('#ppress_checkout_main_form');
153
+
154
+ if (response.data) {
155
+ $checkout_form_section.prepend(response.data);
156
+ }
157
+
158
+ // Lose focus for all fields
159
+ $checkout_form_section.find('.input-text, select, input:checkbox').trigger('blur');
160
+ }
161
+
162
+ // Fire updated_checkout event.
163
+ $(document.body).trigger('ppress_updated_checkout', [response]);
164
+
165
+ let scrollToSelector = $('.ppress-checkout_order_summary__bottom_details'), cache;
166
+
167
+ if ((cache = $('.ppress-checkout-alert')).length > 0) {
168
+ scrollToSelector = cache;
169
+ }
170
+
171
+ _this.scroll_to_notices(scrollToSelector);
172
+
173
+ _this.remove_spinner();
174
+ });
175
+ };
176
+
177
+ this.toggle_login_form = function (e) {
178
+ e.preventDefault();
179
+ $('#ppress_checkout_account_info .ppress-main-checkout-form__login_form_wrap').slideToggle();
180
+ };
181
+
182
+ this.toggle_discount_code_reveal = function (e) {
183
+ e.preventDefault();
184
+ $('#ppress-checkout-coupon-code-wrap').slideToggle();
185
+ };
186
+
187
+ this.apply_discount_code = function (e) {
188
+ e.preventDefault();
189
+
190
+ _this.removeAllAlerts();
191
+
192
+ _this.add_spinner();
193
+
194
+ let data = {
195
+ 'action': 'ppress_checkout_apply_discount',
196
+ 'plan_id': $('#ppress-checkout-plan-id').val(),
197
+ 'coupon_code': $('#apply-discount').val(),
198
+ 'ppress_checkout_nonce': $('#ppress_checkout_nonce').val(),
199
+ };
200
+
201
+ $.post(pp_ajax_form.ajaxurl, data, function (response) {
202
+ if ('success' in response && response.success === true) {
203
+ $(document.body).trigger('ppress_update_checkout');
204
+ } else {
205
+ $('.ppress-checkout_order_summary-wrap').before(response.data);
206
+
207
+ _this.remove_spinner();
208
+ }
209
+ });
210
+ };
211
+
212
+ this.remove_applied_discount_code = function (e) {
213
+ e.preventDefault();
214
+
215
+ _this.removeAllAlerts();
216
+
217
+ _this.add_spinner();
218
+
219
+ let data = {
220
+ 'action': 'ppress_checkout_remove_discount',
221
+ 'plan_id': $('#ppress-checkout-plan-id').val(),
222
+ 'ppress_checkout_nonce': $('#ppress_checkout_nonce').val(),
223
+ };
224
+
225
+ $.post(pp_ajax_form.ajaxurl, data, function (response) {
226
+ if ('success' in response && response.success === true) {
227
+ $(document.body).trigger('ppress_update_checkout');
228
+ } else {
229
+ $('.ppress-checkout_order_summary-wrap').before(response.data);
230
+
231
+ _this.remove_spinner();
232
+ }
233
+ });
234
+ };
235
+
236
+ this.process_login = function (e) {
237
+
238
+ e.preventDefault();
239
+
240
+ _this.removeAllAlerts();
241
+
242
+ _this.add_spinner();
243
+
244
+ let data = {
245
+ 'action': 'ppress_process_checkout_login',
246
+ 'ppmb_user_login': $('#ppress_mb_checkout_form #ppmb_user_login').val(),
247
+ 'ppmb_user_pass': $('#ppress_mb_checkout_form #ppmb_user_pass').val(),
248
+ 'ppress_checkout_nonce': $('#ppress_checkout_nonce').val(),
249
+ };
250
+
251
+ $.post(pp_ajax_form.ajaxurl, data, function (response) {
252
+ if ('success' in response) {
253
+ if (response.success === true) {
254
+ window.location.reload();
255
+ } else if ('data' in response) {
256
+ $('#ppress_mb_checkout_form .ppress-login-submit-btn').prepend(response.data);
257
+ }
258
+ }
259
+
260
+ _this.remove_spinner();
261
+ });
262
+ };
263
+
264
+ this.process_checkout = function (e) {
265
+
266
+ if (typeof this.checkValidity === 'function' && false === this.checkValidity()) {
267
+ return;
268
+ }
269
+
270
+ e.preventDefault();
271
+
272
+ _this.removeAllAlerts();
273
+
274
+ _this.add_spinner();
275
+
276
+ var $form = $(this), $payment_method = _this.get_payment_method();
277
+
278
+ if ($form.triggerHandler('ppress_checkout_place_order_' + $payment_method) !== false) {
279
+
280
+ let formData = new FormData(this);
281
+ formData.append("action", "ppress_process_checkout");
282
+ formData.append("ppress_checkout_nonce", $('#ppress_checkout_nonce').val());
283
+
284
+ $.post({
285
+ url: pp_ajax_form.ajaxurl,
286
+ data: formData,
287
+ cache: false,
288
+ contentType: false,
289
+ enctype: 'multipart/form-data',
290
+ processData: false,
291
+ dataType: 'json',
292
+ success: function (response) {
293
+
294
+ if ('success' in response) {
295
+
296
+ if (response.success === true) {
297
+
298
+ if ($form.triggerHandler('ppress_process_checkout_' + $payment_method, [response, $payment_method]) !== false) {
299
+
300
+ if ('redirect_url' in response && typeof response.redirect_url !== 'undefined' && response.redirect_url.length > 0) {
301
+ window.location.assign(response.redirect_url);
302
+ } else {
303
+
304
+ $(document.body).trigger('ppress_checkout_success', [response, $payment_method]);
305
+
306
+ window.location.assign(response.order_success_url);
307
+ }
308
+ }
309
+
310
+ return;
311
+
312
+ }
313
+
314
+ if ('error_message' in response) {
315
+ return _this.createAlertMessage(response.error_message);
316
+ }
317
+
318
+ if ('data' in response && typeof response.data == 'string') {
319
+ return _this.createAlertMessage(response.data);
320
+ }
321
+
322
+ return;
323
+ }
324
+
325
+ _this.remove_spinner();
326
+ },
327
+ error: function (jqXHR, textStatus, errorThrown) {
328
+ _this.createAlertMessage(errorThrown);
329
+ }
330
+ }, 'json',);
331
+ }
332
+ };
333
+
334
+ this.get_payment_method = function () {
335
+ return $('#ppress_mb_checkout_form').find('input[name="ppress_payment_method"]:checked').val();
336
+ };
337
+
338
+ this.createAlertMessage = function (message, type) {
339
+ type = type || 'error';
340
+ var is_marked_up = typeof message.indexOf !== 'undefined' && message.indexOf('ppress-checkout-alert') !== -1,
341
+ msg = '';
342
+
343
+ if (!is_marked_up) msg = '<div class="ppress-checkout-alert ppress-' + type + '"><p>';
344
+
345
+ msg += message;
346
+
347
+ if (!is_marked_up) msg += '</p></div>';
348
+
349
+ $('#ppress_checkout_main_form').prepend(msg);
350
+
351
+ ppressCheckoutForm.scroll_to_notices();
352
+ ppressCheckoutForm.remove_spinner();
353
+
354
+ $(document.body).trigger('ppress_checkout_error', [message]);
355
+ };
356
+
357
+ this.removeAllAlerts = function () {
358
+ $('.ppress-checkout-alert').remove();
359
+ };
360
+
361
+ this.add_spinner = function () {
362
+ $('.ppress-checkout__form').prepend('<div class="ppress-checkout__form__preloader"><div class="ppress-checkout__form__spinner"></div></div>')
363
+ };
364
+
365
+ this.remove_spinner = function () {
366
+ $('.ppress-checkout__form .ppress-checkout__form__preloader').remove()
367
+ };
368
+
369
+ this.is_var_defined = function (val) {
370
+ return typeof val !== 'undefined' && val !== null;
371
+ };
372
+ }
assets/js/content-control.js CHANGED
@@ -56,6 +56,8 @@
56
  })
57
  });
58
 
 
 
59
  $('#pp-cc-access-wp-users').select2({
60
  ajax: {
61
  url: ajaxurl,
56
  })
57
  });
58
 
59
+ $('#pp-cc-access-membership-plans').select2();
60
+
61
  $('#pp-cc-access-wp-users').select2({
62
  ajax: {
63
  url: ajaxurl,
assets/js/frontend.js CHANGED
@@ -1,488 +1,502 @@
1
- (function ($, window, undefined) {
 
2
 
3
- function Frontend() {
4
 
5
- var _this = this;
6
 
7
- this.init = function () {
8
 
9
- window.ppFormRecaptchaLoadCallback = this.recaptcha_processing;
10
 
11
- $('.pp-del-profile-avatar').click(this.delete_avatar);
12
- $('.pp-del-cover-image').click(this.delete_profile_image_cover);
13
 
14
- $(document).on('click', '.has-password-visibility-icon .pp-form-material-icons', this.toggle_password_visibility);
15
 
16
- // used by the WooCommerce module for toggling wc overridden checkout login form
17
- $(document.body).on('click', 'a.showlogin', function () {
18
- $(".pp_wc_login").slideToggle();
19
- });
20
 
21
- $(window).on('load resize', function () {
22
- _this.defaultUserProfileResponsive();
23
- });
 
 
 
 
 
 
 
 
24
 
25
- // only enable if pp_disable_ajax_form filter is false.
26
- if (pp_ajax_form.disable_ajax_form === 'true') return;
27
-
28
- $(document).on('submit', 'form[data-pp-form-submit="login"]', this.ajax_login);
29
- $(document).on('submit', 'form[data-pp-form-submit="signup"]', this.ajax_registration);
30
- $(document).on('submit', 'form[data-pp-form-submit="passwordreset"]', this.ajax_password_reset);
31
- $(document).on('submit', 'form[data-pp-form-submit="editprofile"]', this.ajax_edit_profile);
32
- };
33
-
34
- this.recaptcha_processing = function () {
35
- $('.pp-g-recaptcha').each(function (index, el) {
36
- var $site_key = $(el).attr('data-sitekey');
37
- var $form = $(this).parents('.pp-form-container').find('form');
38
-
39
- if ($(el).attr('data-type') === 'v3') {
40
-
41
- $form.find('input.pp-submit-form').on('click', function (e) {
42
- e.preventDefault();
43
- _this._add_processing_label($form);
44
- grecaptcha.ready(function () {
45
- grecaptcha.execute($site_key, {action: 'form'}).then(function (token) {
46
- $form.find('[name="g-recaptcha-response"]').remove();
47
-
48
- $form.append($('<input>', {
49
- type: 'hidden',
50
- value: token,
51
- name: 'g-recaptcha-response'
52
- }));
53
-
54
- $form.submit();
55
- });
56
  });
57
  });
58
- } else {
59
- var widgetId1 = grecaptcha.render(el, {
60
- 'sitekey': $site_key,
61
- 'theme': $(el).attr('data-theme'),
62
- 'size': $(el).attr('data-size')
63
- });
 
64
 
65
- $form.on('pp_form_submitted', function () {
66
- grecaptcha.reset(widgetId1)
67
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
69
- });
70
- };
71
 
72
- this.reset_form = function ($form) {
73
- $form.find('input:text, input:password, input:file, select, textarea').val('');
74
- $form.find('input:radio, input:checkbox')
75
- .removeAttr('checked').removeAttr('selected');
76
- };
 
 
77
 
78
- this.toggle_password_visibility = function (e) {
79
- e.preventDefault();
80
- var input = $(this).parents('.pp-form-field-input-textarea-wrap').find('.pp-form-field');
81
 
82
- if (input.attr('type') === 'password') {
83
- input.attr('type', 'text');
84
- $(this).text('visibility_off')
85
- } else {
86
- input.attr('type', 'password');
87
- $(this).text('visibility')
88
- }
89
- };
90
 
91
- this.ajax_edit_profile = function (e) {
 
 
 
92
 
93
- if (typeof window.FormData === 'undefined' || !window.FormData) return;
 
94
 
95
- e.preventDefault();
 
 
 
 
 
 
 
96
 
97
- var $editprofile_form = $('form[data-pp-form-submit="editprofile"]');
98
 
99
- var melange_id = _this.get_melange_id($editprofile_form);
100
 
101
- var formData = new FormData(this);
102
- formData.append("action", "pp_ajax_editprofile");
103
- formData.append("nonce", pp_ajax_form.nonce);
104
- formData.append("melange_id", melange_id);
105
 
106
- // remove any prior edit profile error.
107
- $('.profilepress-edit-profile-status').remove();
108
- $('.profilepress-edit-profile-success').remove();
109
 
110
- // remove any prior status message. Fixes removal of message with custom class.
111
- if ("" !== window.edit_profile_msg_class) {
112
- $('.' + window.edit_profile_msg_class).remove();
 
 
113
  }
114
 
115
- _this._add_processing_label($editprofile_form);
116
-
117
- $.post({
118
- url: pp_ajax_form.ajaxurl,
119
- data: formData,
120
- cache: false,
121
- contentType: false,
122
- enctype: 'multipart/form-data',
123
- processData: false,
124
- dataType: 'json',
125
- success: function (response) {
126
- $editprofile_form.trigger('pp_form_submitted');
127
- $editprofile_form.trigger('pp_form_edit_profile_success', [$editprofile_form]);
128
- if ("avatar_url" in response && response.avatar_url !== '') {
129
- $("img[data-del='avatar'], img.pp-user-avatar").attr('src', response.avatar_url);
130
- // remove the picture upload path text.
131
- $('input[name=eup_avatar]', $editprofile_form).val('');
132
- }
133
 
134
- if ("cover_image_url" in response && response.cover_image_url !== '') {
135
- $("img[data-del='cover-image'], img.pp-user-cover-image").attr('src', response.cover_image_url);
136
- // remove the picture upload path text.
137
- $('input[name=eup_cover_image]', $editprofile_form).val('');
138
- $('.profilepress-myaccount-has-cover-image', $editprofile_form).show();
139
- $('.profilepress-myaccount-cover-image-empty', $editprofile_form).hide();
140
- }
141
 
142
- if ('message' in response) {
143
- // save the response error message class for early removal in next request.
144
- window.edit_profile_msg_class = $(response.message).attr('class');
145
 
146
- $editprofile_form.before(response.message);
147
- }
148
 
149
- if ('redirect' in response) {
150
- $editprofile_form.trigger('pp_edit_profile_success_before_redirect');
151
- window.location.assign(response.redirect)
152
- }
153
 
154
- _this._remove_processing_label($editprofile_form);
155
- }
156
- }, 'json');
157
- };
158
 
159
- this.ajax_password_reset = function (e) {
160
- e.preventDefault();
 
161
 
162
- var $passwordreset_form = $(this),
163
- melange_id = _this.get_melange_id($passwordreset_form),
164
- is_tab_widget = $passwordreset_form.find('input[name="is-pp-tab-widget"]').val() === 'true',
165
- ajaxData = {
166
- action: 'pp_ajax_passwordreset',
167
- // if this is melange, we need it ID thus "&melange_id".
168
- data: $(this).serialize() + '&melange_id=' + melange_id
169
- };
170
 
171
- _this._remove_status_notice();
 
172
 
173
- $passwordreset_form.parents('.pp-tab-widget-form').prev('.pp-tab-status').remove();
174
 
175
- _this._add_processing_label($passwordreset_form);
176
 
177
- $.post(pp_ajax_form.ajaxurl, ajaxData, function (response) {
178
 
179
- $passwordreset_form.trigger('pp_form_submitted');
 
 
 
 
 
 
 
 
 
180
  // remove the processing label and do nothing if 0 is returned which perhaps means the user is
181
  // already logged in.
182
  if (typeof response !== 'object') {
183
- return _this._remove_processing_label($passwordreset_form);
184
  }
185
 
186
  if ('message' in response) {
187
- $passwordreset_form.trigger('pp_password_reset_status');
 
 
 
 
188
  if (is_tab_widget) {
189
  // tab widget has its own class for status notice/message which is pp-tab-status thus the replacement.
190
- var notice = response.message.replace('profilepress-reset-status', 'pp-tab-status');
191
- $passwordreset_form.parents('.pp-tab-widget-form').before(notice);
192
- } else if ($passwordreset_form.parents('.lucidContainer').length > 0) {
193
- $passwordreset_form.parents('.lucidContainer').before(response.message)
194
- } else {
195
- $passwordreset_form.before(response.message);
196
  }
197
-
198
- if ('status' in response && response.status === true) {
199
- $passwordreset_form.hide();
 
 
200
  }
201
-
202
- $('input[name="user_login"]', $passwordreset_form).val('');
 
203
  }
 
 
 
 
204
 
205
- _this._remove_processing_label($passwordreset_form);
206
-
207
- }, 'json');
208
- };
209
-
210
- this.ajax_registration = function (e) {
211
-
212
- if (typeof window.FormData === 'undefined' || !window.FormData) return;
213
-
214
- e.preventDefault();
215
 
216
- var $signup_form = $(this),
217
- melange_id = _this.get_melange_id($signup_form),
218
- formData = new FormData(this),
219
- is_tab_widget = $signup_form.find('input[name="is-pp-tab-widget"]').val() === 'true';
220
-
221
- formData.append("action", "pp_ajax_signup");
222
- formData.append("melange_id", melange_id);
223
-
224
- _this._remove_status_notice();
225
-
226
- $signup_form.parents('.pp-tab-widget-form').prev('.pp-tab-status').remove();
227
-
228
- _this._add_processing_label($signup_form);
229
-
230
- $.post({
231
- url: pp_ajax_form.ajaxurl,
232
- data: formData,
233
- cache: false,
234
- contentType: false,
235
- enctype: 'multipart/form-data',
236
- processData: false,
237
- dataType: 'json',
238
- success: function (response) {
239
- $signup_form.trigger('pp_form_submitted');
240
- // remove the processing label and do nothing if 0 is returned which perhaps means the user is
241
- // already logged in.
242
- if (typeof response !== 'object') {
243
- return _this._remove_processing_label($signup_form);
244
- }
245
 
246
- if ('message' in response) {
247
- // backward compat. To be removed in future
248
- $signup_form.trigger('pp_registration_error', [response]);
249
-
250
- $signup_form.trigger('pp_registration_ajax_response', [response]);
251
-
252
- if (is_tab_widget) {
253
- // tab widget has its own class for status notice/message which is pp-tab-status thus the replacement.
254
- var notice = response.message.replace('profilepress-reg-status', 'pp-tab-status');
255
- $signup_form.parents('.pp-tab-widget-form').before(notice);
256
- }
257
- // if lucid tab widget
258
- else if ($signup_form.parents('.lucidContainer').length > 0) {
259
- $signup_form.parents('.lucidContainer').before(response.message)
260
- } else {
261
- $signup_form.before(response.message);
262
- }
263
-
264
- _this.reset_form($signup_form);
265
-
266
- } else if ('redirect' in response) {
267
- $signup_form.trigger('pp_registration_success', [response]);
268
- window.location.assign(response.redirect)
269
- }
270
- _this._remove_processing_label($signup_form);
271
- }
272
- });
273
- };
274
 
275
- this.ajax_login = function (e) {
276
- e.preventDefault();
277
 
278
- var $login_form = $(this),
279
- ajaxData = {action: 'pp_ajax_login', data: $(this).serialize()},
280
- is_tab_widget = $login_form.find('input[name="is-pp-tab-widget"]').val() === 'true';
 
 
 
 
 
281
 
282
- _this._remove_status_notice();
 
 
 
283
 
284
- _this._add_processing_label($login_form);
285
 
286
- $.post(pp_ajax_form.ajaxurl, ajaxData, function (response) {
287
- $login_form.trigger('pp_form_submitted');
288
- // remove the processing label and do nothing if 0 is returned which perhaps means the user is
289
- // already logged in.
290
- // we are checking for null because response can be null hence we want the processing label removed.
291
- if (response === null || typeof response !== 'object') {
292
- return _this._remove_processing_label($login_form);
293
  }
294
 
295
- if ('success' in response && response.success === true && 'redirect' in response) {
296
- $login_form.trigger('pp_login_form_success');
297
- window.location.assign(response.redirect)
 
 
 
 
 
298
  } else {
299
-
300
- $login_form.trigger('pp_login_form_error');
301
-
302
- if ('code' in response && response.code == 'pp2fa_auth_code_invalid') {
303
- $login_form.find('.pp-2fa').show();
304
- }
305
-
306
- if (is_tab_widget) {
307
- // tab widget has its own class for status notice/message which is pp-tab-status thus the replacement.
308
- var notice = response.message.replace('profilepress-login-status', 'pp-tab-status');
309
- $login_form.parents('.pp-tab-widget-form').before(notice);
310
- }
311
- // if lucid tab widget
312
- else if ($login_form.parents('.lucidContainer').length > 0) {
313
- $login_form.parents('.lucidContainer').before(response.message)
314
- } else {
315
- $login_form.before(response.message);
316
- }
317
  }
 
318
 
319
- _this._remove_processing_label($login_form);
320
 
321
- }, 'json');
322
- };
323
 
324
- this.delete_avatar = function (e) {
325
 
326
- e.preventDefault();
327
 
328
- var button_text = $(this).text(),
329
- this_obj = $(this);
330
 
331
- e.preventDefault();
332
- if (confirm(pp_ajax_form.confirm_delete)) {
 
 
 
 
333
 
334
- if (this_obj.is('button')) {
335
- this_obj.text(pp_ajax_form.deleting_text);
 
 
 
 
 
 
 
 
336
  }
 
337
 
338
- $.post(pp_ajax_form.ajaxurl, {
339
- action: 'pp_del_avatar',
340
- nonce: pp_ajax_form.nonce
341
- }).done(function (data) {
342
- if ('error' in data && data.error === 'nonce_failed') {
343
- this_obj.text(button_text);
344
- alert(pp_ajax_form.deleting_error);
345
- } else if ('success' in data) {
346
- $("img[data-del='avatar']").attr('src', data.default);
347
- this_obj.remove();
348
- }
349
- });
350
 
351
- }
352
- };
353
 
354
- this.delete_profile_image_cover = function (e) {
355
 
356
- e.preventDefault();
357
 
358
- var button_text = $(this).text(), this_obj = $(this);
359
 
360
- e.preventDefault();
361
 
362
- if (confirm(pp_ajax_form.confirm_delete)) {
 
 
363
 
364
- if (this_obj.is('button')) {
365
- this_obj.text(pp_ajax_form.deleting_text);
 
 
 
 
 
366
  }
367
 
368
- $.post(pp_ajax_form.ajaxurl, {
369
- action: 'pp_del_cover_image',
370
- nonce: pp_ajax_form.nonce
371
- }).done(function (data) {
372
- if ('error' in data && data.error === 'nonce_failed') {
373
- this_obj.text(button_text);
374
- alert(pp_ajax_form.deleting_error);
 
375
  }
376
 
377
- if ('success' in data) {
378
- if (data.default !== '') {
379
- $("img[data-del='cover-image']").attr('src', data.default);
380
- this_obj.parent().find('.profilepress-myaccount-has-cover-image').show();
381
- this_obj.parent().find('.profilepress-myaccount-cover-image-empty').hide();
382
- } else {
383
- this_obj.parent().find('.profilepress-myaccount-has-cover-image').hide();
384
- this_obj.parent().find('.profilepress-myaccount-cover-image-empty').show();
385
- }
386
-
387
- this_obj.remove();
388
- }
389
- });
390
 
391
- }
392
- };
393
 
394
- this.get_melange_id = function ($scope) {
395
- var melange_id = $('input.pp_melange_id', $scope).val();
396
- return melange_id === undefined ? '' : melange_id;
397
- };
398
 
399
- this._add_processing_label = function (obj) {
400
- var submit_btn = obj.find('input[data-pp-submit-label]');
401
- submit_btn.attr({
402
- 'value': submit_btn.data('pp-processing-label'),
403
- 'disabled': 'disabled',
404
- }).css("opacity", ".4");
405
- };
406
 
407
- this._remove_processing_label = function (obj) {
408
- var submit_btn = obj.find('input[data-pp-submit-label]');
409
- submit_btn.attr('value', submit_btn.data('pp-submit-label'));
410
- submit_btn.attr({
411
- 'value': submit_btn.data('pp-submit-label'),
412
- // set to null to remove. See https://api.jquery.com/attr/#attr-attributeName-value
413
- 'disabled': null,
414
- }).css("opacity", "");
415
- };
416
 
417
- this._remove_status_notice = function () {
418
- $('.profilepress-login-status,.pp-tab-status,.profilepress-edit-profile-success,.profilepress-edit-profile-status,.pp-reset-success,.profilepress-reset-status,.profilepress-reg-status').remove();
419
- };
420
 
421
- this.defaultUserProfileResponsive = function () {
422
 
423
- $('.ppress-default-profile, .pp-member-directory').each(function () {
424
 
425
- var obj = $(this),
426
- element_width = obj.width();
427
 
428
- if (element_width <= 340) {
429
 
430
- obj.removeClass('ppressui340');
431
- obj.removeClass('ppressui500');
432
- obj.removeClass('ppressui800');
433
- obj.removeClass('ppressui960');
 
434
 
435
- obj.addClass('ppressui340');
436
 
437
- } else if (element_width <= 500) {
438
 
439
- obj.removeClass('ppressui340');
440
- obj.removeClass('ppressui500');
441
- obj.removeClass('ppressui800');
442
- obj.removeClass('ppressui960');
 
443
 
444
- obj.addClass('ppressui500');
445
 
446
- } else if (element_width <= 800) {
447
 
448
- obj.removeClass('ppressui340');
449
- obj.removeClass('ppressui500');
450
- obj.removeClass('ppressui800');
451
- obj.removeClass('ppressui960');
 
452
 
453
- obj.addClass('ppressui800');
454
 
455
- } else if (element_width <= 960) {
456
 
457
- obj.removeClass('ppressui340');
458
- obj.removeClass('ppressui500');
459
- obj.removeClass('ppressui800');
460
- obj.removeClass('ppressui960');
 
461
 
462
- obj.addClass('ppressui960');
463
 
464
- } else if (element_width > 960) {
465
 
466
- obj.removeClass('ppressui340');
467
- obj.removeClass('ppressui500');
468
- obj.removeClass('ppressui800');
469
- obj.removeClass('ppressui960');
470
- }
471
 
472
- obj.css('opacity', 1);
473
- });
474
 
475
- $('.ppress-default-profile-cover, .ppress-default-profile-cover-e').each(function () {
476
 
477
- var elem = $(this),
478
- calcHeight = Math.round(elem.width() / elem.data('ratio')) + 'px';
 
 
 
 
479
 
480
- elem.height(calcHeight);
481
- elem.find('.ppress-dpf-cover-add').height(calcHeight);
482
- });
483
- };
484
- }
 
 
 
 
 
 
 
 
485
 
486
- (new Frontend()).init();
487
 
488
- })(jQuery, window, undefined);
1
+ import Checkout from './checkout';
2
+ import $ from 'jquery';
3
 
4
+ function Frontend() {
5
 
6
+ var _this = this;
7
 
8
+ this.init = function () {
9
 
10
+ window.ppFormRecaptchaLoadCallback = this.recaptcha_processing;
11
 
12
+ $('.pp-del-profile-avatar').click(this.delete_avatar);
13
+ $('.pp-del-cover-image').click(this.delete_profile_image_cover);
14
 
15
+ $(document).on('click', '.has-password-visibility-icon .pp-form-material-icons', this.toggle_password_visibility);
16
 
17
+ // used by the WooCommerce module for toggling wc overridden checkout login form
18
+ $(document.body).on('click', 'a.showlogin', function () {
19
+ $(".pp_wc_login").slideToggle();
20
+ });
21
 
22
+ $(window).on('load resize', function () {
23
+ _this.defaultUserProfileResponsive();
24
+ });
25
+
26
+ // only enable if pp_disable_ajax_form filter is false.
27
+ if (pp_ajax_form.disable_ajax_form === 'true') return;
28
+
29
+ $(document).on('submit', 'form[data-pp-form-submit="login"]', this.ajax_login);
30
+ $(document).on('submit', 'form[data-pp-form-submit="signup"]', this.ajax_registration);
31
+ $(document).on('submit', 'form[data-pp-form-submit="passwordreset"]', this.ajax_password_reset);
32
+ $(document).on('submit', 'form[data-pp-form-submit="editprofile"]', this.ajax_edit_profile);
33
 
34
+ $('.ppress-confirm-delete').click(function (e) {
35
+ e.preventDefault();
36
+ if (confirm(pp_ajax_form.confirm_delete)) {
37
+ window.location.href = $(this).attr('href');
38
+ }
39
+ });
40
+ };
41
+
42
+ this.recaptcha_processing = function () {
43
+ $('.pp-g-recaptcha').each(function (index, el) {
44
+ var $site_key = $(el).attr('data-sitekey');
45
+ var $form = $(this).parents('.pp-form-container').find('form');
46
+
47
+ if ($(el).attr('data-type') === 'v3') {
48
+
49
+ $form.find('input.pp-submit-form').on('click', function (e) {
50
+ e.preventDefault();
51
+ _this._add_processing_label($form);
52
+ grecaptcha.ready(function () {
53
+ grecaptcha.execute($site_key, {action: 'form'}).then(function (token) {
54
+ $form.find('[name="g-recaptcha-response"]').remove();
55
+
56
+ $form.append($('<input>', {
57
+ type: 'hidden',
58
+ value: token,
59
+ name: 'g-recaptcha-response'
60
+ }));
61
+
62
+ $form.submit();
 
 
63
  });
64
  });
65
+ });
66
+ } else {
67
+ var widgetId1 = grecaptcha.render(el, {
68
+ 'sitekey': $site_key,
69
+ 'theme': $(el).attr('data-theme'),
70
+ 'size': $(el).attr('data-size')
71
+ });
72
 
73
+ $form.on('pp_form_submitted', function () {
74
+ grecaptcha.reset(widgetId1)
75
+ });
76
+ }
77
+ });
78
+ };
79
+
80
+ this.toggle_password_visibility = function (e) {
81
+ e.preventDefault();
82
+ var input = $(this).parents('.pp-form-field-input-textarea-wrap').find('.pp-form-field');
83
+
84
+ if (input.attr('type') === 'password') {
85
+ input.attr('type', 'text');
86
+ $(this).text('visibility_off')
87
+ } else {
88
+ input.attr('type', 'password');
89
+ $(this).text('visibility')
90
+ }
91
+ };
92
+
93
+ this.ajax_edit_profile = function (e) {
94
+
95
+ if (typeof window.FormData === 'undefined' || !window.FormData) return;
96
+
97
+ e.preventDefault();
98
+
99
+ var $editprofile_form = $('form[data-pp-form-submit="editprofile"]');
100
+
101
+ var melange_id = _this.get_melange_id($editprofile_form);
102
+
103
+ var formData = new FormData(this);
104
+ formData.append("action", "pp_ajax_editprofile");
105
+ formData.append("nonce", pp_ajax_form.nonce);
106
+ formData.append("melange_id", melange_id);
107
+
108
+ // remove any prior edit profile error.
109
+ $('.profilepress-edit-profile-status').remove();
110
+ $('.profilepress-edit-profile-success').remove();
111
+
112
+ // remove any prior status message. Fixes removal of message with custom class.
113
+ if ("" !== window.edit_profile_msg_class) {
114
+ $('.' + window.edit_profile_msg_class).remove();
115
+ }
116
+
117
+ _this._add_processing_label($editprofile_form);
118
+
119
+ $.post({
120
+ url: pp_ajax_form.ajaxurl,
121
+ data: formData,
122
+ cache: false,
123
+ contentType: false,
124
+ enctype: 'multipart/form-data',
125
+ processData: false,
126
+ dataType: 'json',
127
+ success: function (response) {
128
+ $editprofile_form.trigger('pp_form_submitted');
129
+ $editprofile_form.trigger('pp_form_edit_profile_success', [$editprofile_form]);
130
+ if ("avatar_url" in response && response.avatar_url !== '') {
131
+ $("img[data-del='avatar'], img.pp-user-avatar").attr('src', response.avatar_url);
132
+ // remove the picture upload path text.
133
+ $('input[name=eup_avatar]', $editprofile_form).val('');
134
  }
 
 
135
 
136
+ if ("cover_image_url" in response && response.cover_image_url !== '') {
137
+ $("img[data-del='cover-image'], img.pp-user-cover-image").attr('src', response.cover_image_url);
138
+ // remove the picture upload path text.
139
+ $('input[name=eup_cover_image]', $editprofile_form).val('');
140
+ $('.profilepress-myaccount-has-cover-image', $editprofile_form).show();
141
+ $('.profilepress-myaccount-cover-image-empty', $editprofile_form).hide();
142
+ }
143
 
144
+ if ('message' in response) {
145
+ // save the response error message class for early removal in next request.
146
+ window.edit_profile_msg_class = $(response.message).attr('class');
147
 
148
+ $editprofile_form.before(response.message);
149
+ }
150
+
151
+ if ('redirect' in response) {
152
+ $editprofile_form.trigger('pp_edit_profile_success_before_redirect');
153
+ window.location.assign(response.redirect)
154
+ }
 
155
 
156
+ _this._remove_processing_label($editprofile_form);
157
+ }
158
+ }, 'json');
159
+ };
160
 
161
+ this.ajax_password_reset = function (e) {
162
+ e.preventDefault();
163
 
164
+ var $passwordreset_form = $(this),
165
+ melange_id = _this.get_melange_id($passwordreset_form),
166
+ is_tab_widget = $passwordreset_form.find('input[name="is-pp-tab-widget"]').val() === 'true',
167
+ ajaxData = {
168
+ action: 'pp_ajax_passwordreset',
169
+ // if this is melange, we need it ID thus "&melange_id".
170
+ data: $(this).serialize() + '&melange_id=' + melange_id
171
+ };
172
 
173
+ _this._remove_status_notice();
174
 
175
+ $passwordreset_form.parents('.pp-tab-widget-form').prev('.pp-tab-status').remove();
176
 
177
+ _this._add_processing_label($passwordreset_form);
 
 
 
178
 
179
+ $.post(pp_ajax_form.ajaxurl, ajaxData, function (response) {
 
 
180
 
181
+ $passwordreset_form.trigger('pp_form_submitted');
182
+ // remove the processing label and do nothing if 0 is returned which perhaps means the user is
183
+ // already logged in.
184
+ if (typeof response !== 'object') {
185
+ return _this._remove_processing_label($passwordreset_form);
186
  }
187
 
188
+ if ('message' in response) {
189
+ $passwordreset_form.trigger('pp_password_reset_status');
190
+ if (is_tab_widget) {
191
+ // tab widget has its own class for status notice/message which is pp-tab-status thus the replacement.
192
+ var notice = response.message.replace('profilepress-reset-status', 'pp-tab-status');
193
+ $passwordreset_form.parents('.pp-tab-widget-form').before(notice);
194
+ } else if ($passwordreset_form.parents('.lucidContainer').length > 0) {
195
+ $passwordreset_form.parents('.lucidContainer').before(response.message)
196
+ } else {
197
+ $passwordreset_form.before(response.message);
198
+ }
 
 
 
 
 
 
 
199
 
200
+ if ('status' in response && response.status === true) {
201
+ $passwordreset_form.hide();
202
+ }
 
 
 
 
203
 
204
+ $('input[name="user_login"]', $passwordreset_form).val('');
205
+ }
 
206
 
207
+ _this._remove_processing_label($passwordreset_form);
 
208
 
209
+ }, 'json');
210
+ };
 
 
211
 
212
+ this.ajax_registration = function (e) {
 
 
 
213
 
214
+ if (typeof window.FormData === 'undefined' || !window.FormData) return;
215
+
216
+ e.preventDefault();
217
 
218
+ var $signup_form = $(this),
219
+ melange_id = _this.get_melange_id($signup_form),
220
+ formData = new FormData(this),
221
+ is_tab_widget = $signup_form.find('input[name="is-pp-tab-widget"]').val() === 'true';
 
 
 
 
222
 
223
+ formData.append("action", "pp_ajax_signup");
224
+ formData.append("melange_id", melange_id);
225
 
226
+ _this._remove_status_notice();
227
 
228
+ $signup_form.parents('.pp-tab-widget-form').prev('.pp-tab-status').remove();
229
 
230
+ _this._add_processing_label($signup_form);
231
 
232
+ $.post({
233
+ url: pp_ajax_form.ajaxurl,
234
+ data: formData,
235
+ cache: false,
236
+ contentType: false,
237
+ enctype: 'multipart/form-data',
238
+ processData: false,
239
+ dataType: 'json',
240
+ success: function (response) {
241
+ $signup_form.trigger('pp_form_submitted');
242
  // remove the processing label and do nothing if 0 is returned which perhaps means the user is
243
  // already logged in.
244
  if (typeof response !== 'object') {
245
+ return _this._remove_processing_label($signup_form);
246
  }
247
 
248
  if ('message' in response) {
249
+ // backward compat. To be removed in future
250
+ $signup_form.trigger('pp_registration_error', [response]);
251
+
252
+ $signup_form.trigger('pp_registration_ajax_response', [response]);
253
+
254
  if (is_tab_widget) {
255
  // tab widget has its own class for status notice/message which is pp-tab-status thus the replacement.
256
+ var notice = response.message.replace('profilepress-reg-status', 'pp-tab-status');
257
+ $signup_form.parents('.pp-tab-widget-form').before(notice);
 
 
 
 
258
  }
259
+ // if lucid tab widget
260
+ else if ($signup_form.parents('.lucidContainer').length > 0) {
261
+ $signup_form.parents('.lucidContainer').before(response.message)
262
+ } else {
263
+ $signup_form.before(response.message);
264
  }
265
+ } else if ('redirect' in response) {
266
+ $signup_form.trigger('pp_registration_success', [response]);
267
+ window.location.assign(response.redirect)
268
  }
269
+ _this._remove_processing_label($signup_form);
270
+ }
271
+ });
272
+ };
273
 
274
+ this.ajax_login = function (e) {
275
+ e.preventDefault();
 
 
 
 
 
 
 
 
276
 
277
+ var $login_form = $(this),
278
+ ajaxData = {action: 'pp_ajax_login', data: $(this).serialize()},
279
+ is_tab_widget = $login_form.find('input[name="is-pp-tab-widget"]').val() === 'true';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
 
281
+ _this._remove_status_notice();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
 
283
+ _this._add_processing_label($login_form);
 
284
 
285
+ $.post(pp_ajax_form.ajaxurl, ajaxData, function (response) {
286
+ $login_form.trigger('pp_form_submitted');
287
+ // remove the processing label and do nothing if 0 is returned which perhaps means the user is
288
+ // already logged in.
289
+ // we are checking for null because response can be null hence we want the processing label removed.
290
+ if (response === null || typeof response !== 'object') {
291
+ return _this._remove_processing_label($login_form);
292
+ }
293
 
294
+ if ('success' in response && response.success === true && 'redirect' in response) {
295
+ $login_form.trigger('pp_login_form_success');
296
+ window.location.assign(response.redirect)
297
+ } else {
298
 
299
+ $login_form.trigger('pp_login_form_error');
300
 
301
+ if ('code' in response && response.code == 'pp2fa_auth_code_invalid') {
302
+ $login_form.find('.pp-2fa').show();
 
 
 
 
 
303
  }
304
 
305
+ if (is_tab_widget) {
306
+ // tab widget has its own class for status notice/message which is pp-tab-status thus the replacement.
307
+ var notice = response.message.replace('profilepress-login-status', 'pp-tab-status');
308
+ $login_form.parents('.pp-tab-widget-form').before(notice);
309
+ }
310
+ // if lucid tab widget
311
+ else if ($login_form.parents('.lucidContainer').length > 0) {
312
+ $login_form.parents('.lucidContainer').before(response.message)
313
  } else {
314
+ $login_form.before(response.message);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  }
316
+ }
317
 
318
+ _this._remove_processing_label($login_form);
319
 
320
+ }, 'json');
321
+ };
322
 
323
+ this.delete_avatar = function (e) {
324
 
325
+ e.preventDefault();
326
 
327
+ var button_text = $(this).text(),
328
+ this_obj = $(this);
329
 
330
+ e.preventDefault();
331
+ if (confirm(pp_ajax_form.confirm_delete)) {
332
+
333
+ if (this_obj.is('button')) {
334
+ this_obj.text(pp_ajax_form.deleting_text);
335
+ }
336
 
337
+ $.post(pp_ajax_form.ajaxurl, {
338
+ action: 'pp_del_avatar',
339
+ nonce: pp_ajax_form.nonce
340
+ }).done(function (data) {
341
+ if ('error' in data && data.error === 'nonce_failed') {
342
+ this_obj.text(button_text);
343
+ alert(pp_ajax_form.deleting_error);
344
+ } else if ('success' in data) {
345
+ $("img[data-del='avatar']").attr('src', data.default);
346
+ this_obj.remove();
347
  }
348
+ });
349
 
350
+ }
351
+ };
 
 
 
 
 
 
 
 
 
 
352
 
353
+ this.delete_profile_image_cover = function (e) {
 
354
 
355
+ e.preventDefault();
356
 
357
+ var button_text = $(this).text(), this_obj = $(this);
358
 
359
+ e.preventDefault();
360
 
361
+ if (confirm(pp_ajax_form.confirm_delete)) {
362
 
363
+ if (this_obj.is('button')) {
364
+ this_obj.text(pp_ajax_form.deleting_text);
365
+ }
366
 
367
+ $.post(pp_ajax_form.ajaxurl, {
368
+ action: 'pp_del_cover_image',
369
+ nonce: pp_ajax_form.nonce
370
+ }).done(function (data) {
371
+ if ('error' in data && data.error === 'nonce_failed') {
372
+ this_obj.text(button_text);
373
+ alert(pp_ajax_form.deleting_error);
374
  }
375
 
376
+ if ('success' in data) {
377
+ if (data.default !== '') {
378
+ $("img[data-del='cover-image']").attr('src', data.default);
379
+ this_obj.parent().find('.profilepress-myaccount-has-cover-image').show();
380
+ this_obj.parent().find('.profilepress-myaccount-cover-image-empty').hide();
381
+ } else {
382
+ this_obj.parent().find('.profilepress-myaccount-has-cover-image').hide();
383
+ this_obj.parent().find('.profilepress-myaccount-cover-image-empty').show();
384
  }
385
 
386
+ this_obj.remove();
387
+ }
388
+ });
 
 
 
 
 
 
 
 
 
 
389
 
390
+ }
391
+ };
392
 
393
+ this.get_melange_id = function ($scope) {
394
+ var melange_id = $('input.pp_melange_id', $scope).val();
395
+ return melange_id === undefined ? '' : melange_id;
396
+ };
397
 
398
+ this._add_processing_label = function (obj) {
399
+ var submit_btn = obj.find('input[data-pp-submit-label]');
400
+ submit_btn.attr({
401
+ 'value': submit_btn.data('pp-processing-label'),
402
+ 'disabled': 'disabled',
403
+ }).css("opacity", ".4");
404
+ };
405
 
406
+ this._remove_processing_label = function (obj) {
407
+ var submit_btn = obj.find('input[data-pp-submit-label]');
408
+ submit_btn.attr('value', submit_btn.data('pp-submit-label'));
409
+ submit_btn.attr({
410
+ 'value': submit_btn.data('pp-submit-label'),
411
+ // set to null to remove. See https://api.jquery.com/attr/#attr-attributeName-value
412
+ 'disabled': null,
413
+ }).css("opacity", "");
414
+ };
415
 
416
+ this._remove_status_notice = function () {
417
+ $('.profilepress-login-status,.pp-tab-status,.profilepress-edit-profile-success,.profilepress-edit-profile-status,.pp-reset-success,.profilepress-reset-status,.profilepress-reg-status').remove();
418
+ };
419
 
420
+ this.defaultUserProfileResponsive = function () {
421
 
422
+ $('.ppress-default-profile, .pp-member-directory, .ppress-checkout__form').each(function () {
423
 
424
+ var obj = $(this),
425
+ element_width = obj.width();
426
 
427
+ if (element_width <= 340) {
428
 
429
+ obj.removeClass('ppressui340');
430
+ obj.removeClass('ppressui500');
431
+ obj.removeClass('ppressui800');
432
+ obj.removeClass('ppressui768');
433
+ obj.removeClass('ppressui960');
434
 
435
+ obj.addClass('ppressui340');
436
 
437
+ } else if (element_width <= 500) {
438
 
439
+ obj.removeClass('ppressui340');
440
+ obj.removeClass('ppressui500');
441
+ obj.removeClass('ppressui768');
442
+ obj.removeClass('ppressui800');
443
+ obj.removeClass('ppressui960');
444
 
445
+ obj.addClass('ppressui500');
446
 
447
+ } else if (element_width <= 768) {
448
 
449
+ obj.removeClass('ppressui340');
450
+ obj.removeClass('ppressui500');
451
+ obj.removeClass('ppressui768');
452
+ obj.removeClass('ppressui800');
453
+ obj.removeClass('ppressui960');
454
 
455
+ obj.addClass('ppressui768');
456
 
457
+ } else if (element_width <= 800) {
458
 
459
+ obj.removeClass('ppressui340');
460
+ obj.removeClass('ppressui500');
461
+ obj.removeClass('ppressui768');
462
+ obj.removeClass('ppressui800');
463
+ obj.removeClass('ppressui960');
464
 
465
+ obj.addClass('ppressui800');
466
 
467
+ } else if (element_width <= 960) {
468
 
469
+ obj.removeClass('ppressui340');
470
+ obj.removeClass('ppressui500');
471
+ obj.removeClass('ppressui768');
472
+ obj.removeClass('ppressui800');
473
+ obj.removeClass('ppressui960');
474
 
475
+ obj.addClass('ppressui960');
 
476
 
477
+ } else if (element_width > 960) {
478
 
479
+ obj.removeClass('ppressui340');
480
+ obj.removeClass('ppressui500');
481
+ obj.removeClass('ppressui768');
482
+ obj.removeClass('ppressui800');
483
+ obj.removeClass('ppressui960');
484
+ }
485
 
486
+ obj.css('opacity', 1);
487
+ });
488
+
489
+ $('.ppress-default-profile-cover, .ppress-default-profile-cover-e').each(function () {
490
+
491
+ var elem = $(this),
492
+ calcHeight = Math.round(elem.width() / elem.data('ratio')) + 'px';
493
+
494
+ elem.height(calcHeight);
495
+ elem.find('.ppress-dpf-cover-add').height(calcHeight);
496
+ });
497
+ };
498
+ }
499
 
500
+ (new Frontend()).init();
501
 
502
+ (new Checkout()).init();
assets/js/frontend.min.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";!function($,e,t){(new function(){var a=this;this.init=function(){e.ppFormRecaptchaLoadCallback=this.recaptcha_processing,$(".pp-del-profile-avatar").click(this.delete_avatar),$(".pp-del-cover-image").click(this.delete_profile_image_cover),$(document).on("click",".has-password-visibility-icon .pp-form-material-icons",this.toggle_password_visibility),$(document.body).on("click","a.showlogin",(function(){$(".pp_wc_login").slideToggle()})),$(e).on("load resize",(function(){a.defaultUserProfileResponsive()})),"true"!==pp_ajax_form.disable_ajax_form&&($(document).on("submit",'form[data-pp-form-submit="login"]',this.ajax_login),$(document).on("submit",'form[data-pp-form-submit="signup"]',this.ajax_registration),$(document).on("submit",'form[data-pp-form-submit="passwordreset"]',this.ajax_password_reset),$(document).on("submit",'form[data-pp-form-submit="editprofile"]',this.ajax_edit_profile))},this.recaptcha_processing=function(){$(".pp-g-recaptcha").each((function(e,t){var s=$(t).attr("data-sitekey"),r=$(this).parents(".pp-form-container").find("form");if("v3"===$(t).attr("data-type"))r.find("input.pp-submit-form").on("click",(function(e){e.preventDefault(),a._add_processing_label(r),grecaptcha.ready((function(){grecaptcha.execute(s,{action:"form"}).then((function(e){r.find('[name="g-recaptcha-response"]').remove(),r.append($("<input>",{type:"hidden",value:e,name:"g-recaptcha-response"})),r.submit()}))}))}));else{var i=grecaptcha.render(t,{sitekey:s,theme:$(t).attr("data-theme"),size:$(t).attr("data-size")});r.on("pp_form_submitted",(function(){grecaptcha.reset(i)}))}}))},this.reset_form=function(e){e.find("input:text, input:password, input:file, select, textarea").val(""),e.find("input:radio, input:checkbox").removeAttr("checked").removeAttr("selected")},this.toggle_password_visibility=function(e){e.preventDefault();var t=$(this).parents(".pp-form-field-input-textarea-wrap").find(".pp-form-field");"password"===t.attr("type")?(t.attr("type","text"),$(this).text("visibility_off")):(t.attr("type","password"),$(this).text("visibility"))},this.ajax_edit_profile=function(t){if(void 0!==e.FormData&&e.FormData){t.preventDefault();var s=$('form[data-pp-form-submit="editprofile"]'),r=a.get_melange_id(s),i=new FormData(this);i.append("action","pp_ajax_editprofile"),i.append("nonce",pp_ajax_form.nonce),i.append("melange_id",r),$(".profilepress-edit-profile-status").remove(),$(".profilepress-edit-profile-success").remove(),""!==e.edit_profile_msg_class&&$("."+e.edit_profile_msg_class).remove(),a._add_processing_label(s),$.post({url:pp_ajax_form.ajaxurl,data:i,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(t){s.trigger("pp_form_submitted"),s.trigger("pp_form_edit_profile_success",[s]),"avatar_url"in t&&""!==t.avatar_url&&($("img[data-del='avatar'], img.pp-user-avatar").attr("src",t.avatar_url),$("input[name=eup_avatar]",s).val("")),"cover_image_url"in t&&""!==t.cover_image_url&&($("img[data-del='cover-image'], img.pp-user-cover-image").attr("src",t.cover_image_url),$("input[name=eup_cover_image]",s).val(""),$(".profilepress-myaccount-has-cover-image",s).show(),$(".profilepress-myaccount-cover-image-empty",s).hide()),"message"in t&&(e.edit_profile_msg_class=$(t.message).attr("class"),s.before(t.message)),"redirect"in t&&(s.trigger("pp_edit_profile_success_before_redirect"),e.location.assign(t.redirect)),a._remove_processing_label(s)}},"json")}},this.ajax_password_reset=function(e){e.preventDefault();var t=$(this),s=a.get_melange_id(t),r="true"===t.find('input[name="is-pp-tab-widget"]').val(),i={action:"pp_ajax_passwordreset",data:$(this).serialize()+"&melange_id="+s};a._remove_status_notice(),t.parents(".pp-tab-widget-form").prev(".pp-tab-status").remove(),a._add_processing_label(t),$.post(pp_ajax_form.ajaxurl,i,(function(e){if(t.trigger("pp_form_submitted"),"object"!=typeof e)return a._remove_processing_label(t);if("message"in e){if(t.trigger("pp_password_reset_status"),r){var s=e.message.replace("profilepress-reset-status","pp-tab-status");t.parents(".pp-tab-widget-form").before(s)}else t.parents(".lucidContainer").length>0?t.parents(".lucidContainer").before(e.message):t.before(e.message);"status"in e&&!0===e.status&&t.hide(),$('input[name="user_login"]',t).val("")}a._remove_processing_label(t)}),"json")},this.ajax_registration=function(t){if(void 0!==e.FormData&&e.FormData){t.preventDefault();var s=$(this),r=a.get_melange_id(s),i=new FormData(this),p="true"===s.find('input[name="is-pp-tab-widget"]').val();i.append("action","pp_ajax_signup"),i.append("melange_id",r),a._remove_status_notice(),s.parents(".pp-tab-widget-form").prev(".pp-tab-status").remove(),a._add_processing_label(s),$.post({url:pp_ajax_form.ajaxurl,data:i,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(t){if(s.trigger("pp_form_submitted"),"object"!=typeof t)return a._remove_processing_label(s);if("message"in t){if(s.trigger("pp_registration_error",[t]),s.trigger("pp_registration_ajax_response",[t]),p){var r=t.message.replace("profilepress-reg-status","pp-tab-status");s.parents(".pp-tab-widget-form").before(r)}else s.parents(".lucidContainer").length>0?s.parents(".lucidContainer").before(t.message):s.before(t.message);a.reset_form(s)}else"redirect"in t&&(s.trigger("pp_registration_success",[t]),e.location.assign(t.redirect));a._remove_processing_label(s)}})}},this.ajax_login=function(t){t.preventDefault();var s=$(this),r={action:"pp_ajax_login",data:$(this).serialize()},i="true"===s.find('input[name="is-pp-tab-widget"]').val();a._remove_status_notice(),a._add_processing_label(s),$.post(pp_ajax_form.ajaxurl,r,(function(t){if(s.trigger("pp_form_submitted"),null===t||"object"!=typeof t)return a._remove_processing_label(s);if("success"in t&&!0===t.success&&"redirect"in t)s.trigger("pp_login_form_success"),e.location.assign(t.redirect);else if(s.trigger("pp_login_form_error"),"code"in t&&"pp2fa_auth_code_invalid"==t.code&&s.find(".pp-2fa").show(),i){var r=t.message.replace("profilepress-login-status","pp-tab-status");s.parents(".pp-tab-widget-form").before(r)}else s.parents(".lucidContainer").length>0?s.parents(".lucidContainer").before(t.message):s.before(t.message);a._remove_processing_label(s)}),"json")},this.delete_avatar=function(e){e.preventDefault();var t=$(this).text(),a=$(this);e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(a.is("button")&&a.text(pp_ajax_form.deleting_text),$.post(pp_ajax_form.ajaxurl,{action:"pp_del_avatar",nonce:pp_ajax_form.nonce}).done((function(e){"error"in e&&"nonce_failed"===e.error?(a.text(t),alert(pp_ajax_form.deleting_error)):"success"in e&&($("img[data-del='avatar']").attr("src",e.default),a.remove())})))},this.delete_profile_image_cover=function(e){e.preventDefault();var t=$(this).text(),a=$(this);e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(a.is("button")&&a.text(pp_ajax_form.deleting_text),$.post(pp_ajax_form.ajaxurl,{action:"pp_del_cover_image",nonce:pp_ajax_form.nonce}).done((function(e){"error"in e&&"nonce_failed"===e.error&&(a.text(t),alert(pp_ajax_form.deleting_error)),"success"in e&&(""!==e.default?($("img[data-del='cover-image']").attr("src",e.default),a.parent().find(".profilepress-myaccount-has-cover-image").show(),a.parent().find(".profilepress-myaccount-cover-image-empty").hide()):(a.parent().find(".profilepress-myaccount-has-cover-image").hide(),a.parent().find(".profilepress-myaccount-cover-image-empty").show()),a.remove())})))},this.get_melange_id=function(e){var a=$("input.pp_melange_id",e).val();return a===t?"":a},this._add_processing_label=function(e){var t=e.find("input[data-pp-submit-label]");t.attr({value:t.data("pp-processing-label"),disabled:"disabled"}).css("opacity",".4")},this._remove_processing_label=function(e){var t=e.find("input[data-pp-submit-label]");t.attr("value",t.data("pp-submit-label")),t.attr({value:t.data("pp-submit-label"),disabled:null}).css("opacity","")},this._remove_status_notice=function(){$(".profilepress-login-status,.pp-tab-status,.profilepress-edit-profile-success,.profilepress-edit-profile-status,.pp-reset-success,.profilepress-reset-status,.profilepress-reg-status").remove()},this.defaultUserProfileResponsive=function(){$(".ppress-default-profile, .pp-member-directory").each((function(){var e=$(this),t=e.width();t<=340?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui340")):t<=500?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui500")):t<=800?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui800")):t<=960?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui960")):t>960&&(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui800"),e.removeClass("ppressui960")),e.css("opacity",1)})),$(".ppress-default-profile-cover, .ppress-default-profile-cover-e").each((function(){var e=$(this),t=Math.round(e.width()/e.data("ratio"))+"px";e.height(t),e.find(".ppress-dpf-cover-add").height(t)}))}}).init()}(jQuery,window,void 0)}();
1
+ !function($){"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=e(jQuery);(new function(){var e=this;this.init=function(){window.ppFormRecaptchaLoadCallback=this.recaptcha_processing,t.default(".pp-del-profile-avatar").click(this.delete_avatar),t.default(".pp-del-cover-image").click(this.delete_profile_image_cover),t.default(document).on("click",".has-password-visibility-icon .pp-form-material-icons",this.toggle_password_visibility),t.default(document.body).on("click","a.showlogin",(function(){t.default(".pp_wc_login").slideToggle()})),t.default(window).on("load resize",(function(){e.defaultUserProfileResponsive()})),"true"!==pp_ajax_form.disable_ajax_form&&(t.default(document).on("submit",'form[data-pp-form-submit="login"]',this.ajax_login),t.default(document).on("submit",'form[data-pp-form-submit="signup"]',this.ajax_registration),t.default(document).on("submit",'form[data-pp-form-submit="passwordreset"]',this.ajax_password_reset),t.default(document).on("submit",'form[data-pp-form-submit="editprofile"]',this.ajax_edit_profile),t.default(".ppress-confirm-delete").click((function(e){e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(window.location.href=t.default(this).attr("href"))})))},this.recaptcha_processing=function(){t.default(".pp-g-recaptcha").each((function(s,a){var r=t.default(a).attr("data-sitekey"),p=t.default(this).parents(".pp-form-container").find("form");if("v3"===t.default(a).attr("data-type"))p.find("input.pp-submit-form").on("click",(function(s){s.preventDefault(),e._add_processing_label(p),grecaptcha.ready((function(){grecaptcha.execute(r,{action:"form"}).then((function(e){p.find('[name="g-recaptcha-response"]').remove(),p.append(t.default("<input>",{type:"hidden",value:e,name:"g-recaptcha-response"})),p.submit()}))}))}));else{var o=grecaptcha.render(a,{sitekey:r,theme:t.default(a).attr("data-theme"),size:t.default(a).attr("data-size")});p.on("pp_form_submitted",(function(){grecaptcha.reset(o)}))}}))},this.toggle_password_visibility=function(e){e.preventDefault();var s=t.default(this).parents(".pp-form-field-input-textarea-wrap").find(".pp-form-field");"password"===s.attr("type")?(s.attr("type","text"),t.default(this).text("visibility_off")):(s.attr("type","password"),t.default(this).text("visibility"))},this.ajax_edit_profile=function(s){if(void 0!==window.FormData&&window.FormData){s.preventDefault();var a=t.default('form[data-pp-form-submit="editprofile"]'),r=e.get_melange_id(a),p=new FormData(this);p.append("action","pp_ajax_editprofile"),p.append("nonce",pp_ajax_form.nonce),p.append("melange_id",r),t.default(".profilepress-edit-profile-status").remove(),t.default(".profilepress-edit-profile-success").remove(),""!==window.edit_profile_msg_class&&t.default("."+window.edit_profile_msg_class).remove(),e._add_processing_label(a),t.default.post({url:pp_ajax_form.ajaxurl,data:p,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(s){a.trigger("pp_form_submitted"),a.trigger("pp_form_edit_profile_success",[a]),"avatar_url"in s&&""!==s.avatar_url&&(t.default("img[data-del='avatar'], img.pp-user-avatar").attr("src",s.avatar_url),t.default("input[name=eup_avatar]",a).val("")),"cover_image_url"in s&&""!==s.cover_image_url&&(t.default("img[data-del='cover-image'], img.pp-user-cover-image").attr("src",s.cover_image_url),t.default("input[name=eup_cover_image]",a).val(""),t.default(".profilepress-myaccount-has-cover-image",a).show(),t.default(".profilepress-myaccount-cover-image-empty",a).hide()),"message"in s&&(window.edit_profile_msg_class=t.default(s.message).attr("class"),a.before(s.message)),"redirect"in s&&(a.trigger("pp_edit_profile_success_before_redirect"),window.location.assign(s.redirect)),e._remove_processing_label(a)}},"json")}},this.ajax_password_reset=function(s){s.preventDefault();var a=t.default(this),r=e.get_melange_id(a),p="true"===a.find('input[name="is-pp-tab-widget"]').val(),o={action:"pp_ajax_passwordreset",data:t.default(this).serialize()+"&melange_id="+r};e._remove_status_notice(),a.parents(".pp-tab-widget-form").prev(".pp-tab-status").remove(),e._add_processing_label(a),t.default.post(pp_ajax_form.ajaxurl,o,(function(s){if(a.trigger("pp_form_submitted"),"object"!=typeof s)return e._remove_processing_label(a);if("message"in s){if(a.trigger("pp_password_reset_status"),p){var r=s.message.replace("profilepress-reset-status","pp-tab-status");a.parents(".pp-tab-widget-form").before(r)}else a.parents(".lucidContainer").length>0?a.parents(".lucidContainer").before(s.message):a.before(s.message);"status"in s&&!0===s.status&&a.hide(),t.default('input[name="user_login"]',a).val("")}e._remove_processing_label(a)}),"json")},this.ajax_registration=function(s){if(void 0!==window.FormData&&window.FormData){s.preventDefault();var a=t.default(this),r=e.get_melange_id(a),p=new FormData(this),o="true"===a.find('input[name="is-pp-tab-widget"]').val();p.append("action","pp_ajax_signup"),p.append("melange_id",r),e._remove_status_notice(),a.parents(".pp-tab-widget-form").prev(".pp-tab-status").remove(),e._add_processing_label(a),t.default.post({url:pp_ajax_form.ajaxurl,data:p,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(t){if(a.trigger("pp_form_submitted"),"object"!=typeof t)return e._remove_processing_label(a);if("message"in t)if(a.trigger("pp_registration_error",[t]),a.trigger("pp_registration_ajax_response",[t]),o){var s=t.message.replace("profilepress-reg-status","pp-tab-status");a.parents(".pp-tab-widget-form").before(s)}else a.parents(".lucidContainer").length>0?a.parents(".lucidContainer").before(t.message):a.before(t.message);else"redirect"in t&&(a.trigger("pp_registration_success",[t]),window.location.assign(t.redirect));e._remove_processing_label(a)}})}},this.ajax_login=function(s){s.preventDefault();var a=t.default(this),r={action:"pp_ajax_login",data:t.default(this).serialize()},p="true"===a.find('input[name="is-pp-tab-widget"]').val();e._remove_status_notice(),e._add_processing_label(a),t.default.post(pp_ajax_form.ajaxurl,r,(function(t){if(a.trigger("pp_form_submitted"),null===t||"object"!=typeof t)return e._remove_processing_label(a);if("success"in t&&!0===t.success&&"redirect"in t)a.trigger("pp_login_form_success"),window.location.assign(t.redirect);else if(a.trigger("pp_login_form_error"),"code"in t&&"pp2fa_auth_code_invalid"==t.code&&a.find(".pp-2fa").show(),p){var s=t.message.replace("profilepress-login-status","pp-tab-status");a.parents(".pp-tab-widget-form").before(s)}else a.parents(".lucidContainer").length>0?a.parents(".lucidContainer").before(t.message):a.before(t.message);e._remove_processing_label(a)}),"json")},this.delete_avatar=function(e){e.preventDefault();var s=t.default(this).text(),a=t.default(this);e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(a.is("button")&&a.text(pp_ajax_form.deleting_text),t.default.post(pp_ajax_form.ajaxurl,{action:"pp_del_avatar",nonce:pp_ajax_form.nonce}).done((function(e){"error"in e&&"nonce_failed"===e.error?(a.text(s),alert(pp_ajax_form.deleting_error)):"success"in e&&(t.default("img[data-del='avatar']").attr("src",e.default),a.remove())})))},this.delete_profile_image_cover=function(e){e.preventDefault();var s=t.default(this).text(),a=t.default(this);e.preventDefault(),confirm(pp_ajax_form.confirm_delete)&&(a.is("button")&&a.text(pp_ajax_form.deleting_text),t.default.post(pp_ajax_form.ajaxurl,{action:"pp_del_cover_image",nonce:pp_ajax_form.nonce}).done((function(e){"error"in e&&"nonce_failed"===e.error&&(a.text(s),alert(pp_ajax_form.deleting_error)),"success"in e&&(""!==e.default?(t.default("img[data-del='cover-image']").attr("src",e.default),a.parent().find(".profilepress-myaccount-has-cover-image").show(),a.parent().find(".profilepress-myaccount-cover-image-empty").hide()):(a.parent().find(".profilepress-myaccount-has-cover-image").hide(),a.parent().find(".profilepress-myaccount-cover-image-empty").show()),a.remove())})))},this.get_melange_id=function(e){var s=t.default("input.pp_melange_id",e).val();return void 0===s?"":s},this._add_processing_label=function(e){var t=e.find("input[data-pp-submit-label]");t.attr({value:t.data("pp-processing-label"),disabled:"disabled"}).css("opacity",".4")},this._remove_processing_label=function(e){var t=e.find("input[data-pp-submit-label]");t.attr("value",t.data("pp-submit-label")),t.attr({value:t.data("pp-submit-label"),disabled:null}).css("opacity","")},this._remove_status_notice=function(){t.default(".profilepress-login-status,.pp-tab-status,.profilepress-edit-profile-success,.profilepress-edit-profile-status,.pp-reset-success,.profilepress-reset-status,.profilepress-reg-status").remove()},this.defaultUserProfileResponsive=function(){t.default(".ppress-default-profile, .pp-member-directory, .ppress-checkout__form").each((function(){var e=t.default(this),s=e.width();s<=340?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui800"),e.removeClass("ppressui768"),e.removeClass("ppressui960"),e.addClass("ppressui340")):s<=500?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui500")):s<=768?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui768")):s<=800?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui800")):s<=960?(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960"),e.addClass("ppressui960")):s>960&&(e.removeClass("ppressui340"),e.removeClass("ppressui500"),e.removeClass("ppressui768"),e.removeClass("ppressui800"),e.removeClass("ppressui960")),e.css("opacity",1)})),t.default(".ppress-default-profile-cover, .ppress-default-profile-cover-e").each((function(){var e=t.default(this),s=Math.round(e.width()/e.data("ratio"))+"px";e.height(s),e.find(".ppress-dpf-cover-add").height(s)}))}}).init(),(new function(){let e=this;window.ppressCheckoutForm=this,this.init=function(){"0"!==pp_ajax_form.is_checkout&&0!==t.default("#ppress_checkout_main_form").length&&(t.default(document).on("click",".ppress-checkout-show-login-form",this.toggle_login_form),t.default(document).on("click",'.ppress-login-submit-btn input[type="submit"]',this.process_login),t.default(document).on("click",".ppress-coupon-code-link",this.toggle_discount_code_reveal),t.default(document).on("click",".ppress-apply-discount-btn",this.apply_discount_code),t.default(document).on("click","#ppress-remove-applied-coupon",this.remove_applied_discount_code),t.default(document).on("submit","#ppress_mb_checkout_form",this.process_checkout),t.default(document).on("click",".ppress-terms-and-conditions-link",(function(e){var s=t.default(".ppress-checkout-form__terms_condition__content");s.length>0&&(e.preventDefault(),s.slideToggle())})),t.default(document).on("ppress_update_checkout",this.update_checkout),"1"===pp_ajax_form.is_checkout_tax_enabled?t.default(document).on("change","#ppress_mb_checkout_form .ppress_billing_country, #ppress_mb_checkout_form .ppress_billing_state, #ppress_mb_checkout_form .ppress_vat_number",e.debounce((function(){t.default(document.body).trigger("ppress_update_checkout")}),200)):t.default(document).on("change","#ppress_mb_checkout_form .ppress_billing_country",e.contextual_state_field),t.default(document.body).trigger("ppress_update_checkout"),t.default(document).ajaxError((function(){e.remove_spinner()})))},this.debounce=function(e,t){let s;return t=t||600,function(){clearTimeout(s),s=setTimeout((function(){e()}),t)}},this.contextual_state_field=function(){let e=t.default(".ppress_billing_state"),s={action:"ppress_contextual_state_field",country:t.default(this).val(),name:e.prop("name"),id:e.prop("id"),class:e.prop("class"),csrf:t.default("#ppress_checkout_nonce").val()};t.default.post(pp_ajax_form.ajaxurl,s,(function(t){e.replaceWith(t.data)}))},this.scroll_to_notices=function(e){(e=e||t.default(".ppress-checkout-alert")).length&&t.default("html, body").animate({scrollTop:e.offset().top-100},1e3)},this.update_checkout=function(){e.removeAllAlerts(),e.add_spinner();let s={action:"ppress_update_order_review",plan_id:t.default("#ppress-checkout-plan-id").val(),csrf:t.default("#ppress_checkout_nonce").val(),address:t.default(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_address").val(),city:t.default(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_city").val(),country:t.default(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_country").val(),state:t.default(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_state").val(),postcode:t.default(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_postcode").val(),phone:t.default(".ppress-checkout-form__payment_method.ppress-active .ppress_billing_phone").val(),vat_number:t.default("#ppress_checkout_main_form .ppress_vat_number").val(),post_data:t.default("#ppress_mb_checkout_form").serialize()};t.default.post(pp_ajax_form.ajaxurl,s,(function(a){let r={};if(t.default(".ppress-checkout-form__payment_method :input").each((function(){let e=t.default(this).attr("id");e&&(-1!==t.default.inArray(t.default(this).attr("type"),["checkbox","radio"])?r[e]=t.default(this).prop("checked"):r[e]=t.default(this).val())})),"data"in a&&void 0!==a.data.fragments&&(t.default.each(a.data.fragments,(function(s,a){e.fragments&&e.fragments[s]===a||t.default(s).replaceWith(a)})),e.fragments=s.fragments),t.default.isEmptyObject(r)||t.default(".ppress-checkout-form__payment_method :input").each((function(){let e=t.default(this).attr("id");e&&(-1!==t.default.inArray(t.default(this).attr("type"),["checkbox","radio"])?t.default(this).prop("checked",r[e]):(t.default.inArray(t.default(this).attr("type"),["select"]),t.default(this).val(r[e])))})),"success"in a&&!1===a.success){let e=t.default("#ppress_checkout_main_form");a.data&&e.prepend(a.data),e.find(".input-text, select, input:checkbox").trigger("blur")}t.default(document.body).trigger("ppress_updated_checkout",[a]);let p,o=t.default(".ppress-checkout_order_summary__bottom_details");(p=t.default(".ppress-checkout-alert")).length>0&&(o=p),e.scroll_to_notices(o),e.remove_spinner()}))},this.toggle_login_form=function(e){e.preventDefault(),t.default("#ppress_checkout_account_info .ppress-main-checkout-form__login_form_wrap").slideToggle()},this.toggle_discount_code_reveal=function(e){e.preventDefault(),t.default("#ppress-checkout-coupon-code-wrap").slideToggle()},this.apply_discount_code=function(s){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();let a={action:"ppress_checkout_apply_discount",plan_id:t.default("#ppress-checkout-plan-id").val(),coupon_code:t.default("#apply-discount").val(),ppress_checkout_nonce:t.default("#ppress_checkout_nonce").val()};t.default.post(pp_ajax_form.ajaxurl,a,(function(s){"success"in s&&!0===s.success?t.default(document.body).trigger("ppress_update_checkout"):(t.default(".ppress-checkout_order_summary-wrap").before(s.data),e.remove_spinner())}))},this.remove_applied_discount_code=function(s){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();let a={action:"ppress_checkout_remove_discount",plan_id:t.default("#ppress-checkout-plan-id").val(),ppress_checkout_nonce:t.default("#ppress_checkout_nonce").val()};t.default.post(pp_ajax_form.ajaxurl,a,(function(s){"success"in s&&!0===s.success?t.default(document.body).trigger("ppress_update_checkout"):(t.default(".ppress-checkout_order_summary-wrap").before(s.data),e.remove_spinner())}))},this.process_login=function(s){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();let a={action:"ppress_process_checkout_login",ppmb_user_login:t.default("#ppress_mb_checkout_form #ppmb_user_login").val(),ppmb_user_pass:t.default("#ppress_mb_checkout_form #ppmb_user_pass").val(),ppress_checkout_nonce:t.default("#ppress_checkout_nonce").val()};t.default.post(pp_ajax_form.ajaxurl,a,(function(s){"success"in s&&(!0===s.success?window.location.reload():"data"in s&&t.default("#ppress_mb_checkout_form .ppress-login-submit-btn").prepend(s.data)),e.remove_spinner()}))},this.process_checkout=function(s){if("function"!=typeof this.checkValidity||!1!==this.checkValidity()){s.preventDefault(),e.removeAllAlerts(),e.add_spinner();var a=t.default(this),r=e.get_payment_method();if(!1!==a.triggerHandler("ppress_checkout_place_order_"+r)){let s=new FormData(this);s.append("action","ppress_process_checkout"),s.append("ppress_checkout_nonce",t.default("#ppress_checkout_nonce").val()),t.default.post({url:pp_ajax_form.ajaxurl,data:s,cache:!1,contentType:!1,enctype:"multipart/form-data",processData:!1,dataType:"json",success:function(s){if("success"in s)return!0===s.success?void(!1!==a.triggerHandler("ppress_process_checkout_"+r,[s,r])&&("redirect_url"in s&&void 0!==s.redirect_url&&s.redirect_url.length>0?window.location.assign(s.redirect_url):(t.default(document.body).trigger("ppress_checkout_success",[s,r]),window.location.assign(s.order_success_url)))):"error_message"in s?e.createAlertMessage(s.error_message):"data"in s&&"string"==typeof s.data?e.createAlertMessage(s.data):void 0;e.remove_spinner()},error:function(t,s,a){e.createAlertMessage(a)}},"json")}}},this.get_payment_method=function(){return t.default("#ppress_mb_checkout_form").find('input[name="ppress_payment_method"]:checked').val()},this.createAlertMessage=function(e,s){s=s||"error";var a=void 0!==e.indexOf&&-1!==e.indexOf("ppress-checkout-alert"),r="";a||(r='<div class="ppress-checkout-alert ppress-'+s+'"><p>'),r+=e,a||(r+="</p></div>"),t.default("#ppress_checkout_main_form").prepend(r),ppressCheckoutForm.scroll_to_notices(),ppressCheckoutForm.remove_spinner(),t.default(document.body).trigger("ppress_checkout_error",[e])},this.removeAllAlerts=function(){t.default(".ppress-checkout-alert").remove()},this.add_spinner=function(){t.default(".ppress-checkout__form").prepend('<div class="ppress-checkout__form__preloader"><div class="ppress-checkout__form__spinner"></div></div>')},this.remove_spinner=function(){t.default(".ppress-checkout__form .ppress-checkout__form__preloader").remove()},this.is_var_defined=function(e){return null!=e}}).init()}();
assets/js/shortcakeui.js DELETED
@@ -1,9 +0,0 @@
1
- jQuery(document).ready(function ($) {
2
- $('.pp-insert-shortcake').click(function () {
3
- var wp_media_frame = wp.media.frames.wp_media_frame = wp.media({
4
- frame: "post",
5
- state: 'shortcode-ui'
6
- });
7
- wp_media_frame.open();
8
- });
9
- });
 
 
 
 
 
 
 
 
 
assets/js/stripe/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php namespace ProfilePress\Core\Classes;
2
+ //
assets/js/stripe/stripe.js ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* global ppress_stripe_vars */
2
+ /* global ppressCheckoutForm */
3
+ /* global pp_ajax_form */
4
+ (function ($) {
5
+
6
+ function PPressStripe() {
7
+
8
+ var _this = this,
9
+ cardElement = false,
10
+ $checkout_form = $('form#ppress_mb_checkout_form'),
11
+ stripe = Stripe(ppress_stripe_vars.publishable_key, {
12
+ 'locale': ppress_stripe_vars.locale
13
+ });
14
+
15
+ this.init = function () {
16
+
17
+ window.processCheckoutFlag = false;
18
+
19
+ $(document).on('ppress_updated_checkout', _this.mountCardElement);
20
+
21
+ $(document).on('ppress_update_checkout', _this.unmountCardElement);
22
+
23
+ $(document).on('click', '#ppress-checkout-button', function () {
24
+ window.processCheckoutFlag = true;
25
+ });
26
+
27
+ $checkout_form.on('ppress_checkout_place_order_stripe', _this.tokenRequest);
28
+
29
+ $checkout_form.on('ppress_process_checkout_stripe', _this.processCheckout);
30
+ };
31
+
32
+ this.mountCardElement = function () {
33
+
34
+ if ($('#ppress-stripe-card-element').length === 0) return;
35
+
36
+ cardElement = stripe.elements().create('card', ppress_stripe_vars.createCardOptions);
37
+
38
+ cardElement.mount('#ppress-stripe-card-element');
39
+ };
40
+
41
+ this.unmountCardElement = function () {
42
+
43
+ if ($('#ppress-stripe-card-element').length === 0) return;
44
+
45
+ if (typeof cardElement.unmount !== 'undefined') {
46
+ cardElement.destroy();
47
+ }
48
+ };
49
+
50
+ this.tokenRequest = function () {
51
+
52
+ if (window.processCheckoutFlag === true) {
53
+
54
+ $('#ppress_stripe_payment_method').remove();
55
+
56
+ stripe.createPaymentMethod({
57
+ type: 'card',
58
+ card: cardElement,
59
+ billing_details: {
60
+ name: $('#stripe-card_name').val(),
61
+ email: $('#ppmb_email').val(),
62
+ address: {
63
+ city: $('#stripe_ppress_billing_city').val(),
64
+ country: $('#stripe_ppress_billing_country').val(),
65
+ line1: $('#stripe_ppress_billing_address').val(),
66
+ postal_code: $('#stripe_ppress_billing_postcode').val(),
67
+ state: $('#stripe_ppress_billing_state').val(),
68
+ }
69
+ },
70
+ }).then(function (result) {
71
+
72
+ if ('error' in result && typeof result.error.message !== 'undefined') {
73
+ ppressCheckoutForm.createAlertMessage(result.error.message);
74
+ } else {
75
+
76
+ window.processCheckoutFlag = false;
77
+
78
+ $checkout_form.append('<input id="ppress_stripe_payment_method" type="hidden" name="ppress_stripe_payment_method" value="' + result.paymentMethod.id + '">');
79
+ $checkout_form.submit();
80
+ }
81
+ });
82
+
83
+ return false;
84
+ }
85
+ };
86
+
87
+ this.processCheckout = function (e, response, payment_method) {
88
+
89
+ if (ppressCheckoutForm.is_var_defined(response.gateway_response) === true) {
90
+
91
+ if (
92
+ (
93
+ // for subscription payments
94
+ ppressCheckoutForm.is_var_defined(response.gateway_response.latest_invoice) === true &&
95
+ ppressCheckoutForm.is_var_defined(response.gateway_response.latest_invoice.payment_intent) === true &&
96
+ ppressCheckoutForm.is_var_defined(response.gateway_response.latest_invoice.payment_intent.status) === true &&
97
+ response.gateway_response.latest_invoice.payment_intent.status === 'requires_action'
98
+ )
99
+ ||
100
+ (
101
+ // for one-time payments
102
+ ppressCheckoutForm.is_var_defined(response.gateway_response.status) === true &&
103
+ response.gateway_response.status === 'requires_action'
104
+ )
105
+ ) {
106
+
107
+ var client_secret;
108
+
109
+ if (ppressCheckoutForm.is_var_defined(response.gateway_response.client_secret)) {
110
+ client_secret = response.gateway_response.client_secret;
111
+ } else {
112
+ client_secret = response.gateway_response.latest_invoice.payment_intent.client_secret;
113
+ }
114
+
115
+ stripe.confirmCardPayment(client_secret).then(function (result) {
116
+
117
+ if (result.error) {
118
+ ppressCheckoutForm.createAlertMessage(result.error.message);
119
+ } else {
120
+
121
+ if (result.paymentIntent.status === 'succeeded') {
122
+
123
+ $(document.body).trigger('ppress_checkout_success', [response, payment_method]);
124
+
125
+ window.location.assign(response.order_success_url);
126
+ }
127
+ }
128
+ });
129
+
130
+ return false;
131
+ }
132
+ }
133
+ };
134
+ }
135
+
136
+ (new PPressStripe()).init();
137
+
138
+ })(jQuery);
assets/js/stripe/stripe.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function($){(new function(){var e=this,s=!1,t=$("form#ppress_mb_checkout_form"),r=Stripe(ppress_stripe_vars.publishable_key,{locale:ppress_stripe_vars.locale});this.init=function(){window.processCheckoutFlag=!1,$(document).on("ppress_updated_checkout",e.mountCardElement),$(document).on("ppress_update_checkout",e.unmountCardElement),$(document).on("click","#ppress-checkout-button",(function(){window.processCheckoutFlag=!0})),t.on("ppress_checkout_place_order_stripe",e.tokenRequest),t.on("ppress_process_checkout_stripe",e.processCheckout)},this.mountCardElement=function(){0!==$("#ppress-stripe-card-element").length&&(s=r.elements().create("card",ppress_stripe_vars.createCardOptions)).mount("#ppress-stripe-card-element")},this.unmountCardElement=function(){0!==$("#ppress-stripe-card-element").length&&void 0!==s.unmount&&s.destroy()},this.tokenRequest=function(){if(!0===window.processCheckoutFlag)return $("#ppress_stripe_payment_method").remove(),r.createPaymentMethod({type:"card",card:s,billing_details:{name:$("#stripe-card_name").val(),email:$("#ppmb_email").val(),address:{city:$("#stripe_ppress_billing_city").val(),country:$("#stripe_ppress_billing_country").val(),line1:$("#stripe_ppress_billing_address").val(),postal_code:$("#stripe_ppress_billing_postcode").val(),state:$("#stripe_ppress_billing_state").val()}}}).then((function(e){"error"in e&&void 0!==e.error.message?ppressCheckoutForm.createAlertMessage(e.error.message):(window.processCheckoutFlag=!1,t.append('<input id="ppress_stripe_payment_method" type="hidden" name="ppress_stripe_payment_method" value="'+e.paymentMethod.id+'">'),t.submit())})),!1},this.processCheckout=function(e,s,t){var n;if(!0===ppressCheckoutForm.is_var_defined(s.gateway_response)&&(!0===ppressCheckoutForm.is_var_defined(s.gateway_response.latest_invoice)&&!0===ppressCheckoutForm.is_var_defined(s.gateway_response.latest_invoice.payment_intent)&&!0===ppressCheckoutForm.is_var_defined(s.gateway_response.latest_invoice.payment_intent.status)&&"requires_action"===s.gateway_response.latest_invoice.payment_intent.status||!0===ppressCheckoutForm.is_var_defined(s.gateway_response.status)&&"requires_action"===s.gateway_response.status))return n=ppressCheckoutForm.is_var_defined(s.gateway_response.client_secret)?s.gateway_response.client_secret:s.gateway_response.latest_invoice.payment_intent.client_secret,r.confirmCardPayment(n).then((function(e){e.error?ppressCheckoutForm.createAlertMessage(e.error.message):"succeeded"===e.paymentIntent.status&&($(document.body).trigger("ppress_checkout_success",[s,t]),window.location.assign(s.order_success_url))})),!1}}).init()}(jQuery);
autoloader.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ spl_autoload_register(function ($class) {
4
+
5
+ // project-specific namespace prefix
6
+ $prefix = 'ProfilePress\\Core\\';
7
+
8
+ // base directory for the namespace prefix
9
+ $base_dir = __DIR__ . '/src/';
10
+
11
+ // does the class use the namespace prefix?
12
+ $len = strlen($prefix);
13
+ if (strncmp($prefix, $class, $len) !== 0) {
14
+ // no, move to the next registered autoloader
15
+ return;
16
+ }
17
+
18
+ // get the relative class name
19
+ $relative_class = substr($class, $len);
20
+
21
+ // replace the namespace prefix with the base directory, replace namespace
22
+ // separators with directory separators in the relative class name, append
23
+ // with .php
24
+ $file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
25
+
26
+ // if the file exists, require it
27
+ if (file_exists($file)) {
28
+ require $file;
29
+ }
30
+ });
31
+
32
+ require __DIR__ . "/src/Functions/custom-settings-api.php";
33
+ require __DIR__ . "/src/Functions/GlobalFunctions.php";
34
+ require __DIR__ . "/src/Functions/MSFunctions.php";
35
+ require __DIR__ . "/src/Functions/PPressBFnote.php";
changelog.txt CHANGED
@@ -1,10 +1,8 @@
1
  == Changelog ==
2
 
3
- = 3.2.16 =
4
- * Added unique classes to my account page - account details section.
5
- * Fixed bug with member directory search not working in some cases.
6
  * Fixed bug where upload field with data is still required.
7
- * Fixed XSS on member directory search field.
8
 
9
  = 3.2.15 =
10
  * Fixed bug where social icons where showing when disabled.
1
  == Changelog ==
2
 
3
+ = 4.0.0 =
4
+ * Added paid membership feature.
 
5
  * Fixed bug where upload field with data is still required.
 
6
 
7
  = 3.2.15 =
8
  * Fixed bug where social icons where showing when disabled.
languages/wp-user-avatar.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the ProfilePress package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: ProfilePress 3.2.16\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
- "POT-Creation-Date: 2022-07-21 19:21:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -23,7 +23,7 @@ msgid "Available Shortcodes"
23
  msgstr ""
24
 
25
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:81
26
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:207
27
  msgid "Check out MailOptin"
28
  msgstr ""
29
 
@@ -81,9 +81,10 @@ msgstr ""
81
 
82
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:243
83
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:79
84
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:283
85
- #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:98
86
- #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:117
 
87
  msgid "Remove"
88
  msgstr ""
89
 
@@ -140,17 +141,17 @@ msgid "Upload"
140
  msgstr ""
141
 
142
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:146
143
- #: src/RegisterScripts.php:73 src/RegisterScripts.php:128
144
  msgid "Are you sure?"
145
  msgstr ""
146
 
147
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:147
148
- #: src/RegisterScripts.php:74
149
  msgid "Deleting..."
150
  msgstr ""
151
 
152
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:148
153
- #: src/RegisterScripts.php:75
154
  msgid "An error occurred. Please try again."
155
  msgstr ""
156
 
@@ -241,6 +242,7 @@ msgid "Medium"
241
  msgstr ""
242
 
243
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:143
 
244
  msgid "Custom"
245
  msgstr ""
246
 
@@ -293,7 +295,7 @@ msgid "Image File"
293
  msgstr ""
294
 
295
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:167
296
- #: src/ContentProtection/views/view.access-condition.php:125
297
  msgid "Custom URL"
298
  msgstr ""
299
 
@@ -344,7 +346,7 @@ msgstr ""
344
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:78
345
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:131
346
  #: src/Classes/ImageUploader.php:49
347
- #: src/ShortcodeParser/MyAccount/MyAccountTag.php:529
348
  msgid "Profile Picture"
349
  msgstr ""
350
 
@@ -409,58 +411,63 @@ msgstr ""
409
  msgid "For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address."
410
  msgstr ""
411
 
 
 
 
 
412
  #: src/Admin/SettingsPages/AbstractSettingsPage.php:26
413
  msgid "ProfilePress - WordPress User Registration & Profile Plugin"
414
  msgstr ""
415
 
416
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:67
417
  msgid "Review"
418
  msgstr ""
419
 
420
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:71
421
  msgid "Support"
422
  msgstr ""
423
 
424
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:75
425
  msgid "Pro Upgrade"
426
  msgstr ""
427
 
428
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:79
429
  msgid "Docs"
430
  msgstr ""
431
 
432
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:203
433
  msgid "Need Support?"
434
  msgstr ""
435
 
436
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:232
437
  msgid "Whether you need help or have a new feature request, let us know. %sRequest Support%s"
438
  msgstr ""
439
 
440
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:240
441
  msgid "Detailed documentation is also available on the plugin website. %sView Knowledge Base%s"
442
  msgstr ""
443
 
444
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:248
445
  msgid "If you are enjoying ProfilePress and find it useful, please consider leaving a ★★★★★ review on WordPress.org. %sLeave a Review%s"
446
  msgstr ""
447
 
448
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:260
449
  msgid "Use the coupon code %s10PERCENTOFF%s to save %s off MailOptin."
450
  msgstr ""
451
 
452
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:275
453
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:292
454
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:162
455
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
456
- #: src/Admin/SettingsPages/GeneralSettings.php:292
457
- #: src/Functions/GlobalFunctions.php:1241
458
- #: src/Functions/GlobalFunctions.php:1269
459
  #: src/Functions/GlobalFunctions.php:1291
 
 
460
  msgid "Select..."
461
  msgstr ""
462
 
463
- #: src/Admin/SettingsPages/AbstractSettingsPage.php:310
464
  msgid "Custom URL Here"
465
  msgstr ""
466
 
@@ -490,7 +497,7 @@ msgstr ""
490
  msgid "Code your own from scratch with complete control and flexibility using shortcodes."
491
  msgstr ""
492
 
493
- #: src/Admin/SettingsPages/AddNewForm.php:65 src/Classes/AjaxHandler.php:116
494
  msgid "Build Now"
495
  msgstr ""
496
 
@@ -511,122 +518,125 @@ msgstr ""
511
  msgid "Thank you for using <a href=\"%1$s\" target=\"_blank\">ProfilePress</a>! Please <a href=\"%2$s\" target=\"_blank\">rate us ★★★★★</a> on <a href=\"%2$s\" target=\"_blank\">WordPress.org</a> to help us spread the word."
512
  msgstr ""
513
 
514
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:169
515
  msgid "Form title cannot empty"
516
  msgstr ""
517
 
518
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:188
519
  msgid "Changes saved"
520
  msgstr ""
521
 
522
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1175
523
  msgid "Select Icon"
524
  msgstr ""
525
 
526
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1203
527
- #: src/Functions/GlobalFunctions.php:1294
 
528
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:202
529
  msgid "Standard Fields"
530
  msgstr ""
531
 
532
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1204
533
  msgid "Extra Fields"
534
  msgstr ""
535
 
536
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1206
537
- #: src/Classes/ExtensionManager.php:55 src/Functions/GlobalFunctions.php:1297
 
538
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:216
539
  msgid "Custom Fields"
540
  msgstr ""
541
 
542
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1207
543
  msgid "WooCommerce Billing Address"
544
  msgstr ""
545
 
546
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1208
547
  msgid "WooCommerce Shipping Address"
548
  msgstr ""
549
 
550
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1231
551
  msgid "No custom field available. %sClick here to create one%s."
552
  msgstr ""
553
 
554
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1259
555
  msgid "Enter title here"
556
  msgstr ""
557
 
558
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1261
559
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1288
560
  #: src/Admin/SettingsPages/EmailSettings/CustomizerTrait.php:11
 
561
  #: src/AdminBarDashboardAccess/include.settings-page.php:54
562
  #: src/AdminBarDashboardAccess/include.settings-page.php:109
563
- #: src/Functions/custom-settings-api.php:1078
564
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:1039
565
  msgid "Save Changes"
566
  msgstr ""
567
 
568
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1266
569
  msgid "Copy this shortcode and paste it into your post, page, or text widget content:"
570
  msgstr ""
571
 
572
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1291
573
  msgid "Delete Form"
574
  msgstr ""
575
 
576
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1349
577
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1388
578
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1440
579
  msgid "Success Message"
580
  msgstr ""
581
 
582
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1355
583
  msgid "New User Role"
584
  msgstr ""
585
 
586
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1356
587
  msgid "Role users registered through this form will be assigned."
588
  msgstr ""
589
 
590
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1363
591
  msgid "Username Requirement"
592
  msgstr ""
593
 
594
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1364
595
  msgid "Check to disable username requirement"
596
  msgstr ""
597
 
598
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1365
599
  msgid "Disable requirement for users to enter a username during registration. Usernames will automatically be generated from their email addresses."
600
  msgstr ""
601
 
602
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1372
603
- #: src/Admin/SettingsPages/GeneralSettings.php:178
604
  msgid "Registration Settings"
605
  msgstr ""
606
 
607
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1395
608
  msgid "Edit Profile Settings"
609
  msgstr ""
610
 
611
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1413
612
- #: src/Classes/ExtensionManager.php:85
613
  msgid "Passwordless Login"
614
  msgstr ""
615
 
616
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1414
617
  msgid "Check to make this a passwordless login form."
618
  msgstr ""
619
 
620
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1424
621
- #: src/Admin/SettingsPages/GeneralSettings.php:192
622
  msgid "Login Settings"
623
  msgstr ""
624
 
625
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1447
626
  msgid "Password Reset Settings"
627
  msgstr ""
628
 
629
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1468
630
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/CheckboxList.php:35
631
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Country.php:35
632
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DefinedFieldTypes/Checkbox.php:50
@@ -640,42 +650,43 @@ msgstr ""
640
  msgid "Label"
641
  msgstr ""
642
 
643
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1474
644
  msgid "Processing Label"
645
  msgstr ""
646
 
647
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1481
648
  msgid "Submit Button"
649
  msgstr ""
650
 
651
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1488
652
  msgid "Appearance"
653
  msgstr ""
654
 
655
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1495
656
  msgid "Colors"
657
  msgstr ""
658
 
659
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1523
660
  #: src/Themes/DragDrop/AbstractBuildScratch.php:533
661
  #: src/Themes/DragDrop/Login/PerfectoLite.php:51
662
  #: src/Themes/DragDrop/Registration/PerfectoLite.php:53
663
  msgid "Text"
664
  msgstr ""
665
 
666
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1524
667
  msgid "Visual"
668
  msgstr ""
669
 
670
- #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1525
671
  msgid "Add Media"
672
  msgstr ""
673
 
674
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:87
675
  #: src/Admin/SettingsPages/GeneralSettings.php:19
676
- #: src/Admin/SettingsPages/GeneralSettings.php:56
677
- #: src/Admin/SettingsPages/GeneralSettings.php:81
678
- #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:28
 
679
  msgid "General"
680
  msgstr ""
681
 
@@ -685,9 +696,11 @@ msgstr ""
685
 
686
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:89
687
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:232
688
- #: src/Admin/SettingsPages/GeneralSettings.php:38
689
- #: src/Admin/SettingsPages/GeneralSettings.php:39
690
- #: src/Classes/Miscellaneous.php:20
 
 
691
  msgid "Settings"
692
  msgstr ""
693
 
@@ -696,6 +709,8 @@ msgid "Edit Field"
696
  msgstr ""
697
 
698
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:210
 
 
699
  msgid "Cancel"
700
  msgstr ""
701
 
@@ -704,11 +719,27 @@ msgid "Apply Changes"
704
  msgstr ""
705
 
706
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:235
707
- #: src/Admin/SettingsPages/FormList.php:239
708
- #: src/Admin/SettingsPages/FormList.php:315
709
- #: src/Admin/SettingsPages/GeneralSettings.php:169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
710
  #: src/ContentProtection/WPListTable.php:96
711
- #: src/ContentProtection/WPListTable.php:305
712
  #: src/ContentProtection/views/include.view-sidebar.php:12
713
  msgid "Delete"
714
  msgstr ""
@@ -719,7 +750,7 @@ msgstr ""
719
 
720
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Bio.php:22
721
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Bio.php:22
722
- #: src/Functions/GlobalFunctions.php:1281
723
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:211
724
  #: src/Themes/DragDrop/AbstractTheme.php:189
725
  msgid "Biography"
@@ -894,10 +925,12 @@ msgstr ""
894
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/CFPassword.php:22
895
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Login/Password.php:22
896
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Password.php:22
897
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:162
 
 
898
  #: src/Themes/DragDrop/AbstractTheme.php:165
899
  #: src/Themes/DragDrop/AbstractTheme.php:205 src/Widgets/TabbedWidget.php:144
900
- #: src/Widgets/TabbedWidget.php:172
901
  msgid "Password"
902
  msgstr ""
903
 
@@ -935,12 +968,16 @@ msgid "Confirm Email"
935
  msgstr ""
936
 
937
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/ConfirmPassword.php:22
938
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:188
 
939
  #: src/Themes/DragDrop/AbstractTheme.php:168
940
  msgid "Confirm Password"
941
  msgstr ""
942
 
943
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Country.php:22
 
 
 
944
  msgid "Country"
945
  msgstr ""
946
 
@@ -979,8 +1016,8 @@ msgstr ""
979
 
980
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DisplayName.php:22
981
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/DisplayName.php:22
982
- #: src/Functions/GlobalFunctions.php:1279
983
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:318
984
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:208
985
  #: src/Themes/DragDrop/AbstractTheme.php:180
986
  #: src/Themes/DragDrop/MemberDirectory/DefaultTemplate.php:115
@@ -1003,8 +1040,9 @@ msgstr ""
1003
 
1004
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Email.php:22
1005
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Email.php:22
1006
- #: src/Functions/GlobalFunctions.php:1280
1007
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:210
 
1008
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:206
1009
  #: src/Themes/DragDrop/AbstractTheme.php:162
1010
  #: src/Themes/DragDrop/AbstractTheme.php:221 src/Widgets/TabbedWidget.php:137
@@ -1013,8 +1051,9 @@ msgstr ""
1013
 
1014
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/FirstName.php:22
1015
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/FirstName.php:22
1016
- #: src/Functions/GlobalFunctions.php:1276
1017
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:350
 
1018
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:209
1019
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:479
1020
  #: src/Themes/DragDrop/AbstractTheme.php:183
@@ -1033,8 +1072,9 @@ msgstr ""
1033
 
1034
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/LastName.php:22
1035
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/LastName.php:22
1036
- #: src/Functions/GlobalFunctions.php:1277
1037
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:383
 
1038
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:210
1039
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:480
1040
  #: src/Themes/DragDrop/AbstractTheme.php:186
@@ -1056,6 +1096,7 @@ msgstr ""
1056
  #: src/ShortcodeParser/Builder/PasswordResetBuilder.php:35
1057
  #: src/Themes/DragDrop/AbstractTheme.php:202
1058
  #: src/Themes/DragDrop/AbstractTheme.php:213 src/Widgets/TabbedWidget.php:133
 
1059
  msgid "Username or Email"
1060
  msgstr ""
1061
 
@@ -1066,10 +1107,10 @@ msgstr ""
1066
 
1067
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Nickname.php:22
1068
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:22
1069
- #: src/Functions/GlobalFunctions.php:1278
1070
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:286
1071
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:300
1072
- #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:138
1073
  #: src/Themes/DragDrop/AbstractTheme.php:177
1074
  #: src/Themes/DragDrop/UserProfile/DefaultTemplate.php:107
1075
  msgid "Nickname"
@@ -1169,8 +1210,9 @@ msgstr ""
1169
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:30
1170
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:30
1171
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Website.php:30
1172
- #: src/Admin/SettingsPages/FormList.php:193
1173
  #: src/ContentProtection/WPListTable.php:28
 
1174
  #: src/Themes/DragDrop/AbstractBuildScratch.php:390
1175
  msgid "Title"
1176
  msgstr ""
@@ -1220,8 +1262,9 @@ msgstr ""
1220
 
1221
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:22
1222
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Username.php:22
1223
- #: src/Functions/GlobalFunctions.php:1275
1224
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:135
 
1225
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:481
1226
  #: src/Themes/DragDrop/AbstractTheme.php:159
1227
  #: src/Themes/DragDrop/AbstractTheme.php:218
@@ -1232,9 +1275,10 @@ msgstr ""
1232
 
1233
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Website.php:22
1234
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Website.php:22
1235
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:253
1236
- #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:267
1237
- #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:148
 
1238
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:207
1239
  #: src/Themes/DragDrop/AbstractTheme.php:174
1240
  #: src/Themes/DragDrop/AbstractTheme.php:230
@@ -1332,275 +1376,432 @@ msgstr ""
1332
  msgid "Footer"
1333
  msgstr ""
1334
 
1335
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:174
1336
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:215
1337
  msgid "© %s %s. All rights reserved."
1338
  msgstr ""
1339
 
1340
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:229
1341
  msgid "Background Color"
1342
  msgstr ""
1343
 
1344
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:240
1345
  msgid "Background Text Color"
1346
  msgstr ""
1347
 
1348
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:250
1349
  msgid "Content Background Color"
1350
  msgstr ""
1351
 
1352
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:261
 
 
 
 
1353
  msgid "Content Text Color"
1354
  msgstr ""
1355
 
1356
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:272
1357
  msgid "Logo"
1358
  msgstr ""
1359
 
1360
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:280
1361
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:285
1362
  msgid "Select Logo"
1363
  msgstr ""
1364
 
1365
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:281
1366
  msgid "Change Logo"
1367
  msgstr ""
1368
 
1369
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:282
1370
  #: src/ContentProtection/ContentConditions.php:276
1371
  msgid "Default"
1372
  msgstr ""
1373
 
1374
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:284
1375
  msgid "No logo selected"
1376
  msgstr ""
1377
 
1378
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:286
1379
  msgid "Choose Logo"
1380
  msgstr ""
1381
 
1382
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:293
1383
  #: src/Themes/DragDrop/UserProfile/DefaultTemplate.php:102
1384
  #: src/Themes/DragDrop/UserProfile/Dixon.php:32
1385
  #: src/Themes/DragDrop/UserProfile/Dixon.php:70
1386
  msgid "Header Text"
1387
  msgstr ""
1388
 
1389
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:294
1390
  msgid "This is used when template logo is not set."
1391
  msgstr ""
1392
 
1393
- #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:302
1394
  msgid "Footer Text"
1395
  msgstr ""
1396
 
1397
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:28
1398
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:135
1399
- #: src/Admin/SettingsPages/GeneralSettings.php:57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1400
  msgid "Emails"
1401
  msgstr ""
1402
 
1403
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:71
1404
  msgid "Account Welcome Email"
1405
  msgstr ""
1406
 
1407
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:72
1408
  #: src/Classes/WelcomeEmailAfterSignup.php:51
1409
  msgid "Welcome To %s"
1410
  msgstr ""
1411
 
1412
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:74
1413
  msgid "Email that is sent to the user upon successful registration."
1414
  msgstr ""
1415
 
1416
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:75
1417
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:93
1418
  msgid "Users"
1419
  msgstr ""
1420
 
1421
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:77
1422
  msgid "Username of the registered user."
1423
  msgstr ""
1424
 
1425
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:78
1426
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:96
1427
  msgid "Email address of the registered user."
1428
  msgstr ""
1429
 
1430
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:79
1431
  msgid "Password of the registered user."
1432
  msgstr ""
1433
 
1434
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:80
1435
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:97
 
1436
  msgid "Website title or name."
1437
  msgstr ""
1438
 
1439
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:81
1440
  msgid "First Name entered by user on registration."
1441
  msgstr ""
1442
 
1443
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:82
1444
  msgid "Last Name entered by user on registration."
1445
  msgstr ""
1446
 
1447
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:83
1448
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:98
 
1449
  msgid "URL to reset password."
1450
  msgstr ""
1451
 
1452
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:84
1453
- msgid "URL to login.."
 
1454
  msgstr ""
1455
 
1456
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:89
1457
  msgid "Password Reset Email"
1458
  msgstr ""
1459
 
1460
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:90
1461
- #: src/Classes/PasswordReset.php:24 src/RegisterActivation/Base.php:85
1462
  msgid "[%s] Password Reset"
1463
  msgstr ""
1464
 
1465
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:92
1466
  msgid "Email that is sent to the user upon password reset request."
1467
  msgstr ""
1468
 
1469
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:95
1470
  msgid "Username of user."
1471
  msgstr ""
1472
 
1473
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:103
1474
  msgid "New User Admin Notification"
1475
  msgstr ""
1476
 
1477
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:104
1478
- #: src/Functions/GlobalFunctions.php:727 src/RegisterActivation/Base.php:89
1479
  msgid "[%s] New User Registration"
1480
  msgstr ""
1481
 
1482
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:106
1483
- msgid "Email that is sent to admins when there is a new user registration"
1484
- msgstr ""
1485
-
1486
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:107
1487
- msgid "Administrators"
1488
  msgstr ""
1489
 
1490
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:109
1491
  msgid "Username of the newly registered user."
1492
  msgstr ""
1493
 
1494
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:110
1495
  msgid "Email address of the newly registered user."
1496
  msgstr ""
1497
 
1498
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:111
1499
  msgid "First name of the newly registered user."
1500
  msgstr ""
1501
 
1502
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:112
1503
  msgid "Last name of the newly registered user."
1504
  msgstr ""
1505
 
1506
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:113
1507
- msgid "Website name or name."
1508
- msgstr ""
1509
-
1510
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:115
1511
  msgid "Replace \"field_key\" with the %scustom field key%s or usermeta key."
1512
  msgstr ""
1513
 
1514
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:140
1515
- msgid "Admin Email Address(es)"
 
 
1516
  msgstr ""
1517
 
1518
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:141
1519
- msgid "The Email address to receive admin notifications. Use comma to separate multiple email addresses."
1520
  msgstr ""
1521
 
1522
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:146
1523
- msgid "Sender Name"
 
 
 
 
 
 
 
 
 
 
1524
  msgstr ""
1525
 
1526
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:147
1527
- msgid "The name to use as the sender of all ProfilePress emails. Preferably your website name."
1528
  msgstr ""
1529
 
1530
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:153
1531
- msgid "Sender Email Address"
 
1532
  msgstr ""
1533
 
1534
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:154
1535
- msgid "The email address to use as the sender of all ProfilePress emails."
1536
  msgstr ""
1537
 
1538
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:160
1539
- msgid "HTML"
1540
  msgstr ""
1541
 
1542
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:161
1543
- msgid "Plain Text"
 
1544
  msgstr ""
1545
 
1546
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:164
1547
- msgid "Content Type"
1548
  msgstr ""
1549
 
1550
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:165
1551
- msgid "Choose whether to send ProfilePress emails in HTML or plain text. HTML is recommended."
1552
  msgstr ""
1553
 
1554
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:170
1555
- msgid "Default Template"
 
1556
  msgstr ""
1557
 
1558
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:171
1559
- msgid "Custom Email Template"
1560
  msgstr ""
1561
 
1562
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:174
1563
- msgid "Email Template"
1564
  msgstr ""
1565
 
1566
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:175
1567
- msgid "Choose \"Custom Email Template\" if you want to code your own email template from scratch."
 
 
 
1568
  msgstr ""
1569
 
1570
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:182
1571
- msgid "Customize Default Template"
1572
  msgstr ""
1573
 
1574
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:225
1575
- msgid "Preview Email"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1576
  msgstr ""
1577
 
1578
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:246
1579
- msgid "Enable Notification"
1580
  msgstr ""
1581
 
1582
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:247
1583
- #: src/Admin/SettingsPages/GeneralSettings.php:370
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1584
  msgid "Enable"
1585
  msgstr ""
1586
 
1587
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:250
1588
  msgid "Check to enable this email notification."
1589
  msgstr ""
1590
 
1591
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:255
1592
  msgid "Subject Line"
1593
  msgstr ""
1594
 
1595
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:256
1596
  msgid "Enter the subject or title for the welcome message email."
1597
  msgstr ""
1598
 
1599
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:261
1600
  msgid "Message Body"
1601
  msgstr ""
1602
 
1603
- #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1604
  msgid "Available placeholders for subject and message body"
1605
  msgstr ""
1606
 
@@ -1609,6 +1810,7 @@ msgid "No email available."
1609
  msgstr ""
1610
 
1611
  #: src/Admin/SettingsPages/EmailSettings/WPListTable.php:29
 
1612
  #: src/Widgets/TabbedWidget.php:169
1613
  msgid "Email"
1614
  msgstr ""
@@ -1666,40 +1868,52 @@ msgstr ""
1666
  msgid "forms"
1667
  msgstr ""
1668
 
1669
- #: src/Admin/SettingsPages/FormList.php:178
1670
  msgid "No form is currently available. %sConsider creating one%s"
1671
  msgstr ""
1672
 
1673
- #: src/Admin/SettingsPages/FormList.php:194
1674
- #: src/Admin/SettingsPages/FormList.php:271
1675
  msgid "Shortcode"
1676
  msgstr ""
1677
 
1678
- #: src/Admin/SettingsPages/FormList.php:195
1679
  msgid "Builder Type"
1680
  msgstr ""
1681
 
1682
- #: src/Admin/SettingsPages/FormList.php:196
 
 
 
 
1683
  msgid "Date"
1684
  msgstr ""
1685
 
1686
- #: src/Admin/SettingsPages/FormList.php:238
 
 
 
 
 
 
 
1687
  #: src/ContentProtection/WPListTable.php:84
1688
  msgid "Edit"
1689
  msgstr ""
1690
 
1691
- #: src/Admin/SettingsPages/FormList.php:240
 
1692
  #: src/ContentProtection/WPListTable.php:85
1693
  msgid "Duplicate"
1694
  msgstr ""
1695
 
1696
- #: src/Admin/SettingsPages/FormList.php:242
1697
  #: src/Classes/FormPreviewHandler.php:45
1698
- #: src/Functions/custom-settings-api.php:857
1699
  msgid "Preview"
1700
  msgstr ""
1701
 
1702
- #: src/Admin/SettingsPages/FormList.php:273
1703
  msgid "Drag & Drop"
1704
  msgstr ""
1705
 
@@ -1728,9 +1942,9 @@ msgid "Filter by Type"
1728
  msgstr ""
1729
 
1730
  #: src/Admin/SettingsPages/Forms.php:114
1731
- #: src/Admin/SettingsPages/GeneralSettings.php:189
1732
- #: src/Admin/SettingsPages/GeneralSettings.php:305
1733
- #: src/Classes/AjaxHandler.php:54 src/NavigationMenuLinks/Backend.php:34
1734
  #: src/ShortcodeParser/Builder/GlobalShortcodes.php:243
1735
  #: src/Themes/DragDrop/AbstractBuildScratch.php:180
1736
  #: src/Widgets/TabbedWidget.php:113
@@ -1738,28 +1952,29 @@ msgid "Login"
1738
  msgstr ""
1739
 
1740
  #: src/Admin/SettingsPages/Forms.php:119
1741
- #: src/Admin/SettingsPages/GeneralSettings.php:175
1742
- #: src/Classes/AjaxHandler.php:59
1743
  msgid "Registration"
1744
  msgstr ""
1745
 
1746
  #: src/Admin/SettingsPages/Forms.php:125
1747
- #: src/Admin/SettingsPages/GeneralSettings.php:315
1748
- #: src/Classes/AjaxHandler.php:64
1749
  msgid "Password Reset"
1750
  msgstr ""
1751
 
1752
- #: src/Admin/SettingsPages/Forms.php:130 src/Classes/AjaxHandler.php:69
1753
- #: src/NavigationMenuLinks/Backend.php:32
 
1754
  #: src/ShortcodeParser/Builder/GlobalShortcodes.php:308
1755
  msgid "Edit Profile"
1756
  msgstr ""
1757
 
1758
- #: src/Admin/SettingsPages/Forms.php:137 src/Classes/AjaxHandler.php:75
1759
  msgid "Melange"
1760
  msgstr ""
1761
 
1762
- #: src/Admin/SettingsPages/Forms.php:145 src/Classes/AjaxHandler.php:82
1763
  msgid "User Profile"
1764
  msgstr ""
1765
 
@@ -1774,387 +1989,498 @@ msgstr ""
1774
 
1775
  #: src/Admin/SettingsPages/Forms.php:299
1776
  #: src/Admin/SettingsPages/MemberDirectories.php:211
 
1777
  msgid "Add New"
1778
  msgstr ""
1779
 
1780
- #: src/Admin/SettingsPages/GeneralSettings.php:61
1781
  msgid "Integrations"
1782
  msgstr ""
1783
 
1784
- #: src/Admin/SettingsPages/GeneralSettings.php:65
1785
  msgid "Premium Addons"
1786
  msgstr ""
1787
 
1788
- #: src/Admin/SettingsPages/GeneralSettings.php:82
1789
  #: src/Admin/SettingsPages/ToolsSettingsPage.php:18
1790
  #: src/Admin/SettingsPages/ToolsSettingsPage.php:61
1791
  msgid "Tools"
1792
  msgstr ""
1793
 
1794
- #: src/Admin/SettingsPages/GeneralSettings.php:108
1795
  msgid "My Account edit profile form (default)"
1796
  msgstr ""
1797
 
1798
- #: src/Admin/SettingsPages/GeneralSettings.php:111
1799
- #: src/Admin/SettingsPages/GeneralSettings.php:293
1800
  msgid "Currently viewed page"
1801
  msgstr ""
1802
 
1803
- #: src/Admin/SettingsPages/GeneralSettings.php:112
1804
  msgid "Previous/Referrer page (Pro feature)"
1805
  msgstr ""
1806
 
1807
- #: src/Admin/SettingsPages/GeneralSettings.php:113
1808
  msgid "WordPress Dashboard"
1809
  msgstr ""
1810
 
1811
- #: src/Admin/SettingsPages/GeneralSettings.php:117
1812
  msgid "Previous/Referrer page"
1813
  msgstr ""
1814
 
1815
- #: src/Admin/SettingsPages/GeneralSettings.php:122
1816
  msgid "Global"
1817
  msgstr ""
1818
 
1819
- #: src/Admin/SettingsPages/GeneralSettings.php:125
1820
  msgid "Global Settings"
1821
  msgstr ""
1822
 
1823
- #: src/Admin/SettingsPages/GeneralSettings.php:128
1824
- msgid "Password-reset Page"
1825
  msgstr ""
1826
 
1827
- #: src/Admin/SettingsPages/GeneralSettings.php:131
1828
- msgid "Select the page you wish to make WordPress default \"Lost Password page\". %3$s This should be the page that contains a %1$spassword reset form shortcode%2$s."
1829
  msgstr ""
1830
 
1831
- #: src/Admin/SettingsPages/GeneralSettings.php:136
1832
- msgid "Login Page"
1833
  msgstr ""
1834
 
1835
- #: src/Admin/SettingsPages/GeneralSettings.php:139
1836
- msgid "Select the page you wish to make WordPress default Login page. %3$s This should be the page that contains a %1$slogin form shortcode%2$s."
1837
  msgstr ""
1838
 
1839
- #: src/Admin/SettingsPages/GeneralSettings.php:144
1840
- #: src/Admin/SettingsPages/GeneralSettings.php:391
1841
- msgid "Registration Page"
1842
  msgstr ""
1843
 
1844
- #: src/Admin/SettingsPages/GeneralSettings.php:147
1845
- msgid "Select the page you wish to make WordPress default Registration page. %3$s This should be the page that contains a %1$sregistration form shortcode%2$s."
1846
  msgstr ""
1847
 
1848
- #: src/Admin/SettingsPages/GeneralSettings.php:152
1849
- msgid "My Account Page"
1850
  msgstr ""
1851
 
1852
- #: src/Admin/SettingsPages/GeneralSettings.php:155
1853
- msgid "Select a page that contains %3$s shortcode. You can also use an %1$sedit profile shortcode%2$s on the My Account page in case you want something custom."
1854
  msgstr ""
1855
 
1856
- #: src/Admin/SettingsPages/GeneralSettings.php:160
1857
- msgid "Disable Ajax Mode"
1858
  msgstr ""
1859
 
1860
- #: src/Admin/SettingsPages/GeneralSettings.php:162
1861
- msgid "Disable"
1862
  msgstr ""
1863
 
1864
- #: src/Admin/SettingsPages/GeneralSettings.php:163
1865
- msgid "Check this box to disable ajax behaviour(whereby forms do not require page reload when submitted) in forms."
1866
  msgstr ""
1867
 
1868
- #: src/Admin/SettingsPages/GeneralSettings.php:168
1869
- msgid "Remove Data on Uninstall"
 
1870
  msgstr ""
1871
 
1872
- #: src/Admin/SettingsPages/GeneralSettings.php:170
1873
- msgid "Check this box if you would like ProfilePress to completely remove all of its data when the plugin is deleted."
1874
  msgstr ""
1875
 
1876
- #: src/Admin/SettingsPages/GeneralSettings.php:181
1877
- msgid "Auto-login after registration"
1878
  msgstr ""
1879
 
1880
- #: src/Admin/SettingsPages/GeneralSettings.php:182
1881
- msgid "Enable auto-login"
1882
  msgstr ""
1883
 
1884
- #: src/Admin/SettingsPages/GeneralSettings.php:184
1885
- msgid "Check this option to automatically login users after successful registration."
1886
  msgstr ""
1887
 
1888
- #: src/Admin/SettingsPages/GeneralSettings.php:196
1889
- msgid "Email Address and Username (default)"
1890
  msgstr ""
1891
 
1892
- #: src/Admin/SettingsPages/GeneralSettings.php:197
1893
- msgid "Email Address Only"
1894
  msgstr ""
1895
 
1896
- #: src/Admin/SettingsPages/GeneralSettings.php:198
1897
- msgid "Username Only"
1898
  msgstr ""
1899
 
1900
- #: src/Admin/SettingsPages/GeneralSettings.php:201
1901
- msgid "Login with Email or Username"
1902
  msgstr ""
1903
 
1904
- #: src/Admin/SettingsPages/GeneralSettings.php:202
1905
- msgid "By default, WordPress allows users to log in using either an email address or username. This setting allows you to restrict logins to only accept email addresses or usernames."
1906
  msgstr ""
1907
 
1908
- #: src/Admin/SettingsPages/GeneralSettings.php:207
1909
- #: src/RegisterActivation/Base.php:167
1910
- msgid "My Account"
1911
  msgstr ""
1912
 
1913
- #: src/Admin/SettingsPages/GeneralSettings.php:208
1914
- msgid "My Account Settings"
1915
  msgstr ""
1916
 
1917
- #: src/Admin/SettingsPages/GeneralSettings.php:212
1918
- msgid "Redirect Default Edit Profile"
1919
  msgstr ""
1920
 
1921
- #: src/Admin/SettingsPages/GeneralSettings.php:213
1922
- #: src/ContentProtection/WPListTable.php:93
1923
- #: src/Functions/custom-settings-api.php:1008
1924
- msgid "Activate"
1925
  msgstr ""
1926
 
1927
- #: src/Admin/SettingsPages/GeneralSettings.php:216
1928
- msgid "Redirect <a target=\"_blank\" href=\"%s\">default WordPress profile</a> to My Account page."
1929
  msgstr ""
1930
 
1931
- #: src/Admin/SettingsPages/GeneralSettings.php:223
1932
- msgid "Edit Account Endpoint"
1933
  msgstr ""
1934
 
1935
- #: src/Admin/SettingsPages/GeneralSettings.php:224
1936
- msgid "Endpoint for the \"My Account Account Details\" page."
1937
  msgstr ""
1938
 
1939
- #: src/Admin/SettingsPages/GeneralSettings.php:229
1940
- msgid "Change Password Endpoint"
1941
  msgstr ""
1942
 
1943
- #: src/Admin/SettingsPages/GeneralSettings.php:230
1944
- msgid "Endpoint for the \"My Account Change Password\" page."
1945
  msgstr ""
1946
 
1947
- #: src/Admin/SettingsPages/GeneralSettings.php:235
1948
- msgid "Account Details Form"
1949
  msgstr ""
1950
 
1951
- #: src/Admin/SettingsPages/GeneralSettings.php:236
1952
- msgid "Do you want to replace the default form in \"My Account → Account Details\" page? select an Edit Profile form that will replace it."
1953
  msgstr ""
1954
 
1955
- #: src/Admin/SettingsPages/GeneralSettings.php:240
1956
- msgid "Frontend Profile"
1957
  msgstr ""
1958
 
1959
- #: src/Admin/SettingsPages/GeneralSettings.php:241
1960
- msgid "Frontend Profile Settings"
1961
  msgstr ""
1962
 
1963
- #: src/Admin/SettingsPages/GeneralSettings.php:245
1964
- msgid "Page with Profile Shortcode"
1965
  msgstr ""
1966
 
1967
  #: src/Admin/SettingsPages/GeneralSettings.php:247
1968
- msgid "Select the page that contains your <a href=\"%s\">Frontend user profile shortcode</a>."
 
 
 
 
1969
  msgstr ""
1970
 
1971
  #: src/Admin/SettingsPages/GeneralSettings.php:252
1972
- msgid "Profile Slug"
1973
  msgstr ""
1974
 
1975
  #: src/Admin/SettingsPages/GeneralSettings.php:253
1976
- msgid "Enter your preferred profile URL slug. Default to \"profile\" if empty. If slug is \"profile\", URL becomes %s where \"john\" is a user's username."
1977
  msgstr ""
1978
 
1979
- #: src/Admin/SettingsPages/GeneralSettings.php:257
1980
- msgid "Disable Guests from Viewing Profiles"
1981
  msgstr ""
1982
 
1983
- #: src/Admin/SettingsPages/GeneralSettings.php:258
1984
- msgid "Enable this option to stop disable guests or non-registered users from viewing users profiles."
1985
  msgstr ""
1986
 
1987
- #: src/Admin/SettingsPages/GeneralSettings.php:263
1988
- msgid "Disable Members from Viewing Profiles"
1989
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1990
 
1991
- #: src/Admin/SettingsPages/GeneralSettings.php:264
 
 
 
 
 
 
 
 
 
 
 
 
1992
  msgid "Enable this option to stop members from viewing other users profiles. If enabled, users can only see their own profile."
1993
  msgstr ""
1994
 
1995
- #: src/Admin/SettingsPages/GeneralSettings.php:269
1996
  msgid "Comment Author URL to Profile"
1997
  msgstr ""
1998
 
1999
- #: src/Admin/SettingsPages/GeneralSettings.php:270
2000
- #: src/Admin/SettingsPages/GeneralSettings.php:277
2001
  msgid "Enable option"
2002
  msgstr ""
2003
 
2004
- #: src/Admin/SettingsPages/GeneralSettings.php:272
2005
  msgid "Change URL of comment authors to their ProfilePress front-end profile."
2006
  msgstr ""
2007
 
2008
- #: src/Admin/SettingsPages/GeneralSettings.php:276
2009
  msgid "Authors Page to Profile"
2010
  msgstr ""
2011
 
2012
- #: src/Admin/SettingsPages/GeneralSettings.php:279
2013
  msgid "Change and redirect authors pages %s to their front-end profiles %s."
2014
  msgstr ""
2015
 
2016
- #: src/Admin/SettingsPages/GeneralSettings.php:284
2017
  msgid "Redirection"
2018
  msgstr ""
2019
 
2020
- #: src/Admin/SettingsPages/GeneralSettings.php:285
2021
  msgid "Redirection Settings"
2022
  msgstr ""
2023
 
2024
- #: src/Admin/SettingsPages/GeneralSettings.php:289
2025
  #: src/Widgets/TabbedWidget.php:224
2026
  msgid "Log out"
2027
  msgstr ""
2028
 
2029
- #: src/Admin/SettingsPages/GeneralSettings.php:298
2030
  msgid "Select the page users will be redirected to after logout. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description."
2031
  msgstr ""
2032
 
2033
- #: src/Admin/SettingsPages/GeneralSettings.php:299
2034
- #: src/Admin/SettingsPages/GeneralSettings.php:309
2035
- #: src/Admin/SettingsPages/GeneralSettings.php:326
2036
  msgid "Leave the \"custom URL\" field empty to fallback to the selected page."
2037
  msgstr ""
2038
 
2039
- #: src/Admin/SettingsPages/GeneralSettings.php:308
2040
  msgid "Select the page or custom URL users will be redirected to after login. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description"
2041
  msgstr ""
2042
 
2043
- #: src/Admin/SettingsPages/GeneralSettings.php:320
2044
  msgid "Default.."
2045
  msgstr ""
2046
 
2047
- #: src/Admin/SettingsPages/GeneralSettings.php:325
2048
  msgid "Select the page or custom URL users will be redirected to after they successfully reset or change their password. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description."
2049
  msgstr ""
2050
 
2051
- #: src/Admin/SettingsPages/GeneralSettings.php:332
2052
  #: src/ContentProtection/WPListTable.php:30
2053
  msgid "Access"
2054
  msgstr ""
2055
 
2056
- #: src/Admin/SettingsPages/GeneralSettings.php:333
2057
  msgid "Access Settings"
2058
  msgstr ""
2059
 
2060
- #: src/Admin/SettingsPages/GeneralSettings.php:339
2061
  msgid "%sNote:%s Access setting takes precedence over %sContent Protection rules%s."
2062
  msgstr ""
2063
 
2064
- #: src/Admin/SettingsPages/GeneralSettings.php:345
2065
  msgid "Global Site Access"
2066
  msgstr ""
2067
 
2068
- #: src/Admin/SettingsPages/GeneralSettings.php:347
2069
  msgid "Accessible to Everyone"
2070
  msgstr ""
2071
 
2072
- #: src/Admin/SettingsPages/GeneralSettings.php:348
2073
  msgid "Accessible to Logged-in Users"
2074
  msgstr ""
2075
 
2076
- #: src/Admin/SettingsPages/GeneralSettings.php:353
2077
  msgid "Redirect Page"
2078
  msgstr ""
2079
 
2080
- #: src/Admin/SettingsPages/GeneralSettings.php:355
2081
  msgid "Select the page or custom URL to redirect users that are not logged in to."
2082
  msgstr ""
2083
 
2084
- #: src/Admin/SettingsPages/GeneralSettings.php:359
2085
  msgid "Pages to Exclude"
2086
  msgstr ""
2087
 
2088
- #: src/Admin/SettingsPages/GeneralSettings.php:365
2089
  msgid "Select the pages to exclude beside the redirect page that will be accessible by everyone."
2090
  msgstr ""
2091
 
2092
- #: src/Admin/SettingsPages/GeneralSettings.php:371
2093
  msgid "Accessible Homepage"
2094
  msgstr ""
2095
 
2096
- #: src/Admin/SettingsPages/GeneralSettings.php:372
2097
  msgid "Check to allow homepage to be accessible by everyone."
2098
  msgstr ""
2099
 
2100
- #: src/Admin/SettingsPages/GeneralSettings.php:376
2101
- #: src/ContentProtection/Frontend/PostContent.php:64
 
2102
  msgid "You are unauthorized to view this page."
2103
  msgstr ""
2104
 
2105
- #: src/Admin/SettingsPages/GeneralSettings.php:377
2106
  msgid "Global Restricted Access Message"
2107
  msgstr ""
2108
 
2109
- #: src/Admin/SettingsPages/GeneralSettings.php:378
2110
  msgid "This is the message shown to users that do not have permission to view the content."
2111
  msgstr ""
2112
 
2113
- #: src/Admin/SettingsPages/GeneralSettings.php:385
2114
  msgid "BuddyPress"
2115
  msgstr ""
2116
 
2117
- #: src/Admin/SettingsPages/GeneralSettings.php:386
2118
  msgid "BuddyPress Settings"
2119
  msgstr ""
2120
 
2121
- #: src/Admin/SettingsPages/GeneralSettings.php:392
2122
- #: src/Admin/SettingsPages/GeneralSettings.php:399
2123
- #: src/Admin/SettingsPages/GeneralSettings.php:406
2124
- #: src/Admin/SettingsPages/GeneralSettings.php:422
2125
  msgid "Check to enable"
2126
  msgstr ""
2127
 
2128
- #: src/Admin/SettingsPages/GeneralSettings.php:393
2129
  msgid "Check to redirect BuddyPress registration page to your selected %s"
2130
  msgstr ""
2131
 
2132
- #: src/Admin/SettingsPages/GeneralSettings.php:397
2133
  msgid "Override Avatar"
2134
  msgstr ""
2135
 
2136
- #: src/Admin/SettingsPages/GeneralSettings.php:400
2137
  msgid "Check to override BuddyPress users uploaded avatars with that of ProfilePress."
2138
  msgstr ""
2139
 
2140
- #: src/Admin/SettingsPages/GeneralSettings.php:405
2141
- #: src/Admin/SettingsPages/GeneralSettings.php:421
2142
  msgid "Override Profile URL"
2143
  msgstr ""
2144
 
2145
- #: src/Admin/SettingsPages/GeneralSettings.php:407
2146
  msgid "Check to change the profile URL of BuddyPress users to ProfilePress front-end profile."
2147
  msgstr ""
2148
 
2149
- #: src/Admin/SettingsPages/GeneralSettings.php:415
2150
  msgid "bbPress"
2151
  msgstr ""
2152
 
2153
- #: src/Admin/SettingsPages/GeneralSettings.php:416
2154
  msgid "bbPress Settings"
2155
  msgstr ""
2156
 
2157
- #: src/Admin/SettingsPages/GeneralSettings.php:423
2158
  msgid "Check to change bbPress profile URL to ProfilePress front-end profile."
2159
  msgstr ""
2160
 
@@ -2349,1848 +2675,12143 @@ msgstr ""
2349
  msgid "No members directory is currently available. %sConsider creating one%s"
2350
  msgstr ""
2351
 
2352
- #: src/Admin/SettingsPages/ToolsSettingsPage.php:41
2353
- msgid "Logs"
2354
  msgstr ""
2355
 
2356
- #: src/Admin/SettingsPages/ToolsSettingsPage.php:44
2357
- msgid "Debug Error Log"
2358
  msgstr ""
2359
 
2360
- #: src/Admin/SettingsPages/ToolsSettingsPage.php:54
2361
- msgid "Delete Log"
2362
  msgstr ""
2363
 
2364
- #: src/AdminBarDashboardAccess/Init.php:32
2365
- msgid "Admin Bar & Dashboard"
2366
  msgstr ""
2367
 
2368
- #: src/AdminBarDashboardAccess/Init.php:41
2369
- #: src/AdminBarDashboardAccess/Init.php:58
2370
- msgid "Admin Bar & Dashboard Access"
2371
  msgstr ""
2372
 
2373
- #: src/AdminBarDashboardAccess/include.settings-page.php:19
2374
- msgid "Admin Bar Visibility Control"
2375
  msgstr ""
2376
 
2377
- #: src/AdminBarDashboardAccess/include.settings-page.php:26
2378
- msgid "Disable Admin Bar"
2379
  msgstr ""
2380
 
2381
- #: src/AdminBarDashboardAccess/include.settings-page.php:31
2382
- msgid "Check to disable admin bar."
2383
  msgstr ""
2384
 
2385
- #: src/AdminBarDashboardAccess/include.settings-page.php:37
2386
- msgid "Admin Bar Control"
 
2387
  msgstr ""
2388
 
2389
- #: src/AdminBarDashboardAccess/include.settings-page.php:47
2390
- msgid "Select the user roles that the admin bar will be disabled for. It will be disabled for everyone except admins if none is checked."
2391
  msgstr ""
2392
 
2393
- #: src/AdminBarDashboardAccess/include.settings-page.php:63
2394
- #: src/AdminBarDashboardAccess/include.settings-page.php:81
2395
- msgid "Dashboard Access Control"
2396
  msgstr ""
2397
 
2398
- #: src/AdminBarDashboardAccess/include.settings-page.php:70
2399
- msgid "Disable Dashboard Access"
 
 
 
 
2400
  msgstr ""
2401
 
2402
- #: src/AdminBarDashboardAccess/include.settings-page.php:75
2403
- msgid "Check to disable dashboard access for everyone."
2404
  msgstr ""
2405
 
2406
- #: src/AdminBarDashboardAccess/include.settings-page.php:91
2407
- msgid "Select the user roles that dashboard access will be disabled for. It will be disabled for everyone except admins if none is checked."
 
 
 
 
 
 
 
 
2408
  msgstr ""
2409
 
2410
- #: src/AdminBarDashboardAccess/include.settings-page.php:97
2411
- msgid "Dashboard Redirect URL"
 
 
2412
  msgstr ""
2413
 
2414
- #: src/AdminBarDashboardAccess/include.settings-page.php:102
2415
- msgid "Enter URL to redirect users to without dashboard access. If empty, users will be redirected to website homepage."
 
2416
  msgstr ""
2417
 
2418
- #: src/Classes/AdminNotices.php:100
2419
- msgid "Hey, I noticed you have been using ProfilePress for at least 7 days now - that's awesome! Could you please do us a BIG favor and give it a %1$s5-star rating on WordPress?%2$s This will help us spread the word and boost our motivation - thanks!"
 
 
 
 
2420
  msgstr ""
2421
 
2422
- #: src/Classes/AdminNotices.php:104
2423
- msgid "Sure! I'd love to give a review"
 
2424
  msgstr ""
2425
 
2426
- #: src/Classes/AdminNotices.php:106
2427
- msgid "Dismiss Forever"
 
 
 
2428
  msgstr ""
2429
 
2430
- #: src/Classes/AdminNotices.php:125
2431
- msgid "Change Permalink Structure"
 
 
2432
  msgstr ""
2433
 
2434
- #: src/Classes/AdminNotices.php:129
2435
- msgid "Your site permalink structure is currently set to <code>Plain</code>. This setting is not compatible with ProfilePress. Change your permalink structure to any other setting to avoid issues. We recommend <code>Post name</code>.</p><p>%s"
 
2436
  msgstr ""
2437
 
2438
- #: src/Classes/AdminNotices.php:151
2439
- msgid "Important news! %1$sWP User Avatar%2$s is now %1$sProfilePress%2$s. We added new features such as member directories, frontend user registration & login forms, user profile, content protection and more. %3$sCheck Them Out%5$s | %4$sDismiss Notice%5$s"
 
2440
  msgstr ""
2441
 
2442
- #: src/Classes/AdminNotices.php:170
2443
- msgid "ProfilePress needs to create several pages (User Profiles, My Account, Registration, Login, Password Reset, Member Directory) to function correctly."
 
2444
  msgstr ""
2445
 
2446
- #: src/Classes/AdminNotices.php:173
2447
- msgid "Create Pages"
 
 
2448
  msgstr ""
2449
 
2450
- #: src/Classes/AdminNotices.php:173
2451
- msgid "No Thanks"
2452
  msgstr ""
2453
 
2454
- #: src/Classes/AdminNotices.php:201
2455
- msgid "User registration currently disabled. To enable, Go to <a href=\"%1$s\">Settings -> General</a>, and under Membership, check \"Anyone can register\""
2456
  msgstr ""
2457
 
2458
- #: src/Classes/AjaxHandler.php:45
2459
- msgid "Melange is a way to combine login, registration & password reset forms in a single form."
 
 
 
 
 
 
2460
  msgstr ""
2461
 
2462
- #: src/Classes/AjaxHandler.php:49
2463
- msgid "Select Form Type"
2464
  msgstr ""
2465
 
2466
- #: src/Classes/AjaxHandler.php:50
2467
- msgid "Loading..."
2468
  msgstr ""
2469
 
2470
- #: src/Classes/AjaxHandler.php:101
2471
- msgid "Create from Scratch"
 
2472
  msgstr ""
2473
 
2474
- #: src/Classes/AjaxHandler.php:107
2475
- msgid "Do it Yourself"
 
 
2476
  msgstr ""
2477
 
2478
- #: src/Classes/AjaxHandler.php:110
2479
- msgid "Get Started Creating Your Own Form"
2480
  msgstr ""
2481
 
2482
- #: src/Classes/AjaxHandler.php:151
2483
- msgid "Select this template"
2484
  msgstr ""
2485
 
2486
- #: src/Classes/AjaxHandler.php:152
2487
- #: src/ContentProtection/ContentConditions.php:274
2488
- msgid "Select Template"
2489
  msgstr ""
2490
 
2491
- #: src/Classes/AjaxHandler.php:161
2492
- msgid "Enter a Name"
2493
  msgstr ""
2494
 
2495
- #: src/Classes/AjaxHandler.php:217 src/Classes/AjaxHandler.php:240
2496
- #: src/Classes/PasswordReset.php:360
2497
- msgid "Unexpected error. Please try again."
 
2498
  msgstr ""
2499
 
2500
- #: src/Classes/AjaxHandler.php:249
2501
- msgid "Form with similar name exist already."
 
 
 
 
2502
  msgstr ""
2503
 
2504
- #: src/Classes/AjaxHandler.php:532
2505
- msgid "Security validation failed. Try again"
 
 
 
 
2506
  msgstr ""
2507
 
2508
- #: src/Classes/EditUserProfile.php:28
2509
- #: src/ShortcodeParser/MyAccount/email-notifications.tmpl.php:18
2510
- msgid "Account was updated successfully."
 
 
2511
  msgstr ""
2512
 
2513
- #: src/Classes/EditUserProfile.php:124
2514
- msgid "Email address is invalid. Please try again"
 
 
 
2515
  msgstr ""
2516
 
2517
- #: src/Classes/EditUserProfile.php:128
2518
- msgid "Email address confirmation is invalid. Please try again"
2519
  msgstr ""
2520
 
2521
- #: src/Classes/EditUserProfile.php:132
2522
- msgid "Email addresses do not match. Please try again"
 
2523
  msgstr ""
2524
 
2525
- #: src/Classes/EditUserProfile.php:141 src/Classes/EditUserProfile.php:150
2526
- msgid "Password do not match. Please try again."
 
 
 
 
 
 
 
 
 
 
2527
  msgstr ""
2528
 
2529
- #: src/Classes/EditUserProfile.php:146
2530
- msgid "Password is empty or do not match. Please try again."
2531
  msgstr ""
2532
 
2533
- #: src/Classes/EditUserProfile.php:322
2534
- msgid "Something unexpected happened. Please try again"
2535
  msgstr ""
2536
 
2537
- #: src/Classes/ExtensionManager.php:57
2538
- msgid "Collect unlimited additional information from users besides the standard profile data."
2539
  msgstr ""
2540
 
2541
- #: src/Classes/ExtensionManager.php:61
2542
- msgid "Email Confirmation"
2543
  msgstr ""
2544
 
2545
- #: src/Classes/ExtensionManager.php:63
2546
- msgid "Ensure newly registered users confirm their email addresses before they can log in."
2547
  msgstr ""
2548
 
2549
- #: src/Classes/ExtensionManager.php:67
2550
- msgid "Two-Factor Authentication (2FA)"
2551
  msgstr ""
2552
 
2553
- #: src/Classes/ExtensionManager.php:69
2554
- msgid "Adds an additional layer of security to users accounts by requiring more than just a password to log in."
2555
  msgstr ""
2556
 
2557
- #: src/Classes/ExtensionManager.php:73
2558
- msgid "User Moderation"
2559
  msgstr ""
2560
 
2561
- #: src/Classes/ExtensionManager.php:75
2562
- msgid "Decide whether to approve newly registered users or not. You can also block and unblock users at any time."
2563
  msgstr ""
2564
 
2565
- #: src/Classes/ExtensionManager.php:79
2566
- msgid "Social Login"
2567
  msgstr ""
2568
 
2569
- #: src/Classes/ExtensionManager.php:81
2570
- msgid "Let users easily register/login to your site using their social network accounts (Facebook, Twitter, Google, LinkedIn, GitHub, VK)."
2571
  msgstr ""
2572
 
2573
- #: src/Classes/ExtensionManager.php:87
2574
- msgid "Let users log in to your website via a one-time URL sent to their email addresses."
2575
  msgstr ""
2576
 
2577
- #: src/Classes/ExtensionManager.php:91
2578
- msgid "Google reCAPTCHA"
2579
  msgstr ""
2580
 
2581
- #: src/Classes/ExtensionManager.php:93
2582
- msgid "Protect your forms against spam and bot attacks."
2583
  msgstr ""
2584
 
2585
- #: src/Classes/ExtensionManager.php:97
2586
- msgid "Join BuddyPress Groups"
 
2587
  msgstr ""
2588
 
2589
- #: src/Classes/ExtensionManager.php:99
2590
- msgid "Let users select the BuddyPress groups to join during registration."
2591
  msgstr ""
2592
 
2593
- #: src/Classes/ExtensionManager.php:102 src/Classes/ExtensionManager.php:111
2594
- msgid "BuddyPress plugin is not active"
 
2595
  msgstr ""
2596
 
2597
- #: src/Classes/ExtensionManager.php:106
2598
- msgid "BuddyPress Profile Sync"
 
2599
  msgstr ""
2600
 
2601
- #: src/Classes/ExtensionManager.php:108
2602
- msgid "It provides a 2-way synchronization between WordPress profile fields and BuddyPress extended profile."
 
2603
  msgstr ""
2604
 
2605
- #: src/Classes/ExtensionManager.php:115
2606
- msgid "Site Creation"
 
 
2607
  msgstr ""
2608
 
2609
- #: src/Classes/ExtensionManager.php:117
2610
- msgid "Allow users to create new sites on a multisite network via a registration form powered by ProfilePress."
2611
  msgstr ""
2612
 
2613
- #: src/Classes/ExtensionManager.php:120
2614
- msgid "This is not a multisite installation"
2615
  msgstr ""
2616
 
2617
- #: src/Classes/ExtensionManager.php:124
2618
- msgid "WooCommerce"
2619
  msgstr ""
2620
 
2621
- #: src/Classes/ExtensionManager.php:126
2622
- msgid "It allows y
2
  # This file is distributed under the same license as the ProfilePress package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: ProfilePress 4.0.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
7
+ "POT-Creation-Date: 2022-07-28 07:29:59+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
23
  msgstr ""
24
 
25
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:81
26
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:212
27
  msgid "Check out MailOptin"
28
  msgstr ""
29
 
81
 
82
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:243
83
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:79
84
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:300
85
+ #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:100
86
+ #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:119
87
+ #: src/templates/checkout/form-checkout-sidebar.php:89
88
  msgid "Remove"
89
  msgstr ""
90
 
141
  msgstr ""
142
 
143
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:146
144
+ #: src/RegisterScripts.php:94 src/RegisterScripts.php:164
145
  msgid "Are you sure?"
146
  msgstr ""
147
 
148
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:147
149
+ #: src/RegisterScripts.php:95
150
  msgid "Deleting..."
151
  msgstr ""
152
 
153
  #: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:148
154
+ #: src/RegisterScripts.php:96
155
  msgid "An error occurred. Please try again."
156
  msgstr ""
157
 
242
  msgstr ""
243
 
244
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:143
245
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:249
246
  msgid "Custom"
247
  msgstr ""
248
 
295
  msgstr ""
296
 
297
  #: deprecated/wp-user-avatar/includes/tinymce/window.php:167
298
+ #: src/ContentProtection/views/view.access-condition.php:146
299
  msgid "Custom URL"
300
  msgstr ""
301
 
346
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:78
347
  #: deprecated/wp-user-avatar/includes/wpua-functions.php:131
348
  #: src/Classes/ImageUploader.php:49
349
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:629
350
  msgid "Profile Picture"
351
  msgstr ""
352
 
411
  msgid "For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address."
412
  msgstr ""
413
 
414
+ #: src/Admin/ProfileCustomFields.php:56
415
+ msgid "Billing Address (ProfilePress)"
416
+ msgstr ""
417
+
418
  #: src/Admin/SettingsPages/AbstractSettingsPage.php:26
419
  msgid "ProfilePress - WordPress User Registration & Profile Plugin"
420
  msgstr ""
421
 
422
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:71
423
  msgid "Review"
424
  msgstr ""
425
 
426
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:75
427
  msgid "Support"
428
  msgstr ""
429
 
430
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:79
431
  msgid "Pro Upgrade"
432
  msgstr ""
433
 
434
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:83
435
  msgid "Docs"
436
  msgstr ""
437
 
438
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:208
439
  msgid "Need Support?"
440
  msgstr ""
441
 
442
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:237
443
  msgid "Whether you need help or have a new feature request, let us know. %sRequest Support%s"
444
  msgstr ""
445
 
446
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:245
447
  msgid "Detailed documentation is also available on the plugin website. %sView Knowledge Base%s"
448
  msgstr ""
449
 
450
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:253
451
  msgid "If you are enjoying ProfilePress and find it useful, please consider leaving a ★★★★★ review on WordPress.org. %sLeave a Review%s"
452
  msgstr ""
453
 
454
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:265
455
  msgid "Use the coupon code %s10PERCENTOFF%s to save %s off MailOptin."
456
  msgstr ""
457
 
458
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:280
459
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:297
460
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:162
461
  #: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
462
+ #: src/Admin/SettingsPages/GeneralSettings.php:377
463
+ #: src/Admin/SettingsPages/Membership/CheckoutFieldsManager.php:90
 
464
  #: src/Functions/GlobalFunctions.php:1291
465
+ #: src/Functions/GlobalFunctions.php:1323
466
+ #: src/Functions/GlobalFunctions.php:1345
467
  msgid "Select..."
468
  msgstr ""
469
 
470
+ #: src/Admin/SettingsPages/AbstractSettingsPage.php:315
471
  msgid "Custom URL Here"
472
  msgstr ""
473
 
497
  msgid "Code your own from scratch with complete control and flexibility using shortcodes."
498
  msgstr ""
499
 
500
+ #: src/Admin/SettingsPages/AddNewForm.php:65 src/Classes/AjaxHandler.php:117
501
  msgid "Build Now"
502
  msgstr ""
503
 
518
  msgid "Thank you for using <a href=\"%1$s\" target=\"_blank\">ProfilePress</a>! Please <a href=\"%2$s\" target=\"_blank\">rate us ★★★★★</a> on <a href=\"%2$s\" target=\"_blank\">WordPress.org</a> to help us spread the word."
519
  msgstr ""
520
 
521
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:192
522
  msgid "Form title cannot empty"
523
  msgstr ""
524
 
525
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:211
526
  msgid "Changes saved"
527
  msgstr ""
528
 
529
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1198
530
  msgid "Select Icon"
531
  msgstr ""
532
 
533
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1226
534
+ #: src/Admin/SettingsPages/Membership/CheckoutFieldsManager.php:93
535
+ #: src/Functions/GlobalFunctions.php:1348
536
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:202
537
  msgid "Standard Fields"
538
  msgstr ""
539
 
540
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1227
541
  msgid "Extra Fields"
542
  msgstr ""
543
 
544
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1229
545
+ #: src/Admin/SettingsPages/Membership/CheckoutFieldsManager.php:101
546
+ #: src/Classes/ExtensionManager.php:56 src/Functions/GlobalFunctions.php:1351
547
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:216
548
  msgid "Custom Fields"
549
  msgstr ""
550
 
551
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1230
552
  msgid "WooCommerce Billing Address"
553
  msgstr ""
554
 
555
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1231
556
  msgid "WooCommerce Shipping Address"
557
  msgstr ""
558
 
559
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1254
560
  msgid "No custom field available. %sClick here to create one%s."
561
  msgstr ""
562
 
563
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1282
564
  msgid "Enter title here"
565
  msgstr ""
566
 
567
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1284
568
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1311
569
  #: src/Admin/SettingsPages/EmailSettings/CustomizerTrait.php:11
570
+ #: src/Admin/SettingsPages/Membership/CheckoutFieldsManager.php:68
571
  #: src/AdminBarDashboardAccess/include.settings-page.php:54
572
  #: src/AdminBarDashboardAccess/include.settings-page.php:109
573
+ #: src/Functions/custom-settings-api.php:1096
574
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:1094
575
  msgid "Save Changes"
576
  msgstr ""
577
 
578
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1289
579
  msgid "Copy this shortcode and paste it into your post, page, or text widget content:"
580
  msgstr ""
581
 
582
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1314
583
  msgid "Delete Form"
584
  msgstr ""
585
 
586
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1372
587
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1411
588
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1463
589
  msgid "Success Message"
590
  msgstr ""
591
 
592
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1378
593
  msgid "New User Role"
594
  msgstr ""
595
 
596
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1379
597
  msgid "Role users registered through this form will be assigned."
598
  msgstr ""
599
 
600
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1386
601
  msgid "Username Requirement"
602
  msgstr ""
603
 
604
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1387
605
  msgid "Check to disable username requirement"
606
  msgstr ""
607
 
608
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1388
609
  msgid "Disable requirement for users to enter a username during registration. Usernames will automatically be generated from their email addresses."
610
  msgstr ""
611
 
612
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1395
613
+ #: src/Admin/SettingsPages/GeneralSettings.php:263
614
  msgid "Registration Settings"
615
  msgstr ""
616
 
617
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1418
618
  msgid "Edit Profile Settings"
619
  msgstr ""
620
 
621
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1436
622
+ #: src/Classes/ExtensionManager.php:86
623
  msgid "Passwordless Login"
624
  msgstr ""
625
 
626
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1437
627
  msgid "Check to make this a passwordless login form."
628
  msgstr ""
629
 
630
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1447
631
+ #: src/Admin/SettingsPages/GeneralSettings.php:277
632
  msgid "Login Settings"
633
  msgstr ""
634
 
635
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1470
636
  msgid "Password Reset Settings"
637
  msgstr ""
638
 
639
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1491
640
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/CheckboxList.php:35
641
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Country.php:35
642
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DefinedFieldTypes/Checkbox.php:50
650
  msgid "Label"
651
  msgstr ""
652
 
653
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1497
654
  msgid "Processing Label"
655
  msgstr ""
656
 
657
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1504
658
  msgid "Submit Button"
659
  msgstr ""
660
 
661
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1511
662
  msgid "Appearance"
663
  msgstr ""
664
 
665
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1518
666
  msgid "Colors"
667
  msgstr ""
668
 
669
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1546
670
  #: src/Themes/DragDrop/AbstractBuildScratch.php:533
671
  #: src/Themes/DragDrop/Login/PerfectoLite.php:51
672
  #: src/Themes/DragDrop/Registration/PerfectoLite.php:53
673
  msgid "Text"
674
  msgstr ""
675
 
676
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1547
677
  msgid "Visual"
678
  msgstr ""
679
 
680
+ #: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1548
681
  msgid "Add Media"
682
  msgstr ""
683
 
684
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:87
685
  #: src/Admin/SettingsPages/GeneralSettings.php:19
686
+ #: src/Admin/SettingsPages/GeneralSettings.php:58
687
+ #: src/Admin/SettingsPages/GeneralSettings.php:83
688
+ #: src/Admin/SettingsPages/Membership/views/orders/order-data-metabox.php:73
689
+ #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:30
690
  msgid "General"
691
  msgstr ""
692
 
696
 
697
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:89
698
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:232
699
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:98
700
+ #: src/Admin/SettingsPages/GeneralSettings.php:40
701
+ #: src/Admin/SettingsPages/GeneralSettings.php:41
702
+ #: src/Admin/SettingsPages/Membership/PaymentSettings.php:29
703
+ #: src/Classes/Miscellaneous.php:148
704
  msgid "Settings"
705
  msgstr ""
706
 
709
  msgstr ""
710
 
711
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:210
712
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:366
713
+ #: src/ShortcodeParser/MyAccount/view-subscription.tmpl.php:38
714
  msgid "Cancel"
715
  msgstr ""
716
 
719
  msgstr ""
720
 
721
  #: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:235
722
+ #: src/Admin/SettingsPages/FormList.php:241
723
+ #: src/Admin/SettingsPages/FormList.php:317
724
+ #: src/Admin/SettingsPages/GeneralSettings.php:139
725
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:77
726
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:196
727
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:254
728
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:111
729
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:252
730
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:77
731
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:172
732
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:113
733
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:252
734
+ #: src/Admin/SettingsPages/Membership/views/checkout-field-item.php:45
735
+ #: src/Admin/SettingsPages/Membership/views/coupons-page-sidebar.php:12
736
+ #: src/Admin/SettingsPages/Membership/views/customers/submit-sidebar.php:15
737
+ #: src/Admin/SettingsPages/Membership/views/orders/order-notes-sidebar.php:11
738
+ #: src/Admin/SettingsPages/Membership/views/orders/order-submit-sidebar.php:16
739
+ #: src/Admin/SettingsPages/Membership/views/plans-page-sidebar.php:12
740
+ #: src/Admin/SettingsPages/Membership/views/subscriptions/submit-sidebar.php:16
741
  #: src/ContentProtection/WPListTable.php:96
742
+ #: src/ContentProtection/WPListTable.php:316
743
  #: src/ContentProtection/views/include.view-sidebar.php:12
744
  msgid "Delete"
745
  msgstr ""
750
 
751
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Bio.php:22
752
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Bio.php:22
753
+ #: src/Functions/GlobalFunctions.php:1335
754
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:211
755
  #: src/Themes/DragDrop/AbstractTheme.php:189
756
  msgid "Biography"
925
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/CFPassword.php:22
926
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Login/Password.php:22
927
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Password.php:22
928
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:315
929
+ #: src/Membership/CheckoutFields.php:86
930
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:183
931
  #: src/Themes/DragDrop/AbstractTheme.php:165
932
  #: src/Themes/DragDrop/AbstractTheme.php:205 src/Widgets/TabbedWidget.php:144
933
+ #: src/Widgets/TabbedWidget.php:172 src/templates/checkout/form-login.php:13
934
  msgid "Password"
935
  msgstr ""
936
 
968
  msgstr ""
969
 
970
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/ConfirmPassword.php:22
971
+ #: src/Membership/CheckoutFields.php:93
972
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:209
973
  #: src/Themes/DragDrop/AbstractTheme.php:168
974
  msgid "Confirm Password"
975
  msgstr ""
976
 
977
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Country.php:22
978
+ #: src/Admin/SettingsPages/GeneralSettings.php:166
979
+ #: src/Admin/SettingsPages/Membership/views/tax-rates-setup.php:13
980
+ #: src/Membership/CheckoutFields.php:150
981
  msgid "Country"
982
  msgstr ""
983
 
1016
 
1017
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/DisplayName.php:22
1018
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/DisplayName.php:22
1019
+ #: src/Functions/GlobalFunctions.php:1333 src/Membership/CheckoutFields.php:114
1020
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:339
1021
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:208
1022
  #: src/Themes/DragDrop/AbstractTheme.php:180
1023
  #: src/Themes/DragDrop/MemberDirectory/DefaultTemplate.php:115
1040
 
1041
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Email.php:22
1042
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Email.php:22
1043
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:307
1044
+ #: src/Functions/GlobalFunctions.php:1334 src/Membership/CheckoutFields.php:51
1045
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:231
1046
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:206
1047
  #: src/Themes/DragDrop/AbstractTheme.php:162
1048
  #: src/Themes/DragDrop/AbstractTheme.php:221 src/Widgets/TabbedWidget.php:137
1051
 
1052
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/FirstName.php:22
1053
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/FirstName.php:22
1054
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:299
1055
+ #: src/Functions/GlobalFunctions.php:1330 src/Membership/CheckoutFields.php:65
1056
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:371
1057
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:209
1058
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:479
1059
  #: src/Themes/DragDrop/AbstractTheme.php:183
1072
 
1073
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/LastName.php:22
1074
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/LastName.php:22
1075
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:303
1076
+ #: src/Functions/GlobalFunctions.php:1331 src/Membership/CheckoutFields.php:72
1077
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:404
1078
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:210
1079
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:480
1080
  #: src/Themes/DragDrop/AbstractTheme.php:186
1096
  #: src/ShortcodeParser/Builder/PasswordResetBuilder.php:35
1097
  #: src/Themes/DragDrop/AbstractTheme.php:202
1098
  #: src/Themes/DragDrop/AbstractTheme.php:213 src/Widgets/TabbedWidget.php:133
1099
+ #: src/templates/checkout/form-login.php:8
1100
  msgid "Username or Email"
1101
  msgstr ""
1102
 
1107
 
1108
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Nickname.php:22
1109
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:22
1110
+ #: src/Functions/GlobalFunctions.php:1332 src/Membership/CheckoutFields.php:107
1111
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:307
1112
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:321
1113
+ #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:140
1114
  #: src/Themes/DragDrop/AbstractTheme.php:177
1115
  #: src/Themes/DragDrop/UserProfile/DefaultTemplate.php:107
1116
  msgid "Nickname"
1210
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Nickname.php:30
1211
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:30
1212
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Website.php:30
1213
+ #: src/Admin/SettingsPages/FormList.php:195
1214
  #: src/ContentProtection/WPListTable.php:28
1215
+ #: src/Membership/PaymentMethods/AbstractPaymentMethod.php:215
1216
  #: src/Themes/DragDrop/AbstractBuildScratch.php:390
1217
  msgid "Title"
1218
  msgstr ""
1262
 
1263
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Username.php:22
1264
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Username.php:22
1265
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:311
1266
+ #: src/Functions/GlobalFunctions.php:1329 src/Membership/CheckoutFields.php:79
1267
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:156
1268
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:481
1269
  #: src/Themes/DragDrop/AbstractTheme.php:159
1270
  #: src/Themes/DragDrop/AbstractTheme.php:218
1275
 
1276
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/UserProfile/Website.php:22
1277
  #: src/Admin/SettingsPages/DragDropBuilder/Fields/Website.php:22
1278
+ #: src/Membership/CheckoutFields.php:100
1279
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:274
1280
+ #: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:288
1281
+ #: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:150
1282
  #: src/Themes/DragDrop/AbstractMemberDirectoryTheme.php:207
1283
  #: src/Themes/DragDrop/AbstractTheme.php:174
1284
  #: src/Themes/DragDrop/AbstractTheme.php:230
1376
  msgid "Footer"
1377
  msgstr ""
1378
 
1379
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:175
1380
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:221
1381
  msgid "© %s %s. All rights reserved."
1382
  msgstr ""
1383
 
1384
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:235
1385
  msgid "Background Color"
1386
  msgstr ""
1387
 
1388
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:246
1389
  msgid "Background Text Color"
1390
  msgstr ""
1391
 
1392
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:256
1393
  msgid "Content Background Color"
1394
  msgstr ""
1395
 
1396
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:267
1397
+ msgid "Content Header Color"
1398
+ msgstr ""
1399
+
1400
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:278
1401
  msgid "Content Text Color"
1402
  msgstr ""
1403
 
1404
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:289
1405
  msgid "Logo"
1406
  msgstr ""
1407
 
1408
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:297
1409
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:302
1410
  msgid "Select Logo"
1411
  msgstr ""
1412
 
1413
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:298
1414
  msgid "Change Logo"
1415
  msgstr ""
1416
 
1417
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:299
1418
  #: src/ContentProtection/ContentConditions.php:276
1419
  msgid "Default"
1420
  msgstr ""
1421
 
1422
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:301
1423
  msgid "No logo selected"
1424
  msgstr ""
1425
 
1426
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:303
1427
  msgid "Choose Logo"
1428
  msgstr ""
1429
 
1430
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:310
1431
  #: src/Themes/DragDrop/UserProfile/DefaultTemplate.php:102
1432
  #: src/Themes/DragDrop/UserProfile/Dixon.php:32
1433
  #: src/Themes/DragDrop/UserProfile/Dixon.php:70
1434
  msgid "Header Text"
1435
  msgstr ""
1436
 
1437
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:311
1438
  msgid "This is used when template logo is not set."
1439
  msgstr ""
1440
 
1441
+ #: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:319
1442
  msgid "Footer Text"
1443
  msgstr ""
1444
 
1445
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:80
1446
+ msgid "Account"
1447
+ msgstr ""
1448
+
1449
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:86
1450
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:52
1451
+ #: src/ShortcodeParser/MyAccount/view-order.tmpl.php:39
1452
+ #: src/ShortcodeParser/MyAccount/view-subscription.tmpl.php:114
1453
+ msgid "Order"
1454
+ msgstr ""
1455
+
1456
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:92
1457
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:49
1458
+ msgid "Subscription"
1459
+ msgstr ""
1460
+
1461
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:107
1462
+ #: src/Admin/SettingsPages/GeneralSettings.php:59
1463
  msgid "Emails"
1464
  msgstr ""
1465
 
1466
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:121
1467
  msgid "Account Welcome Email"
1468
  msgstr ""
1469
 
1470
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:122
1471
  #: src/Classes/WelcomeEmailAfterSignup.php:51
1472
  msgid "Welcome To %s"
1473
  msgstr ""
1474
 
1475
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:124
1476
  msgid "Email that is sent to the user upon successful registration."
1477
  msgstr ""
1478
 
1479
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:125
1480
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:144
1481
  msgid "Users"
1482
  msgstr ""
1483
 
1484
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:127
1485
  msgid "Username of the registered user."
1486
  msgstr ""
1487
 
1488
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:128
1489
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:147
1490
  msgid "Email address of the registered user."
1491
  msgstr ""
1492
 
1493
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:129
1494
  msgid "Password of the registered user."
1495
  msgstr ""
1496
 
1497
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:130
1498
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:148
1499
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:165
1500
  msgid "Website title or name."
1501
  msgstr ""
1502
 
1503
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:131
1504
  msgid "First Name entered by user on registration."
1505
  msgstr ""
1506
 
1507
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:132
1508
  msgid "Last Name entered by user on registration."
1509
  msgstr ""
1510
 
1511
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:133
1512
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:149
1513
+ #: src/Membership/Emails/EmailDataTrait.php:37
1514
  msgid "URL to reset password."
1515
  msgstr ""
1516
 
1517
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:134
1518
+ #: src/Membership/Emails/EmailDataTrait.php:38
1519
+ msgid "URL to login."
1520
  msgstr ""
1521
 
1522
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:140
1523
  msgid "Password Reset Email"
1524
  msgstr ""
1525
 
1526
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:141
1527
+ #: src/Classes/PasswordReset.php:24 src/RegisterActivation/Base.php:140
1528
  msgid "[%s] Password Reset"
1529
  msgstr ""
1530
 
1531
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:143
1532
  msgid "Email that is sent to the user upon password reset request."
1533
  msgstr ""
1534
 
1535
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:146
1536
  msgid "Username of user."
1537
  msgstr ""
1538
 
1539
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:155
1540
  msgid "New User Admin Notification"
1541
  msgstr ""
1542
 
1543
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:156
1544
+ #: src/Functions/GlobalFunctions.php:726 src/RegisterActivation/Base.php:144
1545
  msgid "[%s] New User Registration"
1546
  msgstr ""
1547
 
1548
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:158
1549
+ msgid "Email that is sent to the admin when there is a new user registration."
 
 
 
 
1550
  msgstr ""
1551
 
1552
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:161
1553
  msgid "Username of the newly registered user."
1554
  msgstr ""
1555
 
1556
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:162
1557
  msgid "Email address of the newly registered user."
1558
  msgstr ""
1559
 
1560
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:163
1561
  msgid "First name of the newly registered user."
1562
  msgstr ""
1563
 
1564
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:164
1565
  msgid "Last name of the newly registered user."
1566
  msgstr ""
1567
 
1568
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:167
 
 
 
 
1569
  msgid "Replace \"field_key\" with the %scustom field key%s or usermeta key."
1570
  msgstr ""
1571
 
1572
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:175
1573
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:176
1574
+ #: src/Membership/Emails/NewOrderReceipt.php:30
1575
+ msgid "New Order Receipt"
1576
  msgstr ""
1577
 
1578
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:178
1579
+ msgid "Email sent whenever a customer completes an order."
1580
  msgstr ""
1581
 
1582
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:179
1583
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:189
1584
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:209
1585
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:219
1586
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:229
1587
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:239
1588
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:250
1589
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:261
1590
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:50
1591
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:215
1592
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:236
1593
+ msgid "Customers"
1594
  msgstr ""
1595
 
1596
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:185
1597
+ msgid "Renewal Order Receipt"
1598
  msgstr ""
1599
 
1600
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:186
1601
+ #: src/Membership/Emails/RenewalOrderReceipt.php:30
1602
+ msgid "Subscription Renewal Receipt"
1603
  msgstr ""
1604
 
1605
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:188
1606
+ msgid "Email sent to customer whenever a renewal order occurs."
1607
  msgstr ""
1608
 
1609
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:195
1610
+ msgid "New Order Admin Notification"
1611
  msgstr ""
1612
 
1613
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:196
1614
+ #: src/Membership/Emails/NewOrderAdminNotification.php:30
1615
+ msgid "New Order #{{order_id}}"
1616
  msgstr ""
1617
 
1618
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:198
1619
+ msgid "Email sent to the admin when there is a new order."
1620
  msgstr ""
1621
 
1622
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:205
1623
+ msgid "Subscription Cancelled Notification"
1624
  msgstr ""
1625
 
1626
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:206
1627
+ #: src/Membership/Emails/SubscriptionCancelledNotification.php:32
1628
+ msgid "Your subscription has been cancelled."
1629
  msgstr ""
1630
 
1631
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:208
1632
+ msgid "Email sent to customer whenever their subscription is cancelled."
1633
  msgstr ""
1634
 
1635
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:215
1636
+ msgid "Subscription Expired Notification"
1637
  msgstr ""
1638
 
1639
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:216
1640
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:258
1641
+ #: src/Membership/Emails/SubscriptionAfterExpiredNotification.php:47
1642
+ #: src/Membership/Emails/SubscriptionExpiredNotification.php:29
1643
+ msgid "Your subscription has expired."
1644
  msgstr ""
1645
 
1646
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:218
1647
+ msgid "Email sent to customer whenever their subscription expires."
1648
  msgstr ""
1649
 
1650
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:225
1651
+ msgid "Subscription Completed Notification"
1652
+ msgstr ""
1653
+
1654
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:226
1655
+ #: src/Membership/Emails/SubscriptionCompletedNotification.php:29
1656
+ msgid "Your subscription is now complete."
1657
+ msgstr ""
1658
+
1659
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:228
1660
+ msgid "Email sent to customer whenever they complete their subscription payments."
1661
+ msgstr ""
1662
+
1663
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:235
1664
+ msgid "Upcoming Renewal Reminder"
1665
+ msgstr ""
1666
+
1667
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:236
1668
+ #: src/Membership/Emails/SubscriptionRenewalReminder.php:49
1669
+ msgid "Your subscription is renewing soon."
1670
+ msgstr ""
1671
+
1672
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:238
1673
+ msgid "Email sent to customer to remind them that their subscription is approaching its renewal."
1674
  msgstr ""
1675
 
1676
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:246
1677
+ msgid "Upcoming Expiration Reminder"
1678
  msgstr ""
1679
 
1680
  #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:247
1681
+ #: src/Membership/Emails/SubscriptionExpirationReminder.php:49
1682
+ msgid "Your subscription is expiring soon."
1683
+ msgstr ""
1684
+
1685
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:249
1686
+ msgid "Email sent to customer to remind them that their subscription is approaching its expiration."
1687
+ msgstr ""
1688
+
1689
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:257
1690
+ msgid "After Subscription Expired Notification"
1691
+ msgstr ""
1692
+
1693
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:260
1694
+ msgid "Email sent to customer few days after their subscription expires."
1695
+ msgstr ""
1696
+
1697
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:311
1698
+ msgid "Preview Email"
1699
+ msgstr ""
1700
+
1701
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:332
1702
+ msgid "Enable Notification"
1703
+ msgstr ""
1704
+
1705
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:333
1706
+ #: src/Admin/SettingsPages/GeneralSettings.php:455
1707
  msgid "Enable"
1708
  msgstr ""
1709
 
1710
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:336
1711
  msgid "Check to enable this email notification."
1712
  msgstr ""
1713
 
1714
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:341
1715
  msgid "Subject Line"
1716
  msgstr ""
1717
 
1718
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:342
1719
  msgid "Enter the subject or title for the welcome message email."
1720
  msgstr ""
1721
 
1722
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:347
1723
  msgid "Message Body"
1724
  msgstr ""
1725
 
1726
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:356
1727
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:365
1728
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:374
1729
+ msgid "Reminder Days"
1730
+ msgstr ""
1731
+
1732
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:357
1733
+ msgid "The number of days before the upcoming payment due date to notify the customer."
1734
+ msgstr ""
1735
+
1736
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:366
1737
+ msgid "The number of days before the subscription expiration due date to notify the customer."
1738
+ msgstr ""
1739
+
1740
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:375
1741
+ msgid "The number of days after the subscription expired to notify the customer."
1742
+ msgstr ""
1743
+
1744
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:424
1745
+ msgid "Admin Email Address(es)"
1746
+ msgstr ""
1747
+
1748
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:425
1749
+ msgid "The Email address to receive admin notifications. Use comma to separate multiple email addresses."
1750
+ msgstr ""
1751
+
1752
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:430
1753
+ msgid "Sender Name"
1754
+ msgstr ""
1755
+
1756
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:431
1757
+ msgid "The name to use as the sender of all ProfilePress emails. Preferably your website name."
1758
+ msgstr ""
1759
+
1760
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:437
1761
+ msgid "Sender Email Address"
1762
+ msgstr ""
1763
+
1764
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:438
1765
+ msgid "The email address to use as the sender of all ProfilePress emails."
1766
+ msgstr ""
1767
+
1768
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:444
1769
+ msgid "HTML"
1770
+ msgstr ""
1771
+
1772
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:445
1773
+ msgid "Plain Text"
1774
+ msgstr ""
1775
+
1776
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:448
1777
+ msgid "Content Type"
1778
+ msgstr ""
1779
+
1780
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:449
1781
+ msgid "Choose whether to send ProfilePress emails in HTML or plain text. HTML is recommended."
1782
+ msgstr ""
1783
+
1784
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:454
1785
+ msgid "Default Template"
1786
+ msgstr ""
1787
+
1788
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:455
1789
+ msgid "Custom Email Template"
1790
+ msgstr ""
1791
+
1792
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:458
1793
+ msgid "Email Template"
1794
+ msgstr ""
1795
+
1796
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:459
1797
+ msgid "Choose \"Custom Email Template\" if you want to code your own email template from scratch."
1798
+ msgstr ""
1799
+
1800
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:466
1801
+ msgid "Customize Default Template"
1802
+ msgstr ""
1803
+
1804
+ #: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:508
1805
  msgid "Available placeholders for subject and message body"
1806
  msgstr ""
1807
 
1810
  msgstr ""
1811
 
1812
  #: src/Admin/SettingsPages/EmailSettings/WPListTable.php:29
1813
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:50
1814
  #: src/Widgets/TabbedWidget.php:169
1815
  msgid "Email"
1816
  msgstr ""
1868
  msgid "forms"
1869
  msgstr ""
1870
 
1871
+ #: src/Admin/SettingsPages/FormList.php:180
1872
  msgid "No form is currently available. %sConsider creating one%s"
1873
  msgstr ""
1874
 
1875
+ #: src/Admin/SettingsPages/FormList.php:196
1876
+ #: src/Admin/SettingsPages/FormList.php:273
1877
  msgid "Shortcode"
1878
  msgstr ""
1879
 
1880
+ #: src/Admin/SettingsPages/FormList.php:197
1881
  msgid "Builder Type"
1882
  msgstr ""
1883
 
1884
+ #: src/Admin/SettingsPages/FormList.php:198
1885
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:57
1886
+ #: src/Admin/SettingsPages/Membership/OrdersPage/SettingsPage.php:505
1887
+ #: src/Admin/SettingsPages/Membership/views/subscriptions/sub-payments-metabox.php:17
1888
+ #: src/ShortcodeParser/MyAccount/view-subscription.tmpl.php:115
1889
  msgid "Date"
1890
  msgstr ""
1891
 
1892
+ #: src/Admin/SettingsPages/FormList.php:240
1893
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:66
1894
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:85
1895
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:107
1896
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:65
1897
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:110
1898
+ #: src/Admin/SettingsPages/Membership/views/customers/data-metabox.php:84
1899
+ #: src/Admin/SettingsPages/Membership/views/orders/order-data-metabox.php:111
1900
  #: src/ContentProtection/WPListTable.php:84
1901
  msgid "Edit"
1902
  msgstr ""
1903
 
1904
+ #: src/Admin/SettingsPages/FormList.php:242
1905
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:66
1906
  #: src/ContentProtection/WPListTable.php:85
1907
  msgid "Duplicate"
1908
  msgstr ""
1909
 
1910
+ #: src/Admin/SettingsPages/FormList.php:244
1911
  #: src/Classes/FormPreviewHandler.php:45
1912
+ #: src/Functions/custom-settings-api.php:874
1913
  msgid "Preview"
1914
  msgstr ""
1915
 
1916
+ #: src/Admin/SettingsPages/FormList.php:275
1917
  msgid "Drag & Drop"
1918
  msgstr ""
1919
 
1942
  msgstr ""
1943
 
1944
  #: src/Admin/SettingsPages/Forms.php:114
1945
+ #: src/Admin/SettingsPages/GeneralSettings.php:274
1946
+ #: src/Admin/SettingsPages/GeneralSettings.php:390
1947
+ #: src/Classes/AjaxHandler.php:55 src/NavigationMenuLinks/Backend.php:34
1948
  #: src/ShortcodeParser/Builder/GlobalShortcodes.php:243
1949
  #: src/Themes/DragDrop/AbstractBuildScratch.php:180
1950
  #: src/Widgets/TabbedWidget.php:113
1952
  msgstr ""
1953
 
1954
  #: src/Admin/SettingsPages/Forms.php:119
1955
+ #: src/Admin/SettingsPages/GeneralSettings.php:260
1956
+ #: src/Classes/AjaxHandler.php:60
1957
  msgid "Registration"
1958
  msgstr ""
1959
 
1960
  #: src/Admin/SettingsPages/Forms.php:125
1961
+ #: src/Admin/SettingsPages/GeneralSettings.php:400
1962
+ #: src/Classes/AjaxHandler.php:65
1963
  msgid "Password Reset"
1964
  msgstr ""
1965
 
1966
+ #: src/Admin/SettingsPages/Forms.php:130
1967
+ #: src/Admin/SettingsPages/Membership/views/customers/data-metabox.php:30
1968
+ #: src/Classes/AjaxHandler.php:70 src/NavigationMenuLinks/Backend.php:32
1969
  #: src/ShortcodeParser/Builder/GlobalShortcodes.php:308
1970
  msgid "Edit Profile"
1971
  msgstr ""
1972
 
1973
+ #: src/Admin/SettingsPages/Forms.php:137 src/Classes/AjaxHandler.php:76
1974
  msgid "Melange"
1975
  msgstr ""
1976
 
1977
+ #: src/Admin/SettingsPages/Forms.php:145 src/Classes/AjaxHandler.php:83
1978
  msgid "User Profile"
1979
  msgstr ""
1980
 
1989
 
1990
  #: src/Admin/SettingsPages/Forms.php:299
1991
  #: src/Admin/SettingsPages/MemberDirectories.php:211
1992
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:379
1993
  msgid "Add New"
1994
  msgstr ""
1995
 
1996
+ #: src/Admin/SettingsPages/GeneralSettings.php:63
1997
  msgid "Integrations"
1998
  msgstr ""
1999
 
2000
+ #: src/Admin/SettingsPages/GeneralSettings.php:67
2001
  msgid "Premium Addons"
2002
  msgstr ""
2003
 
2004
+ #: src/Admin/SettingsPages/GeneralSettings.php:84
2005
  #: src/Admin/SettingsPages/ToolsSettingsPage.php:18
2006
  #: src/Admin/SettingsPages/ToolsSettingsPage.php:61
2007
  msgid "Tools"
2008
  msgstr ""
2009
 
2010
+ #: src/Admin/SettingsPages/GeneralSettings.php:110
2011
  msgid "My Account edit profile form (default)"
2012
  msgstr ""
2013
 
2014
+ #: src/Admin/SettingsPages/GeneralSettings.php:113
2015
+ #: src/Admin/SettingsPages/GeneralSettings.php:378
2016
  msgid "Currently viewed page"
2017
  msgstr ""
2018
 
2019
+ #: src/Admin/SettingsPages/GeneralSettings.php:114
2020
  msgid "Previous/Referrer page (Pro feature)"
2021
  msgstr ""
2022
 
2023
+ #: src/Admin/SettingsPages/GeneralSettings.php:115
2024
  msgid "WordPress Dashboard"
2025
  msgstr ""
2026
 
2027
+ #: src/Admin/SettingsPages/GeneralSettings.php:119
2028
  msgid "Previous/Referrer page"
2029
  msgstr ""
2030
 
2031
+ #: src/Admin/SettingsPages/GeneralSettings.php:124
2032
  msgid "Global"
2033
  msgstr ""
2034
 
2035
+ #: src/Admin/SettingsPages/GeneralSettings.php:127
2036
  msgid "Global Settings"
2037
  msgstr ""
2038
 
2039
+ #: src/Admin/SettingsPages/GeneralSettings.php:130
2040
+ msgid "Disable Ajax Mode"
2041
  msgstr ""
2042
 
2043
+ #: src/Admin/SettingsPages/GeneralSettings.php:132
2044
+ msgid "Disable"
2045
  msgstr ""
2046
 
2047
+ #: src/Admin/SettingsPages/GeneralSettings.php:133
2048
+ msgid "Check this box to disable ajax behaviour(whereby forms do not require page reload when submitted) in forms."
2049
  msgstr ""
2050
 
2051
+ #: src/Admin/SettingsPages/GeneralSettings.php:138
2052
+ msgid "Remove Data on Uninstall"
2053
  msgstr ""
2054
 
2055
+ #: src/Admin/SettingsPages/GeneralSettings.php:140
2056
+ msgid "Check this box if you would like ProfilePress to completely remove all of its data when the plugin is deleted."
 
2057
  msgstr ""
2058
 
2059
+ #: src/Admin/SettingsPages/GeneralSettings.php:145
2060
+ msgid "Business Info"
2061
  msgstr ""
2062
 
2063
+ #: src/Admin/SettingsPages/GeneralSettings.php:148
2064
+ msgid "Business Information"
2065
  msgstr ""
2066
 
2067
+ #: src/Admin/SettingsPages/GeneralSettings.php:151
2068
+ msgid "Business Name"
2069
  msgstr ""
2070
 
2071
+ #: src/Admin/SettingsPages/GeneralSettings.php:152
2072
+ msgid "The official (legal) name of your store. Defaults to Site Title if empty."
2073
  msgstr ""
2074
 
2075
+ #: src/Admin/SettingsPages/GeneralSettings.php:156
2076
+ msgid "Address"
2077
  msgstr ""
2078
 
2079
+ #: src/Admin/SettingsPages/GeneralSettings.php:157
2080
+ msgid "The street address where your business is registered and located."
2081
  msgstr ""
2082
 
2083
+ #: src/Admin/SettingsPages/GeneralSettings.php:161
2084
+ #: src/Membership/CheckoutFields.php:142
2085
+ msgid "City"
2086
  msgstr ""
2087
 
2088
+ #: src/Admin/SettingsPages/GeneralSettings.php:162
2089
+ msgid "The city in which your business is registered and located."
2090
  msgstr ""
2091
 
2092
+ #: src/Admin/SettingsPages/GeneralSettings.php:167
2093
+ msgid "The country in which your business is registered and located."
2094
  msgstr ""
2095
 
2096
+ #: src/Admin/SettingsPages/GeneralSettings.php:172
2097
+ msgid "State / Province / Region"
2098
  msgstr ""
2099
 
2100
+ #: src/Admin/SettingsPages/GeneralSettings.php:173
2101
+ msgid "The state your business is located."
2102
  msgstr ""
2103
 
2104
+ #: src/Admin/SettingsPages/GeneralSettings.php:177
2105
+ msgid "ZIP / Postal Code"
2106
  msgstr ""
2107
 
2108
+ #: src/Admin/SettingsPages/GeneralSettings.php:178
2109
+ msgid "The country in which your business is located."
2110
  msgstr ""
2111
 
2112
+ #: src/Admin/SettingsPages/GeneralSettings.php:182
2113
+ msgid "Tax Identification Number"
2114
  msgstr ""
2115
 
2116
+ #: src/Admin/SettingsPages/GeneralSettings.php:183
2117
+ msgid "This can be your VAT number, GST/HST or ABN."
2118
  msgstr ""
2119
 
2120
+ #: src/Admin/SettingsPages/GeneralSettings.php:188
2121
+ msgid "Pages"
2122
  msgstr ""
2123
 
2124
+ #: src/Admin/SettingsPages/GeneralSettings.php:191
2125
+ msgid "Global Pages"
 
2126
  msgstr ""
2127
 
2128
+ #: src/Admin/SettingsPages/GeneralSettings.php:194
2129
+ msgid "Login Page"
2130
  msgstr ""
2131
 
2132
+ #: src/Admin/SettingsPages/GeneralSettings.php:197
2133
+ msgid "Select the page you wish to make WordPress default Login page. %3$s This should be the page that contains a %1$slogin form shortcode%2$s."
2134
  msgstr ""
2135
 
2136
+ #: src/Admin/SettingsPages/GeneralSettings.php:202
2137
+ #: src/Admin/SettingsPages/GeneralSettings.php:483
2138
+ msgid "Registration Page"
 
2139
  msgstr ""
2140
 
2141
+ #: src/Admin/SettingsPages/GeneralSettings.php:205
2142
+ msgid "Select the page you wish to make WordPress default Registration page. %3$s This should be the page that contains a %1$sregistration form shortcode%2$s."
2143
  msgstr ""
2144
 
2145
+ #: src/Admin/SettingsPages/GeneralSettings.php:210
2146
+ msgid "Password Reset Page"
2147
  msgstr ""
2148
 
2149
+ #: src/Admin/SettingsPages/GeneralSettings.php:213
2150
+ msgid "Select the page you wish to make WordPress default \"Lost Password page\". %3$s This should be the page that contains a %1$spassword reset form shortcode%2$s."
2151
  msgstr ""
2152
 
2153
+ #: src/Admin/SettingsPages/GeneralSettings.php:218
2154
+ msgid "My Account Page"
2155
  msgstr ""
2156
 
2157
+ #: src/Admin/SettingsPages/GeneralSettings.php:221
2158
+ msgid "Select a page that contains %3$s shortcode. You can also use an %1$sedit profile shortcode%2$s on the My Account page in case you want something custom."
2159
  msgstr ""
2160
 
2161
+ #: src/Admin/SettingsPages/GeneralSettings.php:226
2162
+ msgid "Payment Pages"
2163
  msgstr ""
2164
 
2165
+ #: src/Admin/SettingsPages/GeneralSettings.php:229
2166
+ msgid "Checkout Page"
2167
  msgstr ""
2168
 
2169
+ #: src/Admin/SettingsPages/GeneralSettings.php:232
2170
+ msgid "The checkout page where members will complete their payments. %2$sThe shortcode %1$s must be on this page."
2171
  msgstr ""
2172
 
2173
+ #: src/Admin/SettingsPages/GeneralSettings.php:238
2174
+ msgid "Order Success Page"
2175
  msgstr ""
2176
 
2177
+ #: src/Admin/SettingsPages/GeneralSettings.php:241
2178
+ msgid "The page customers are sent to after completing their orders.%2$sThe shortcode %1$s must be on this page."
2179
  msgstr ""
2180
 
2181
  #: src/Admin/SettingsPages/GeneralSettings.php:247
2182
+ msgid "Order Failure Page"
2183
+ msgstr ""
2184
+
2185
+ #: src/Admin/SettingsPages/GeneralSettings.php:249
2186
+ msgid "The page customers are sent to after a failed order."
2187
  msgstr ""
2188
 
2189
  #: src/Admin/SettingsPages/GeneralSettings.php:252
2190
+ msgid "Terms & Conditions Page"
2191
  msgstr ""
2192
 
2193
  #: src/Admin/SettingsPages/GeneralSettings.php:253
2194
+ msgid "If you select a \"Terms\" page, customers will be asked if they accept them when checking out."
2195
  msgstr ""
2196
 
2197
+ #: src/Admin/SettingsPages/GeneralSettings.php:266
2198
+ msgid "Auto-login after registration"
2199
  msgstr ""
2200
 
2201
+ #: src/Admin/SettingsPages/GeneralSettings.php:267
2202
+ msgid "Enable auto-login"
2203
  msgstr ""
2204
 
2205
+ #: src/Admin/SettingsPages/GeneralSettings.php:269
2206
+ msgid "Check this option to automatically login users after successful registration."
2207
+ msgstr ""
2208
+
2209
+ #: src/Admin/SettingsPages/GeneralSettings.php:281
2210
+ msgid "Email Address and Username (default)"
2211
+ msgstr ""
2212
+
2213
+ #: src/Admin/SettingsPages/GeneralSettings.php:282
2214
+ msgid "Email Address Only"
2215
+ msgstr ""
2216
+
2217
+ #: src/Admin/SettingsPages/GeneralSettings.php:283
2218
+ msgid "Username Only"
2219
+ msgstr ""
2220
+
2221
+ #: src/Admin/SettingsPages/GeneralSettings.php:286
2222
+ msgid "Login with Email or Username"
2223
+ msgstr ""
2224
+
2225
+ #: src/Admin/SettingsPages/GeneralSettings.php:287
2226
+ msgid "By default, WordPress allows users to log in using either an email address or username. This setting allows you to restrict logins to only accept email addresses or usernames."
2227
+ msgstr ""
2228
+
2229
+ #: src/Admin/SettingsPages/GeneralSettings.php:292
2230
+ #: src/RegisterActivation/Base.php:191
2231
+ msgid "My Account"
2232
+ msgstr ""
2233
+
2234
+ #: src/Admin/SettingsPages/GeneralSettings.php:293
2235
+ msgid "My Account Settings"
2236
+ msgstr ""
2237
+
2238
+ #: src/Admin/SettingsPages/GeneralSettings.php:297
2239
+ msgid "Redirect Default Edit Profile"
2240
+ msgstr ""
2241
+
2242
+ #: src/Admin/SettingsPages/GeneralSettings.php:298
2243
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:74
2244
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:197
2245
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:74
2246
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:173
2247
+ #: src/ContentProtection/WPListTable.php:93
2248
+ #: src/Functions/custom-settings-api.php:1025
2249
+ msgid "Activate"
2250
+ msgstr ""
2251
+
2252
+ #: src/Admin/SettingsPages/GeneralSettings.php:301
2253
+ msgid "Redirect <a target=\"_blank\" href=\"%s\">default WordPress profile</a> to My Account page."
2254
+ msgstr ""
2255
+
2256
+ #: src/Admin/SettingsPages/GeneralSettings.php:308
2257
+ msgid "Edit Account Endpoint"
2258
+ msgstr ""
2259
+
2260
+ #: src/Admin/SettingsPages/GeneralSettings.php:309
2261
+ msgid "Endpoint for the \"My Account → Account Details\" page."
2262
+ msgstr ""
2263
+
2264
+ #: src/Admin/SettingsPages/GeneralSettings.php:314
2265
+ msgid "Change Password Endpoint"
2266
+ msgstr ""
2267
+
2268
+ #: src/Admin/SettingsPages/GeneralSettings.php:315
2269
+ msgid "Endpoint for the \"My Account → Change Password\" page."
2270
+ msgstr ""
2271
+
2272
+ #: src/Admin/SettingsPages/GeneralSettings.php:320
2273
+ msgid "Account Details Form"
2274
+ msgstr ""
2275
+
2276
+ #: src/Admin/SettingsPages/GeneralSettings.php:321
2277
+ msgid "Do you want to replace the default form in \"My Account → Account Details\" page? select an Edit Profile form that will replace it."
2278
+ msgstr ""
2279
+
2280
+ #: src/Admin/SettingsPages/GeneralSettings.php:325
2281
+ msgid "Frontend Profile"
2282
+ msgstr ""
2283
+
2284
+ #: src/Admin/SettingsPages/GeneralSettings.php:326
2285
+ msgid "Frontend Profile Settings"
2286
+ msgstr ""
2287
+
2288
+ #: src/Admin/SettingsPages/GeneralSettings.php:330
2289
+ msgid "Page with Profile Shortcode"
2290
+ msgstr ""
2291
+
2292
+ #: src/Admin/SettingsPages/GeneralSettings.php:332
2293
+ msgid "Select the page that contains your <a href=\"%s\">Frontend user profile shortcode</a>."
2294
+ msgstr ""
2295
+
2296
+ #: src/Admin/SettingsPages/GeneralSettings.php:337
2297
+ msgid "Profile Slug"
2298
+ msgstr ""
2299
+
2300
+ #: src/Admin/SettingsPages/GeneralSettings.php:338
2301
+ msgid "Enter your preferred profile URL slug. Default to \"profile\" if empty. If slug is \"profile\", URL becomes %s where \"john\" is a user's username."
2302
+ msgstr ""
2303
 
2304
+ #: src/Admin/SettingsPages/GeneralSettings.php:342
2305
+ msgid "Disable Guests from Viewing Profiles"
2306
+ msgstr ""
2307
+
2308
+ #: src/Admin/SettingsPages/GeneralSettings.php:343
2309
+ msgid "Enable this option to stop disable guests or non-registered users from viewing users profiles."
2310
+ msgstr ""
2311
+
2312
+ #: src/Admin/SettingsPages/GeneralSettings.php:348
2313
+ msgid "Disable Members from Viewing Profiles"
2314
+ msgstr ""
2315
+
2316
+ #: src/Admin/SettingsPages/GeneralSettings.php:349
2317
  msgid "Enable this option to stop members from viewing other users profiles. If enabled, users can only see their own profile."
2318
  msgstr ""
2319
 
2320
+ #: src/Admin/SettingsPages/GeneralSettings.php:354
2321
  msgid "Comment Author URL to Profile"
2322
  msgstr ""
2323
 
2324
+ #: src/Admin/SettingsPages/GeneralSettings.php:355
2325
+ #: src/Admin/SettingsPages/GeneralSettings.php:362
2326
  msgid "Enable option"
2327
  msgstr ""
2328
 
2329
+ #: src/Admin/SettingsPages/GeneralSettings.php:357
2330
  msgid "Change URL of comment authors to their ProfilePress front-end profile."
2331
  msgstr ""
2332
 
2333
+ #: src/Admin/SettingsPages/GeneralSettings.php:361
2334
  msgid "Authors Page to Profile"
2335
  msgstr ""
2336
 
2337
+ #: src/Admin/SettingsPages/GeneralSettings.php:364
2338
  msgid "Change and redirect authors pages %s to their front-end profiles %s."
2339
  msgstr ""
2340
 
2341
+ #: src/Admin/SettingsPages/GeneralSettings.php:369
2342
  msgid "Redirection"
2343
  msgstr ""
2344
 
2345
+ #: src/Admin/SettingsPages/GeneralSettings.php:370
2346
  msgid "Redirection Settings"
2347
  msgstr ""
2348
 
2349
+ #: src/Admin/SettingsPages/GeneralSettings.php:374
2350
  #: src/Widgets/TabbedWidget.php:224
2351
  msgid "Log out"
2352
  msgstr ""
2353
 
2354
+ #: src/Admin/SettingsPages/GeneralSettings.php:383
2355
  msgid "Select the page users will be redirected to after logout. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description."
2356
  msgstr ""
2357
 
2358
+ #: src/Admin/SettingsPages/GeneralSettings.php:384
2359
+ #: src/Admin/SettingsPages/GeneralSettings.php:394
2360
+ #: src/Admin/SettingsPages/GeneralSettings.php:411
2361
  msgid "Leave the \"custom URL\" field empty to fallback to the selected page."
2362
  msgstr ""
2363
 
2364
+ #: src/Admin/SettingsPages/GeneralSettings.php:393
2365
  msgid "Select the page or custom URL users will be redirected to after login. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description"
2366
  msgstr ""
2367
 
2368
+ #: src/Admin/SettingsPages/GeneralSettings.php:405
2369
  msgid "Default.."
2370
  msgstr ""
2371
 
2372
+ #: src/Admin/SettingsPages/GeneralSettings.php:410
2373
  msgid "Select the page or custom URL users will be redirected to after they successfully reset or change their password. To redirect to a custom URL instead of a selected page, enter the URL in input field directly above this description."
2374
  msgstr ""
2375
 
2376
+ #: src/Admin/SettingsPages/GeneralSettings.php:417
2377
  #: src/ContentProtection/WPListTable.php:30
2378
  msgid "Access"
2379
  msgstr ""
2380
 
2381
+ #: src/Admin/SettingsPages/GeneralSettings.php:418
2382
  msgid "Access Settings"
2383
  msgstr ""
2384
 
2385
+ #: src/Admin/SettingsPages/GeneralSettings.php:424
2386
  msgid "%sNote:%s Access setting takes precedence over %sContent Protection rules%s."
2387
  msgstr ""
2388
 
2389
+ #: src/Admin/SettingsPages/GeneralSettings.php:430
2390
  msgid "Global Site Access"
2391
  msgstr ""
2392
 
2393
+ #: src/Admin/SettingsPages/GeneralSettings.php:432
2394
  msgid "Accessible to Everyone"
2395
  msgstr ""
2396
 
2397
+ #: src/Admin/SettingsPages/GeneralSettings.php:433
2398
  msgid "Accessible to Logged-in Users"
2399
  msgstr ""
2400
 
2401
+ #: src/Admin/SettingsPages/GeneralSettings.php:438
2402
  msgid "Redirect Page"
2403
  msgstr ""
2404
 
2405
+ #: src/Admin/SettingsPages/GeneralSettings.php:440
2406
  msgid "Select the page or custom URL to redirect users that are not logged in to."
2407
  msgstr ""
2408
 
2409
+ #: src/Admin/SettingsPages/GeneralSettings.php:444
2410
  msgid "Pages to Exclude"
2411
  msgstr ""
2412
 
2413
+ #: src/Admin/SettingsPages/GeneralSettings.php:450
2414
  msgid "Select the pages to exclude beside the redirect page that will be accessible by everyone."
2415
  msgstr ""
2416
 
2417
+ #: src/Admin/SettingsPages/GeneralSettings.php:456
2418
  msgid "Accessible Homepage"
2419
  msgstr ""
2420
 
2421
+ #: src/Admin/SettingsPages/GeneralSettings.php:457
2422
  msgid "Check to allow homepage to be accessible by everyone."
2423
  msgstr ""
2424
 
2425
+ #: src/Admin/SettingsPages/GeneralSettings.php:461
2426
+ #: src/ContentProtection/Frontend/PostContent.php:66
2427
+ #: src/RegisterActivation/Base.php:131
2428
  msgid "You are unauthorized to view this page."
2429
  msgstr ""
2430
 
2431
+ #: src/Admin/SettingsPages/GeneralSettings.php:462
2432
  msgid "Global Restricted Access Message"
2433
  msgstr ""
2434
 
2435
+ #: src/Admin/SettingsPages/GeneralSettings.php:463
2436
  msgid "This is the message shown to users that do not have permission to view the content."
2437
  msgstr ""
2438
 
2439
+ #: src/Admin/SettingsPages/GeneralSettings.php:477
2440
  msgid "BuddyPress"
2441
  msgstr ""
2442
 
2443
+ #: src/Admin/SettingsPages/GeneralSettings.php:478
2444
  msgid "BuddyPress Settings"
2445
  msgstr ""
2446
 
2447
+ #: src/Admin/SettingsPages/GeneralSettings.php:484
2448
+ #: src/Admin/SettingsPages/GeneralSettings.php:491
2449
+ #: src/Admin/SettingsPages/GeneralSettings.php:498
2450
+ #: src/Admin/SettingsPages/GeneralSettings.php:514
2451
  msgid "Check to enable"
2452
  msgstr ""
2453
 
2454
+ #: src/Admin/SettingsPages/GeneralSettings.php:485
2455
  msgid "Check to redirect BuddyPress registration page to your selected %s"
2456
  msgstr ""
2457
 
2458
+ #: src/Admin/SettingsPages/GeneralSettings.php:489
2459
  msgid "Override Avatar"
2460
  msgstr ""
2461
 
2462
+ #: src/Admin/SettingsPages/GeneralSettings.php:492
2463
  msgid "Check to override BuddyPress users uploaded avatars with that of ProfilePress."
2464
  msgstr ""
2465
 
2466
+ #: src/Admin/SettingsPages/GeneralSettings.php:497
2467
+ #: src/Admin/SettingsPages/GeneralSettings.php:513
2468
  msgid "Override Profile URL"
2469
  msgstr ""
2470
 
2471
+ #: src/Admin/SettingsPages/GeneralSettings.php:499
2472
  msgid "Check to change the profile URL of BuddyPress users to ProfilePress front-end profile."
2473
  msgstr ""
2474
 
2475
+ #: src/Admin/SettingsPages/GeneralSettings.php:507
2476
  msgid "bbPress"
2477
  msgstr ""
2478
 
2479
+ #: src/Admin/SettingsPages/GeneralSettings.php:508
2480
  msgid "bbPress Settings"
2481
  msgstr ""
2482
 
2483
+ #: src/Admin/SettingsPages/GeneralSettings.php:515
2484
  msgid "Check to change bbPress profile URL to ProfilePress front-end profile."
2485
  msgstr ""
2486
 
2675
  msgid "No members directory is currently available. %sConsider creating one%s"
2676
  msgstr ""
2677
 
2678
+ #: src/Admin/SettingsPages/Membership/CheckListHeader.php:91
2679
+ msgid "Get started with Paid Memberships"
2680
  msgstr ""
2681
 
2682
+ #: src/Admin/SettingsPages/Membership/CheckListHeader.php:92
2683
+ msgid "Follow the steps below to get your website ready for selling membership plans."
2684
  msgstr ""
2685
 
2686
+ #: src/Admin/SettingsPages/Membership/CheckListHeader.php:109
2687
+ msgid "Create the Required Pages"
2688
  msgstr ""
2689
 
2690
+ #: src/Admin/SettingsPages/Membership/CheckListHeader.php:125
2691
+ msgid "Integrate a Payment Method"
2692
  msgstr ""
2693
 
2694
+ #: src/Admin/SettingsPages/Membership/CheckListHeader.php:142
2695
+ msgid "Add Your Business Information"
 
2696
  msgstr ""
2697
 
2698
+ #: src/Admin/SettingsPages/Membership/CheckListHeader.php:160
2699
+ msgid "Set Your Membership Currency"
2700
  msgstr ""
2701
 
2702
+ #: src/Admin/SettingsPages/Membership/CheckListHeader.php:178
2703
+ msgid "Create a Membership Plan"
2704
  msgstr ""
2705
 
2706
+ #: src/Admin/SettingsPages/Membership/CheckoutFieldsManager.php:20
2707
+ msgid "Checkout Fields &lsaquo; Payments"
2708
  msgstr ""
2709
 
2710
+ #: src/Admin/SettingsPages/Membership/CheckoutFieldsManager.php:32
2711
+ #: src/Admin/SettingsPages/Membership/CheckoutFieldsManager.php:74
2712
+ msgid "Checkout Fields"
2713
  msgstr ""
2714
 
2715
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:23
2716
+ msgid "No coupon code found."
2717
  msgstr ""
2718
 
2719
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:30
2720
+ #: src/Functions/custom-settings-api.php:873
2721
+ msgid "Code"
2722
  msgstr ""
2723
 
2724
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:31
2725
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:47
2726
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:48
2727
+ #: src/Admin/SettingsPages/Membership/views/add-edit-coupon.php:35
2728
+ #: src/ShortcodeParser/MyAccount/view-order.tmpl.php:111
2729
+ msgid "Discount"
2730
  msgstr ""
2731
 
2732
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:32
2733
+ msgid "Redemptions"
2734
  msgstr ""
2735
 
2736
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:33
2737
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:55
2738
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:32
2739
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:51
2740
+ #: src/Admin/SettingsPages/Membership/views/customers/subcriptions-metabox.php:20
2741
+ #: src/Admin/SettingsPages/Membership/views/subscriptions/sub-payments-metabox.php:18
2742
+ #: src/ShortcodeParser/MyAccount/subscriptions.tmpl.php:57
2743
+ #: src/ShortcodeParser/MyAccount/view-subscription.tmpl.php:57
2744
+ #: src/ShortcodeParser/MyAccount/view-subscription.tmpl.php:116
2745
+ msgid "Status"
2746
  msgstr ""
2747
 
2748
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:34
2749
+ #: src/Admin/SettingsPages/Membership/views/add-edit-coupon.php:68
2750
+ #: src/ShortcodeParser/MyAccount/view-subscription.tmpl.php:75
2751
+ msgid "Start Date"
2752
  msgstr ""
2753
 
2754
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:35
2755
+ #: src/Admin/SettingsPages/Membership/views/add-edit-coupon.php:78
2756
+ msgid "End Date"
2757
  msgstr ""
2758
 
2759
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:70
2760
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:198
2761
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:70
2762
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:174
2763
+ #: src/ContentProtection/WPListTable.php:89
2764
+ msgid "Deactivate"
2765
  msgstr ""
2766
 
2767
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:118
2768
+ #: src/Admin/SettingsPages/Membership/views/add-edit-coupon.php:87
2769
+ msgid "Unlimited"
2770
  msgstr ""
2771
 
2772
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:129
2773
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:109
2774
+ #: src/Membership/Models/Customer/CustomerStatus.php:13
2775
+ #: src/Membership/Models/Subscription/SubscriptionStatus.php:17
2776
+ msgid "Active"
2777
  msgstr ""
2778
 
2779
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:131
2780
+ #: src/Admin/SettingsPages/Membership/PlansPage/PlanWPListTable.php:111
2781
+ #: src/Membership/Models/Customer/CustomerStatus.php:14
2782
+ msgid "Inactive"
2783
  msgstr ""
2784
 
2785
+ #: src/Admin/SettingsPages/Membership/CouponsPage/CouponWPListTable.php:135
2786
+ #: src/Membership/Models/Subscription/SubscriptionStatus.php:19
2787
+ msgid "Expired"
2788
  msgstr ""
2789
 
2790
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:49
2791
+ #: src/Admin/SettingsPages/Membership/views/add-edit-coupon.php:40
2792
+ msgid "Coupon Application"
2793
  msgstr ""
2794
 
2795
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:54
2796
+ #: src/Admin/SettingsPages/Membership/PlansPage/SettingsPage.php:97
2797
+ msgid "%s cannot be empty."
2798
  msgstr ""
2799
 
2800
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:81
2801
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:105
2802
+ #: src/Admin/SettingsPages/Membership/PlansPage/SettingsPage.php:56
2803
+ msgid "Coupons"
2804
  msgstr ""
2805
 
2806
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:84
2807
+ msgid "Add a Coupon"
2808
  msgstr ""
2809
 
2810
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:88
2811
+ msgid "Edit Coupon"
2812
  msgstr ""
2813
 
2814
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:129
2815
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:259
2816
+ #: src/Admin/SettingsPages/Membership/OrdersPage/SettingsPage.php:434
2817
+ #: src/Admin/SettingsPages/Membership/PlansPage/SettingsPage.php:150
2818
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SettingsPage.php:165
2819
+ #: src/ContentProtection/SettingsPage.php:160
2820
+ #: src/Themes/DragDrop/AbstractTheme.php:114
2821
+ msgid "Changes saved."
2822
  msgstr ""
2823
 
2824
+ #: src/Admin/SettingsPages/Membership/CouponsPage/SettingsPage.php:150
2825
+ msgid "Add New Coupon"
2826
  msgstr ""
2827
 
2828
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:42
2829
+ msgid "No customers found."
2830
  msgstr ""
2831
 
2832
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:49
2833
+ #: src/Themes/DragDrop/AbstractBuildScratch.php:447
2834
+ msgid "Name"
2835
  msgstr ""
2836
 
2837
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:51
2838
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:345
2839
+ #: src/Admin/SettingsPages/Membership/views/customers/view-customer.php:38
2840
+ msgid "Active Subscriptions"
2841
  msgstr ""
2842
 
2843
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:52
2844
+ msgid "Customer Since"
2845
  msgstr ""
2846
 
2847
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:53
2848
+ msgid "Last Login"
2849
  msgstr ""
2850
 
2851
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:86
2852
+ msgid "View Orders"
 
2853
  msgstr ""
2854
 
2855
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:87
2856
+ msgid "View Subscriptions"
2857
  msgstr ""
2858
 
2859
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:158
2860
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:67
2861
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:67
2862
+ msgid "All"
2863
  msgstr ""
2864
 
2865
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:308
2866
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:264
2867
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:339
2868
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:307
2869
+ msgctxt "date filter"
2870
+ msgid "From"
2871
  msgstr ""
2872
 
2873
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:311
2874
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:267
2875
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:342
2876
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:310
2877
+ msgctxt "date filter"
2878
+ msgid "To"
2879
  msgstr ""
2880
 
2881
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:316
2882
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:283
2883
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:368
2884
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:324
2885
+ msgid "Filter"
2886
  msgstr ""
2887
 
2888
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:320
2889
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:287
2890
+ #: src/Admin/SettingsPages/Membership/OrdersPage/OrderWPListTable.php:372
2891
+ #: src/Admin/SettingsPages/Membership/SubscriptionsPage/SubscriptionWPListTable.php:328
2892
+ msgid "Clear"
2893
  msgstr ""
2894
 
2895
+ #: src/Admin/SettingsPages/Membership/CustomersPage/CustomerWPListTable.php:329
2896
+ msgid "Search Customers"
2897
  msgstr ""
2898
 
2899
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:104
2900
+ #: src/Admin/SettingsPages/Membership/OrdersPage/SettingsPage.php:302
2901
+ msgid "You do not have permission to perform this action."
2902
  msgstr ""
2903
 
2904
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:104
2905
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:117
2906
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:127
2907
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:147
2908
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:156
2909
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:163
2910
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:171
2911
+ #: src/Admin/SettingsPages/Membership/OrdersPage/SettingsPage.php:302
2912
+ #: src/Admin/SettingsPages/Membership/OrdersPage/SettingsPage.php:326
2913
+ #: src/Admin/SettingsPages/Membership/OrdersPage/SettingsPage.php:344
2914
+ #: src/Admin/SettingsPages/Membership/OrdersPage/SettingsPage.php:367
2915
+ msgid "Error"
2916
  msgstr ""
2917
 
2918
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:117
2919
+ msgid "Please enter a valid customer email."
2920
  msgstr ""
2921
 
2922
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:127
2923
+ msgid "A user account already exists with the login %s."
2924
  msgstr ""
2925
 
2926
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:147
2927
+ msgid "Error creating customer account."
2928
  msgstr ""
2929
 
2930
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:156
2931
+ msgid "Unable to locate existing account with the email %s."
2932
  msgstr ""
2933
 
2934
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:163
2935
+ msgid "A customer with the ID %d already exists with this account."
2936
  msgstr ""
2937
 
2938
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:171
2939
+ msgid "Error creating customer record."
2940
  msgstr ""
2941
 
2942
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:218
2943
+ msgid "Add New Customer"
2944
  msgstr ""
2945
 
2946
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:222
2947
+ msgid "Customer Details"
2948
  msgstr ""
2949
 
2950
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:288
2951
+ msgid "User Account"
2952
  msgstr ""
2953
 
2954
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:293
2955
+ msgid "Search User"
2956
  msgstr ""
2957
 
2958
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:338
2959
+ msgid "New Account"
2960
  msgstr ""
2961
 
2962
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:343
2963
+ msgid "Existing Account"
2964
  msgstr ""
2965
 
2966
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:355
2967
+ msgid "Show password"
2968
  msgstr ""
2969
 
2970
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:360
2971
+ msgid "Hide password"
2972
  msgstr ""
2973
 
2974
+ #: src/Admin/SettingsPages/Membership/CustomersPage/SettingsPage.php:362
2975
+ #: src/Themes/DragDrop/UserProfile/DefaultTemplate.php:104
2976
+ msgid "Hide"
2977
  msgstr ""
2978
 
2979
+ #: src/Admin/SettingsPages/Membership/DashboardPage/Orders.php:64
2980
+ msgid "New"
2981
  msgstr ""
2982
 
2983
+ #: src/Admin/SettingsPages/Membership/DashboardPage/Orders.php:70
2984
+ #: src/Membership/Models/Order/OrderType.php:16
2985
+ msgid "Renewal"
2986
  msgstr ""
2987
 
2988
+ #: src/Admin/SettingsPages/Membership/DashboardPage/PaymentMethods.php:106
2989
+ #: src/Admin/SettingsPages/Membership/DashboardPage/TopPlans.php:106
2990
+ msgid "Sales"
2991
  msgstr ""
2992
 
2993
+ #: src/Admin/SettingsPages/Membership/DashboardPage/PaymentMethods.php:115
2994
+ #: src/Admin/SettingsPages/Membership/DashboardPage/TopPlans.php:115
2995
+ msgid "Earnings"
2996
  msgstr ""
2997
 
2998
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:28
2999
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:36
3000
+ #: src/ShortcodeParser/MyAccount/MyAccountTag.php:54
3001
+ msgid "Dashboard"
3002
  msgstr ""
3003
 
3004
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:238
3005
+ msgid "Today"
3006
  msgstr ""
3007
 
3008
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:239
3009
+ msgid "Yesterday"
3010
  msgstr ""
3011
 
3012
+ #: src/Admin/SettingsPages/Membership/DashboardPage/SettingsPage.php:240
3013
+ msgid "This Week"
3014
  msgstr ""
3015