Version Description
Download this release
Release Info
Developer | MyThemeShop |
Plugin | WordPress SEO Plugin – Rank Math |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- assets/admin/css/cmb2.css +5 -0
- assets/admin/css/common.css +5 -0
- assets/admin/css/dashboard.css +5 -0
- assets/admin/css/feedback.css +5 -0
- assets/admin/css/metabox.css +5 -0
- assets/admin/css/option-panel.css +5 -0
- assets/admin/css/post-list.css +5 -0
- assets/admin/css/setup-wizard.css +5 -0
- assets/admin/img/ajax-loader.gif +0 -0
- assets/admin/img/icon-gif.png +0 -0
- assets/admin/img/icon-play.png +0 -0
- assets/admin/img/logo.png +0 -0
- assets/admin/img/logo.svg +1 -0
- assets/admin/img/progressred.png +0 -0
- assets/admin/img/score-100.png +0 -0
- assets/admin/js/assessor.js +1 -0
- assets/admin/js/common.js +1 -0
- assets/admin/js/dashboard.js +1 -0
- assets/admin/js/feedback.js +1 -0
- assets/admin/js/import-export.js +1 -0
- assets/admin/js/jquery.tag-editor.js +1 -0
- assets/admin/js/option-panel.js +1 -0
- assets/admin/js/post-list.js +1 -0
- assets/admin/js/post-metabox.js +1 -0
- assets/admin/js/term-metabox.js +1 -0
- assets/admin/js/user-metabox.js +1 -0
- assets/admin/js/wizard.js +1 -0
- assets/admin/js/wplink.js +1 -0
- assets/front/css/modules/_base.css +0 -0
- assets/front/css/rank-math-contact-info.css +74 -0
- assets/front/css/rank-math.css +5 -0
- assets/front/img/rank-math-icon.svg +1 -0
- assets/front/js/rank-math.js +57 -0
- assets/vendor/clipboard.min.js +7 -0
- assets/vendor/jquery.caret.min.js +2 -0
- assets/vendor/powerwords.php +1 -0
- assets/vendor/select2/select2.min.css +1 -0
- assets/vendor/select2/select2.min.js +1 -0
- includes/admin/class-admin.php +701 -0
- includes/admin/class-cmb2-fields.php +124 -0
- includes/admin/class-helper.php +393 -0
- includes/admin/class-import-export.php +349 -0
- includes/admin/class-list-table.php +83 -0
- includes/admin/class-metabox.php +419 -0
- includes/admin/class-notices.php +101 -0
- includes/admin/class-options.php +322 -0
- includes/admin/class-page.php +268 -0
- includes/admin/class-post-columns.php +473 -0
- includes/admin/class-product-registration.php +410 -0
- includes/admin/class-serp-checklist.php +371 -0
- includes/admin/class-serp-preview.php +474 -0
- includes/admin/class-setup-wizard.php +481 -0
assets/admin/css/cmb2.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: cmb2.css
|
5 |
+
*/.cmb2-wrap .cmb-row{margin:0;padding:25px 0;border-bottom:1px solid #ededed}.cmb2-wrap .cmb-row.nob{border:0}.cmb2-wrap .cmb-row.nop{padding:0}.cmb2-wrap .cmb-row.nopt{padding-top:0}.cmb2-wrap .cmb-row.nopb{padding-bottom:0}.cmb2-wrap .cmb-row:not(.cmb-type-title):first-of-type{padding-top:0}.cmb2-wrap .cmb-row:not(.cmb-type-title):last-of-type{padding-bottom:0}.cmb2-wrap .cmb-row .cmb-td,.cmb2-wrap .cmb-row .cmb-th{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}.cmb2-wrap .cmb-row .cmb-th{width:20%;max-width:200px}.cmb2-wrap .cmb-row .cmb-th label{padding:10px 15px 0 0}.cmb2-wrap .cmb-row .cmb-td{float:left;width:80%}@media screen and (max-width: 640px){.cmb2-wrap .cmb-row .cmb-td,.cmb2-wrap .cmb-row .cmb-th{width:100%;padding:0}.cmb2-wrap .cmb-row .cmb-th label{padding:0 0 5px 2px}}.cmb2-wrap .cmb-row.cmb-row-25,.cmb2-wrap .cmb-row.cmb-row-33,.cmb2-wrap .cmb-row.cmb-row-50{display:inline-block}.cmb2-wrap .cmb-row.cmb-row-25 .cmb-td,.cmb2-wrap .cmb-row.cmb-row-25 .cmb-th,.cmb2-wrap .cmb-row.cmb-row-33 .cmb-td,.cmb2-wrap .cmb-row.cmb-row-33 .cmb-th,.cmb2-wrap .cmb-row.cmb-row-50 .cmb-td,.cmb2-wrap .cmb-row.cmb-row-50 .cmb-th{float:none;width:100%;max-width:100%;padding:0 10px}.cmb2-wrap .cmb-row.cmb-row-25 .cmb-th,.cmb2-wrap .cmb-row.cmb-row-33 .cmb-th,.cmb2-wrap .cmb-row.cmb-row-50 .cmb-th{margin-bottom:8px}.cmb2-wrap .cmb-row.cmb-row-25 .cmb-th label,.cmb2-wrap .cmb-row.cmb-row-33 .cmb-th label,.cmb2-wrap .cmb-row.cmb-row-50 .cmb-th label{padding:0}.cmb2-wrap .cmb-row.cmb-row-25{width:25%}.cmb2-wrap .cmb-row.cmb-row-33{width:33.33%}.cmb2-wrap .cmb-row.cmb-row-50{width:50%}.cmb2-wrap .cmb-row .cmb2-radio-list li label{border-left:0}.cmb2-wrap .cmb-row .cmb2-radio-list li:first-of-type label{border-left:1px solid #e5e5e5}.cmb2-wrap .cmb-row .cmb2-radio-list li:first-of-type label input:checked+label{border-left:1px solid #0392d4}.cmb2-wrap .cmb2-metabox-description{padding-top:10px;color:#888}.cmb2-wrap .cmb2-timepicker.text-time+.cmb2-metabox-description{display:block}.form-footer:not(.custom){-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:20px 40px;text-align:right;border-top:1px solid #ededed;background:#fbfbfb}.cmb-field-list>.cmb-row{vertical-align:top}.cmb2-wrap .cmb-row.cmb-type-file .cmb2-upload-button,.cmb2-wrap .cmb2-id-console-profile .button-primary,.cmb2-wrap .cmb2-id-console-authorization-code .button-primary{font-size:14px;line-height:46px;height:100%;padding:0 25px;text-decoration:none;color:#fff;border:1px solid #0392d4;border-radius:3px;background:#069de3;-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.2);text-shadow:none}.cmb2-wrap .cmb-row.cmb-type-file .cmb2-upload-button:hover,.cmb2-wrap .cmb2-id-console-profile .button-primary:hover,.cmb2-wrap .cmb2-id-console-authorization-code .button-primary:hover{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 1px 4px rgba(0,0,0,0.35);box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 1px 4px rgba(0,0,0,0.35)}.cmb2-wrap .cmb-type-notice{padding-bottom:0;border:0}.cmb2-wrap .cmb-type-notice .cmb-td{width:100%}.cmb2-wrap select,.cmb2-wrap textarea,.cmb2-wrap .regular-text,.cmb2-wrap .cmb2-text-small,.cmb2-wrap .cmb2-timepicker,.cmb2-wrap .select2-container--default .select2-selection--single{padding:.75em .6em;-webkit-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;border-color:#e5e5e5;border-radius:3px;-webkit-box-shadow:inset 0 1px 6px rgba(0,0,0,0.08);box-shadow:inset 0 1px 6px rgba(0,0,0,0.08);height:42px;width:100%}.cmb2-wrap select:hover,.cmb2-wrap select:focus,.cmb2-wrap textarea:hover,.cmb2-wrap textarea:focus,.cmb2-wrap .regular-text:hover,.cmb2-wrap .regular-text:focus,.cmb2-wrap .cmb2-text-small:hover,.cmb2-wrap .cmb2-text-small:focus,.cmb2-wrap .cmb2-timepicker:hover,.cmb2-wrap .cmb2-timepicker:focus,.cmb2-wrap .select2-container--default .select2-selection--single:hover,.cmb2-wrap .select2-container--default .select2-selection--single:focus{border-color:#0fa0e4}.cmb2-wrap select:focus,.cmb2-wrap textarea:focus,.cmb2-wrap .regular-text:focus,.cmb2-wrap .cmb2-text-small:focus,.cmb2-wrap .cmb2-timepicker:focus,.cmb2-wrap .select2-container--default .select2-selection--single:focus{background:#fff;-webkit-box-shadow:0 0 0 3px rgba(6,157,227,0.15);box-shadow:0 0 0 3px rgba(6,157,227,0.15)}.cmb2-wrap .regular-text[type='number']{height:auto;width:auto}.cmb2-wrap select{margin-top:0;padding-bottom:.6em;vertical-align:baseline}.cmb2-wrap textarea{height:auto}.cmb2-wrap textarea[data-autoresize]{overflow:hidden;resize:none}.cmb2-wrap input:not([type="hidden"])+input,.cmb2-wrap input:not([type="hidden"])+.button-secondary,.cmb2-wrap input:not([type="hidden"])+select{margin-left:0}.cmb2-wrap input[type=checkbox]:checked{border-color:#069de3;background:#069de3;-webkit-box-shadow:none !important;box-shadow:none !important}.cmb2-wrap input[type=checkbox]:checked:before{font-size:20px;color:#fff}.cmb2-wrap input.cmb2-upload-button{cursor:pointer}.cmb2-wrap .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:19px}.cmb2-wrap .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}.cmb2-wrap .cmb-td .rank-math-tooltip{margin-left:6px}.cmb2-wrap .cmb2-radio-list{position:relative}.cmb2-wrap .cmb2-radio-list:before,.cmb2-wrap .cmb2-radio-list:after{display:table;content:''}.cmb2-wrap .cmb2-radio-list:after{clear:both}.cmb2-wrap .cmb2-radio-list li{float:left;margin:0;padding:0}.cmb2-wrap .cmb2-radio-list li:first-child label{border-top-left-radius:3px;border-bottom-left-radius:3px}.cmb2-wrap .cmb2-radio-list li:last-child label{border-top-right-radius:3px;border-bottom-right-radius:3px}.cmb2-wrap .cmb2-radio-list input{display:none}.cmb2-wrap .cmb2-radio-list label{line-height:42px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;height:42px;padding:0 17px;white-space:nowrap;border:1px solid #e5e5e5;background:#f7f7f7;-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.08);box-shadow:0 2px 4px rgba(0,0,0,0.08)}.cmb2-wrap .cmb2-radio-list label:hover{cursor:pointer}.cmb2-wrap .cmb2-radio-list input:checked+label{color:#fff;border-color:#0392d4;background:#069de3}.cmb2-wrap .cmb-row.cmb-type-file .regular-text{display:inline-block;margin-right:0}.cmb2-wrap .cmb-row.cmb-type-file .regular-text:not([type="hidden"])+.cmb2-upload-button{line-height:41px;margin:0 0 0 -1px;border-top-left-radius:0;border-bottom-left-radius:0}.cmb2-wrap .cmb2-media-status .img-status img{width:auto !important}.cmb2-wrap .cmb2-media-status .img-status .cmb2-remove-file-button{font-size:0;line-height:38px;top:16px;right:1px;left:auto;text-align:center;text-indent:0;color:#fff;border:0;background:none;height:38px;width:38px}.cmb2-wrap .cmb2-media-status:hover .img-status img{border-color:#eac0c3}.cmb2-wrap .cmb2-media-status:hover .cmb2-remove-file-button{font-size:0;background:#eac0c3}.cmb2-wrap .cmb2-media-status:hover .cmb2-remove-file-button:before{font-family:dashicons;font-size:20px;font-weight:normal;font-style:normal;display:inline-block;content:'\f335';-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;text-align:center;vertical-align:top;text-decoration:none;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.cmb2-wrap .cmb-group-text-only .cmbhandle,.cmb2-wrap .cmb-group-text-only .cmbhandle-title,.cmb2-wrap .cmb-group-text-only>button{display:none}.cmb2-wrap .cmb-group-text-only .cmb-field-list,.cmb2-wrap .cmb-group-text-only .cmb-row,.cmb2-wrap .cmb-group-text-only .cmb-td{margin:0;padding:0;border:0;-webkit-box-shadow:none;box-shadow:none}.cmb2-wrap .cmb-group-text-only .cmb-th+.cmb-td{float:left}.cmb2-wrap .cmb-group-text-only .cmb-field-list{width:100%}.cmb2-wrap .cmb-group-text-only .cmb-field-list .cmb-repeatable-grouping>.cmb-remove-group-row{display:none}.cmb2-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-row{display:inline-block;width:43%;width:calc(43% - 10px)}.cmb2-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-row+.cmb-row{margin-left:10px}.cmb2-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-row .cmb-td{width:100%}.cmb2-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-remove-field-row{position:relative;width:auto;vertical-align:top}.cmb2-wrap .cmb-group-text-only .cmb-repeatable-grouping{width:100%;margin-bottom:10px}.cmb2-wrap .cmb-group-text-only .cmb-add-row{margin-top:0}.cmb2-wrap .cmb-group-text-only .cmb-add-row .cmb2-metabox-description{display:block;margin:4px 0 0;padding:0}.cmb2-wrap .cmb-type-title .cmb-td{width:100%}.cmb2-wrap .cmb-type-title .cmb2-metabox-title{font-size:25px;margin:0;padding:0}.cmb2-wrap .cmb-type-title .cmb2-metabox-description{padding-top:2px}.cmb2-wrap .cmb-remove-group-row-button{color:#a00;border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.cmb2-wrap .cmb-remove-group-row-button:hover{color:#dc3232}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .cmb-repeatable-grouping{margin-bottom:15px}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .cmb-repeatable-grouping+.cmb-row{padding:0}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .cmb-repeatable-grouping+.cmb-row .cmb-add-row{margin:0}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .cmb-group-title{margin:0 !important;padding-left:1.1em !important;cursor:pointer}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .cmbhandle{right:0}.cmb2-wrap .cmb-type-group.cmb-group-fix-me button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{right:1.8em;left:auto}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .cmb-repeatable-group.cmb-field-list{border:0}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .inside.cmb-field-list{width:100%;padding:25px !important}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .inside.cmb-field-list>.cmb-remove-field-row{display:none}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .inside.cmb-field-list>.cmb-row:nth-last-child(2){border:0}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .inside.cmb-field-list .cmb2-metabox-description{padding-bottom:0}.cmb2-wrap .cmb-type-group.cmb-group-fix-me .cmb-add-row span{display:block;margin:4px 0 0;padding:0}.cmb2-wrap .cmb-type-address .cmb-address-field{margin-bottom:5px}.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list{padding:0}.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list:before,.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list:after{display:table;content:''}.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list:after{clear:both}.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list li{position:relative;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;margin:0 0 15px;padding:0 8px}.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list li label{display:block;padding:10px 12px 10px 40px;border:1px solid #e5e5e5;border-radius:3px;background:#f7f7f7}.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list li input{-webkit-transform:translateY(-50%);transform:translateY(-50%);position:absolute;top:50%;left:21px}.cmb2-wrap .cmb-big-labels .cmb2-checkbox-list li input:checked+label{border-color:rgba(4,116,171,0.26);background:rgba(6,157,227,0.1)}.cmb2-wrap .cmb2-id-htaccess-content .cmb-td{width:100%}body.rtl .cmb2-media-status .img-status .cmb2-remove-file-button{right:auto;left:1px}body.rtl .cmb2-wrap .cmb2-radio-list li{float:right}body.rtl .cmb2-wrap .cmb2-radio-list li:first-child label{border-left:0;border-right:1px solid #e5e5e5;border-radius:0 3px 3px 0}body.rtl .cmb2-wrap .cmb2-radio-list li:last-child label{border-radius:3px 0 0 3px;border-left:1px solid #e5e5e5}body.rtl .cmb2-wrap .cmb-row .cmb-th label{padding-right:0;padding-left:15px}body.rtl .cmb2-wrap .cmb-row .cmb-td{float:right}body.rtl .cmb2-wrap .cmb-row .cmb-td .rank-math-tooltip{margin-right:6px;margin-left:0}body.rtl .cmb2-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-row+.cmb-row{margin-right:10px;margin-left:0}body.rtl .cmb2-wrap .cmb-big-labels .cmb2-checkbox-list li label{padding-right:40px;padding-left:12px}body.rtl .cmb2-wrap .cmb-big-labels .cmb2-checkbox-list li input{right:21px;left:auto}body.rtl .cmb2-wrap .cmb-big-labels .cmb2-checkbox-list li input[type=checkbox]:checked:before{margin-right:-2px}body.rtl .form-footer:not(.custom){text-align:left}
|
assets/admin/css/common.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: common.css
|
5 |
+
*/.rank-math-page{background:#e1e1e1}.rank-math-page h2.nav-tab-wrapper{margin-bottom:40px !important;background-color:transparent !important;border-top:none !important;border-bottom:1px solid #ccc !important}.rank-math-page .nav-tab{background:#ccc;padding:5px 15px;color:#000;font-weight:600;margin-left:.5em !important;border:1px solid #ccc;border-bottom:none}.rank-math-page .nav-tab-active,.rank-math-page .nav-tab-active:hover,.rank-math-page .nav-tab-active:focus,.rank-math-page .nav-tab-active:focus:active{border-bottom-color:#e1e1e1;background:#e1e1e1}.limit-wrap{max-width:1080px}.rank-math-wrap{font-size:15px;position:relative;margin:25px 40px 0 20px}.rank-math-wrap p{font-size:14px;line-height:1.5}.rank-math-wrap h1,.rank-math-wrap .page-title{font-size:2.8em;font-weight:400;line-height:1.2em;margin:.2em 200px 0 0;padding:0;color:#32373c}.rank-math-wrap h2{font-size:2.7em;font-weight:300;line-height:1.3;margin:40px 0 .6em;text-align:center}.rank-math-wrap .page-title{font-size:2em;font-weight:400;line-height:1;margin:35px 0 20px}.rank-math-wrap h3{font-size:1.4em;line-height:1.5;margin:1.25em 0 .6em}.rank-math-wrap h4{color:#23282d}.rank-math-wrap ol li p{font-size:14px;font-weight:400}.rank-math-wrap .rank-math-text{font-size:19px;font-weight:400;line-height:1.6em;min-height:40px;margin:1em 200px 1em 0;margin-top:1.4em;color:#555d66}.rank-math-wrap .nav-tab{font-size:18px;padding-right:15px;padding-left:15px}@media only screen and (max-width: 500px){.rank-math-wrap{margin-right:20px;margin-left:10px}.rank-math-wrap h1,.rank-math-wrap .rank-math-text{margin-right:0}.rank-math-wrap .rank-math-text{margin-bottom:.25em}}.two-col,.three-col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:space-between}.two-col .col,.three-col .col{-webkit-box-flex:1;-ms-flex:1;flex:1}.two-col .col{min-width:49%;max-width:49%}.three-col .col{min-width:32%;max-width:32%;-webkit-align-self:flex-start;align-self:flex-start;-ms-flex-item-align:start}@media only screen and (max-width: 500px){.two-col .col,.three-col .col{min-width:100% !important}}.rank-math-box{position:relative;margin-bottom:30px;background:#fff}.rank-math-box.switch-at-top .rank-math-switch{position:absolute;top:-12px;right:0}.rank-math-box.switch-at-top header{padding:0 20px}.rank-math-box.switch-at-top header h3{padding-top:14px}.rank-math-box header{line-height:55px;padding:14px 20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom:1px solid #e5e5e5;border-bottom:1px solid rgba(0,0,0,0.1)}.rank-math-box header h3{position:relative;z-index:1;margin:0;vertical-align:middle}.rank-math-box header p{margin-top:0}.rank-math-box-content{font-size:13px;font-weight:400;line-height:17px;position:relative;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;min-height:262px;padding:30px 20px 20px}.rank-math-box-content .rank-math-list-icon .dashicons-before{float:left;margin-right:5px}.rank-math-box-content form .frm-submit{margin:1em 0}.rank-math-box-content form .frm-submit p{display:inline-block;margin-left:10px}.rank-math-ui .button-primary{border-color:#0195d9;background:#069de3;-webkit-box-shadow:0 1px 2px 0 rgba(35,40,45,0.2);box-shadow:0 1px 2px 0 rgba(35,40,45,0.2);text-shadow:none}.rank-math-ui .button-primary:focus,.rank-math-ui .button-primary:hover{border-color:#076fa2;background:#0474ab;-webkit-box-shadow:0 1px 4px 0 rgba(35,40,45,0.2);box-shadow:0 1px 4px 0 rgba(35,40,45,0.2)}.rank-math-ui .button-link{border:0 !important;background:transparent !important;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-ui .button-xlarge{font-size:16px;line-height:44px;height:46px;padding:0 36px}.rank-math-ui .button .dashicons{margin:0 3px 0 0}.rank-math-tabs-navigation:not(.custom){float:left;width:200px;margin-right:-1px}.rank-math-tabs-navigation:not(.custom) a{font-size:16px;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;padding:11px 15px;text-decoration:none;color:#6c6c6c;border:solid #e5e5e5;border-width:0 1px 1px;outline:none;background:#f6f6f6;-webkit-box-shadow:none;box-shadow:none}.rank-math-tabs-navigation:not(.custom) a .dashicons,.rank-math-tabs-navigation:not(.custom) a .fa{font-size:18px;min-width:20px;margin-right:10px;text-align:center;color:#6c6c6c}.rank-math-tabs-navigation:not(.custom) a.active,.rank-math-tabs-navigation:not(.custom) a:focus,.rank-math-tabs-navigation:not(.custom) a:hover{color:#fff;border-right-color:#0474ab;background:#0474ab}.rank-math-tabs-navigation:not(.custom) a.active .dashicons,.rank-math-tabs-navigation:not(.custom) a.active .fa,.rank-math-tabs-navigation:not(.custom) a:focus .dashicons,.rank-math-tabs-navigation:not(.custom) a:focus .fa,.rank-math-tabs-navigation:not(.custom) a:hover .dashicons,.rank-math-tabs-navigation:not(.custom) a:hover .fa{color:#fff}.rank-math-tabs-navigation:not(.custom) a:first-child{border-top:1px solid #e5e5e5}.rank-math-tabs-content:not(.custom){overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:400px;margin-bottom:20px;padding:30px;border:1px solid #e5e5e5;background:#fff}.rank-math-tab h3:first-of-type{margin-top:0}.rank-math-tab .cmb-type-title:first-of-type{padding-top:0;text-align:center;border-top:0}.rank-math-tab .cmb2-checkbox-list li{display:inline-block;width:49%}.rank-math-tooltip{position:relative;cursor:pointer;color:#069de3}.rank-math-tooltip>span{font-size:11px;font-weight:400;line-height:1.5;width:200px;padding:8px 10px;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-transform:translate3d(-50%, 0, 0);transform:translate3d(-50%, 0, 0);text-align:center;pointer-events:none;opacity:0;color:#fff;border-radius:3px;background:#555d66;position:absolute;bottom:100%;left:50%}.rank-math-tooltip>span:after{content:'';-webkit-transform:translate3d(-50%, 0, 0);transform:translate3d(-50%, 0, 0);position:absolute;top:100%;left:50%;border-style:solid;height:0;width:0;border-color:#555d66 transparent transparent;border-width:8px 7px 0}.rank-math-tooltip:hover span{bottom:130%;opacity:1}.rank-math-export-form{padding:15px 25px;border-radius:4px;background:#fff;-webkit-box-shadow:6px 6px 10px rgba(32,33,36,0.1);box-shadow:6px 6px 10px rgba(32,33,36,0.1)}.rank-math-export-form+.rank-math-export-form{margin-top:30px}.rank-math-export-form th,.rank-math-export-form td{padding:0}.rank-math-export-form h3{margin-top:0}.rank-math-export-form footer{padding-top:10px}.invalid,.widefat.invalid,.wp-admin .invalid,.wp-admin .widefat.invalid{border-color:#dd2c00 !important;background:pink}.invalid ~ .validation-message,.widefat.invalid ~ .validation-message,.wp-admin .invalid ~ .validation-message,.wp-admin .widefat.invalid ~ .validation-message{display:inline-block}.validation-message{font-size:12px;font-style:italic;display:none;overflow:hidden;margin-top:5px;margin-left:2px;padding:4px 8px;-webkit-transition:.28s;transition:.28s;vertical-align:middle;color:#fff;border-radius:3px;background:#dd2c00}.input-loading{background:url("../img/ajax-loader.gif") no-repeat 98% center}span.input-loading{display:inline-block;margin:10px 0 0 7px;height:16px;width:16px}body .cmb2-wrap .cmb2-id-console-profile .regular-text,body .cmb2-wrap .cmb2-id-console-profile select,body .cmb2-wrap .cmb2-id-console-authorization-code .regular-text,body .cmb2-wrap .cmb2-id-console-authorization-code select{display:inline-block;max-width:60%;margin-right:10px}body .cmb2-wrap .cmb2-id-console-profile .button,body .cmb2-wrap .cmb2-id-console-authorization-code .button{line-height:41px;height:auto;margin-right:8px;padding:0 25px}body .cmb2-wrap .cmb2-id-console-authorization-code .button-secondary{margin-top:5px}.wizard-share{display:inline-block;margin-top:3px;margin-left:10px;vertical-align:3px}.wizard-share a{font-size:12px;font-weight:700;display:inline-block;margin-left:5px;padding:8px 20px 8px 15px;text-decoration:none;color:#fff;border-radius:20px;background:#3b5998}.wizard-share a.share-twitter{background:#55acee}.wizard-share .dashicons{font-size:16px;margin:0 5px 0 0 !important;vertical-align:middle}body.rtl .rank-math-wrap h1,body.rtl .rank-math-wrap .page-title{margin-right:0;margin-left:200px}body.rtl .rank-math-wrap .rank-math-text{margin-right:0;margin-left:200px}body.rtl .rank-math-tabs-navigation:not(.custom){float:right;margin-right:0;margin-left:-1px}body.rtl .rank-math-tabs-navigation:not(.custom) a .fa,body.rtl .rank-math-tabs-navigation:not(.custom) a .dashicons{margin-right:0;margin-left:10px}body.rtl .rank-math-wrap-settings .form-footer{margin-right:200px;margin-left:0}body.rtl.wp-core-ui .rank-math-variables-button,body.rtl .serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active .cmb-row.cmb2-id-rank-math-title .rank-math-variables-button{right:auto;left:1px;border-width:0 1px 0 0}body.rtl .cmb2-wrap .cmb-type-textarea .button,body.rtl .cmb2-wrap .cmb-type-textarea-small .button{border-width:1px 1px 0 0}body.rtl .rank-math-variables-dropdown li:after{right:auto;left:10px}body.rtl .rank-math-ui .button .dashicons{margin:0 0 0 3px}.rank-math-variables-preview,.rank-math-preview-title{font-family:arial, sans-serif;max-width:600px;margin-top:15px;color:#1a0dab;border-radius:4px}.rank-math-variables-preview:empty,.rank-math-preview-title:empty{display:none}.rank-math-variables-preview:before,.rank-math-preview-title:before{font-size:10px;font-weight:600;display:block;margin:0 0 8px;content:attr(data-title);letter-spacing:.15em;text-transform:uppercase;color:#aaa}.rank-math-variables-wrap{position:relative}.rank-math-variables-wrap input,.rank-math-variables-wrap textarea{padding-right:50px !important}.cmb2-wrap .cmb-type-textarea .button,.cmb2-wrap .cmb-type-textarea-small .button{top:auto;bottom:1px;border-width:1px 0 0 1px;border-radius:3px 0 3px 0}.cmb2-wrap .cmb-type-textarea .button+.rank-math-variables-dropdown,.cmb2-wrap .cmb-type-textarea-small .button+.rank-math-variables-dropdown{top:98px;right:0}.cmb2-wrap .cmb-type-textarea textarea,.cmb2-wrap .cmb-type-textarea-small textarea{display:block;resize:none}body.wp-core-ui .rank-math-variables-button{line-height:41px;height:auto;padding:0 10px;border-width:0 0 0 1px;border-color:#e5e5e5 !important;border-radius:0 3px 3px 0;-webkit-box-shadow:none;box-shadow:none;position:absolute;top:2px;right:1px;bottom:2px}body.wp-core-ui .rank-math-variables-button .dashicons{font-size:20px;line-height:41px;height:auto}.rank-math-variables-dropdown{z-index:999;display:none;overflow:auto;max-width:450px;border:1px solid #e5e5e5;background:#fff;position:absolute;top:42px;right:0;height:220px;width:80%}.rank-math-variables-dropdown input[type='text']{margin:10px;background:#fffff8;-webkit-box-shadow:none !important;box-shadow:none !important;height:34px;width:calc(100% - 20px)}.rank-math-variables-dropdown li{font-size:12px;position:relative;margin:0;padding:10px;cursor:pointer;border-bottom:1px solid #e5e5e5}.rank-math-variables-dropdown li span{font-style:italic;display:block;padding-top:.2em;color:#888}.rank-math-variables-dropdown li:hover{background:#f6f6f6}.rank-math-variables-dropdown li:after{display:inline-block;margin-top:3px;padding:.25em .4em;content:attr(data-var);white-space:nowrap;border-radius:.25rem;background-color:#f1f1f1;position:absolute;top:4px;right:10px}.dropdown-up .rank-math-variables-dropdown{top:auto;bottom:100%}.rank-math-preview-title>div{display:inline-block;min-width:400px}.rank-math-preview-title h5{font-size:18px;font-weight:normal;line-height:22px;margin:0}.rank-math-preview-title span{line-height:16px;height:17px;color:#006621}.list-table{border:1px solid #e5e5e5;border-radius:4px}.list-table+.notice{margin-top:10px}.list-table .empty-notice{font-weight:600;padding-left:15px}.list-table table{margin:0}.list-table th,.list-table td{padding:12px 15px;border-bottom:1px solid #e5e5e5}.list-table tr:last-child th,.list-table tr:last-child td{border:0}.list-table th strong{font-size:16px;display:block}.list-table .cmb2-checkbox-list li{display:inline-block;width:48%;margin:10px 0 0}.list-table .cmb2-checkbox-list label{font-weight:400}.list-table.with-action th{width:auto;vertical-align:middle}.list-table.with-action td:last-child{width:140px;text-align:right}.list-table.with-action td:last-child .button+.button{margin-left:5px}.list-table.with-action.at-top td:last-child{vertical-align:top}.list-table.with-action .choices td{padding-top:0;text-align:left}.list-table.with-action .importer-header th,.list-table.with-action .importer-header td{border-bottom:none}@media screen and (max-width: 1020px){body .rank-math-wrap h1,body .rank-math-wrap .page-title,body .rank-math-wrap .rank-math-text{margin-right:0}body .rank-math-wrap .nav-tab{margin-bottom:10px;border-bottom:1px solid #ccc}}@media screen and (max-width: 782px){.form-table input.regular-text{height:36px}body .cmb2-wrap select{padding:0}body .rank-math-wrap .cmb-row.cmb-type-file .regular-text:not([type='hidden'])+.cmb2-upload-button{line-height:35px}body .rank-math-wrap .rank-math-search-options .search-field input{width:200px;height:36px}body .rank-math-wrap .cmb2-id-console-profile select{max-width:100%}body .rank-math-wrap .cmb2-id-console-profile button{margin-top:5px}body .rank-math-wrap .rank-math-rss-variables thead th,body .rank-math-wrap .rank-math-rss-variables tbody td{margin-bottom:0}body .rank-math-wrap input[type=checkbox]:checked:before,body .rank-math-wrap .cmb2-wrap input[type=checkbox]:checked:before{font-size:30px}body #rank-math-redirection-popup .media-modal{left:0;height:100%}body .rank-math-wrap .module-listing .two-col .col{width:100%;min-width:100%;max-width:100%}body .rank-math-wrap .rank-math-systm-status td,body .rank-math-wrap .rank-math-systm-status th{border:0;border-bottom:1px solid #ededed}}@media only screen and (max-width: 768px){body .rank-math-wrap .rank-math-tabs-navigation:not(.custom),body .rank-math-wrap.rank-math-wrap-settings .form-footer{width:100%;margin:0}}@media only screen and (max-width: 640px){body .rank-math-wrap .rank-math-tabs-content:not(.custom){padding:15px}body .rank-math-wrap .rank-math-search-options{width:100%;margin-bottom:15px}body .cmb2-wrap .cmb-row{padding:15px 0}body .rank-math-wrap .cmb-row .cmb-th{max-width:100%;margin-bottom:5px}body .rank-math-wrap .rank-math-ui.settings-footer input{padding:0 25px}body .rank-math-wrap .rank-math-box-help.two-col .col{width:100%;min-width:100%;max-width:100%}body .rank-math-social-preview-item{padding:10px}}@media only screen and (max-width: 595px){body .rank-math-wrap h1,body .rank-math-wrap .page-title{font-size:30px}body .rank-math-wrap .rank-math-text{font-size:15px;margin-top:10px}body .rank-math-wrap h2.nav-tab-wrapper{margin-bottom:15px}body .rank-math-wrap .cmb-group-text-only .cmb-field-list .cmb-field-list>.cmb-remove-field-row{padding-top:0}body .rank-math-wrap .cmb2-wrap .cmb-row.cmb-type-file .regular-text{width:100%;margin-top:5px;border-radius:3px}body .rank-math-metabox-wrap .rank-math-tab{padding:15px}body .rank-math-redirections-wrap .wp-heading-inline a{display:inline-block}body .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .dashicons{font-size:18px;margin-right:0;padding-bottom:2px;padding-left:2px}body .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .rank-math-tab-text{display:none}body .cmb2-wrap .cmb-row.cmb-row-33,body .cmb2-wrap .cmb-row.cmb-row-50{width:100%}body .cmb2-wrap .cmb-row.cmb-row-33 .cmb-th,body .cmb2-wrap .cmb-row.cmb-row-33 .cmb-td,body .cmb2-wrap .cmb-row.cmb-row-50 .cmb-th,body .cmb2-wrap .cmb-row.cmb-row-50 .cmb-td{padding:0}}
|
assets/admin/css/dashboard.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: common.css
|
5 |
+
*/.rank-math-list-icon{margin:0}.rank-math-list-icon li span:before{font-size:30px;height:35px;width:40px}.rank-math-list-icon li>div{overflow:hidden}.rank-math-list-icon li strong{font-weight:600;display:block;margin-bottom:-.8em;color:#000}.rank-math-switch input[type=checkbox]{visibility:hidden;height:0;width:0}.rank-math-switch label{position:relative;display:block;cursor:pointer;text-indent:-9999px;border-radius:100px;background:#ddd;height:24px;width:44px}.rank-math-switch label:after{position:absolute;top:2px;left:2px;content:'';-webkit-transition:.4s;transition:.4s;border-radius:90px;background:#fff;height:20px;width:20px}.rank-math-switch input:checked+label{background:#528fcc}.rank-math-switch input:checked+label:after{-webkit-transform:translateX(100%);transform:translateX(100%)}.module-listing .rank-math-box{min-height:155px;padding:35px 17px 17px;border:1px solid #d8d8d8}.module-listing .rank-math-box>.dashicons{font-size:60px;float:left;color:#ccc;height:60px;width:60px}.module-listing .rank-math-box header{overflow:hidden;padding:2px 0 0 20px;border:0}.module-listing .status{clear:both;-webkit-box-sizing:border-box;box-sizing:border-box;height:52px;margin-top:20px;padding:6px 15px;border:1px solid #e5e5e5;border-radius:3px;background:#f9f9f9}.module-listing .status label{line-height:40px;color:#77797c}.module-listing .status label span{color:#bebfc0}.module-listing .status label.rank-math-tooltip span{text-indent:0;color:#fff}.module-listing .status.active label span{color:#58bb58}.module-listing .status .rank-math-switch{float:right;padding:10px 0}.module-listing .status .rank-math-switch input{display:none}.module-listing .status .rank-math-switch input:checked+label{background:#58bb58}.module-listing .status .rank-math-switch input:checked+label:after{left:6px}.module-listing .status .rank-math-switch label{float:right;height:18px;width:36px}.module-listing .status .rank-math-switch label:after{height:14px;width:14px}.module-listing .status .rank-math-switch .rank-math-tooltip span{top:50%;right:45px;bottom:auto;left:auto;width:110px;-webkit-transform:translate3d(-70%, -50%, 0);transform:translate3d(-70%, -50%, 0)}.module-listing .status .rank-math-switch .rank-math-tooltip span:after{top:50%;right:-8px;left:auto;width:0;height:0;content:'';-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);border-width:7px 0 7px 8px;border-style:solid;border-color:transparent transparent transparent #555d66}.module-listing .status .rank-math-switch .rank-math-tooltip:hover span{bottom:auto;-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);opacity:1}.rank-math-welcome-text{padding:10px 30px;border:1px solid #d8d8d8;border-radius:3px;-webkit-box-shadow:4px 4px 20px rgba(0,0,0,0.12);box-shadow:4px 4px 20px rgba(0,0,0,0.12)}.rank-math-welcome-text p.rank-math-text{margin-right:0}.rank-math-box header .button{font-weight:600;position:absolute;top:16px;right:20px;color:#fff;border:0;border-radius:4px;-webkit-box-shadow:none;box-shadow:none}.rank-math-box.status-green header h3{color:#58bb58}.rank-math-box.status-green header .button{background:#58bb58}.rank-math-box.status-red header h3{color:#ee6a5e}.rank-math-box.status-red header .button{background:#ee6a5e}.rank-math-box .regular-text.fullwidth{width:100%;margin-top:5px;padding:12px;vertical-align:top;color:#777;border-color:#ddd;background:#e5e5e5;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-box .regular-text.fullwidth:focus{background:#f5f5f5}.rank-math-box .frm-gather-data{overflow:hidden}.rank-math-box .frm-gather-data input{float:left;margin-top:6px;margin-right:8px}.rank-math-box .frm-gather-data label{line-height:1.6;float:left;width:97%;color:#8c8c8c}.rank-math-systm-status{border-collapse:collapse}.rank-math-systm-status td,.rank-math-systm-status th{border:1px solid #ededed}.rank-math-systm-status td:first-child{width:33%}.rank-math-systm-status thead th{font-weight:700}.rank-math-systm-status .rank-math-tooltip{float:right}.rank-math-systm-status+.rank-math-systm-status{margin-top:40px}#debug-report{display:none}#debug-report textarea{font-family:monospace;font-size:12px;line-height:20px;margin:0;padding:20px;resize:none;border-radius:0;outline:0;height:300px;width:100%}body.rtl .module-listing .rank-math-box>.dashicons{float:right}body.rtl .module-listing .rank-math-box header{padding-right:20px;padding-left:0}body.rtl .module-listing .status .rank-math-switch{float:left}body.rtl .module-listing .status .rank-math-switch label{float:left}body.rtl .module-listing .status .rank-math-switch strong{float:right;margin-left:12px}body.rtl .rank-math-box header .button{right:auto;left:20px}body.rtl .rank-math-systm-status .rank-math-tooltip{float:left}
|
assets/admin/css/feedback.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: feedback.css
|
5 |
+
*/.rank-math-feedback-modal{z-index:11000;display:none;background:rgba(0,0,0,0.2);position:fixed;top:0;right:0;bottom:0;left:0}.rank-math-feedback-modal h2{margin:0;font-weight:700;-webkit-box-shadow:0 0 12px 0 #b9b9b9;box-shadow:0 0 12px 0 #b9b9b9}.rank-math-feedback-modal h2,.rank-math-feedback-modal p{padding:15px 20px;color:#21262b}.rank-math-feedback-modal form{padding:0 20px}.rank-math-feedback-modal .button-close{cursor:pointer}.rank-math-feedback-modal .button-link{font-weight:600}.rank-math-feedback-modal footer{padding:20px 0}.rank-math-feedback-modal footer .button{text-decoration:none}.rank-math-feedback-modal footer .button.loading{border:0;background:url(../img/ajax-loader.gif) center no-repeat}.rank-math-feedback-content{width:440px;margin:auto;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border-radius:4px;background:#fff;-webkit-box-shadow:10px 10px 40px rgba(0,0,0,0.3);box-shadow:10px 10px 40px rgba(0,0,0,0.3);position:absolute;top:50%;left:50%}.rank-math-feedback-input-wrapper{margin-bottom:5px}.rank-math-feedback-input-wrapper input{margin-top:2px;margin-right:8px}.rank-math-feedback-input-wrapper label{font-size:14px;color:#666}.rank-math-feedback-input-wrapper .regular-text{display:none;margin:7px 0 10px 27px}.rank-math-feedback-input-wrapper.checked .regular-text{display:block}
|
assets/admin/css/metabox.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: metabox.css
|
5 |
+
*/#rank_math_metabox .inside{margin:0;padding:0}.rank-math-metabox-frame{position:relative;min-width:255px;max-width:1000px;margin-bottom:25px;border:1px solid #e5e5e5;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.rank-math-metabox-frame-title{font-size:14px;line-height:1.4;margin:0;padding:8px 12px;border-bottom:1px solid #e5e5e5}.rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation){padding:30px 20px 0;border-bottom:1px solid #e5e5e5;background:#fafafa}.rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a{font-size:14px;font-weight:600;position:relative;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:7px;padding:8px 16px 4px 12px;white-space:nowrap;text-decoration:none;color:#555;border:1px solid #e6e6e6;border-bottom:0;outline:none;background:#f5f5f5;-webkit-box-shadow:none;box-shadow:none}@media (max-width: 768px){.rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a{margin-left:-1px;padding:8px 12px 4px 8px}}.rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .dashicons,.rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .fa{font-size:14px;line-height:inherit;min-width:20px;text-align:center}.rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a.active{bottom:-1px;margin-top:-1px;padding-bottom:5px;color:#069de3;border-top-color:#069de3;background:#fff}.rank-math-metabox-wrap .social-tabs-navigation{display:inline-block;border-radius:3px;-webkit-box-shadow:0 1px 6px 0 rgba(35,40,45,0.18);box-shadow:0 1px 6px 0 rgba(35,40,45,0.18)}.rank-math-metabox-wrap .social-tabs-navigation-wrapper{padding-bottom:30px;text-align:center}.rank-math-metabox-wrap .social-tabs-navigation a{font-size:16px;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:130px;padding:11px;text-decoration:none;color:#939393;border:1px solid #e5e5e5;outline:none;background:#efefef;-webkit-box-shadow:none;box-shadow:none}.rank-math-metabox-wrap .social-tabs-navigation a .dashicons{margin-right:8px}.rank-math-metabox-wrap .social-tabs-navigation .tab-facebook{border-right:0;border-radius:3px 0 0 3px}.rank-math-metabox-wrap .social-tabs-navigation .tab-facebook.tab-active{color:#fff;border-color:#3b5998;background:#3b5998}.rank-math-metabox-wrap .social-tabs-navigation .tab-twitter{border-left:0;border-radius:0 3px 3px 0}.rank-math-metabox-wrap .social-tabs-navigation .tab-twitter.tab-active{color:#fff;border-color:#55acee;background:#55acee}.rank-math-metabox-wrap .rank-math-tab{display:none;padding:30px}.serp-preview .highlight{pointer-events:none}.serp-preview-title:before{font-size:13px;font-weight:600;display:inline-block;padding-bottom:6px;content:attr(data-title);letter-spacing:.05em;text-transform:uppercase}.serp-preview-wrapper{position:relative;-webkit-transition:all .6s ease;transition:all .6s ease}.serp-preview-body{padding:15px 0;-webkit-transition:width .5s ease, padding .5s ease, margin .5s ease;transition:width .5s ease, padding .5s ease, margin .5s ease}.serp-preview-body .serp-star-rating{display:inline-block;position:relative;color:#ccc;margin-right:5px}.serp-preview-body .serp-star-rating .dashicons{font-size:16px;width:16px;height:16px}.serp-preview-body .serp-star-rating .serp-result{position:absolute;top:0;left:0;height:22px;overflow:hidden;white-space:nowrap;color:#e7711b}.serp-preview-body .cmb-row .cmb-td{width:100%;max-width:680px}.serp-preview-footer{padding:15px 0}.serp-preview-footer .button.button-secondary{line-height:41px;padding:0 12px}.serp-preview-footer .button.button-secondary .dashicons{font-size:20px;line-height:41px}.serp-preview-bg{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:opacity .5s ease, height .5s ease;transition:opacity .5s ease, height .5s ease;opacity:0;background-color:#fafafa;height:0;width:100%}.serp-preview-bg .serp-preview-input{position:relative;max-width:600px;pointer-events:none}.serp-preview-bg .serp-preview-input input{font:16px arial,sans-serif;padding:5px 9px 5px 16px;-webkit-transition:-webkit-box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);vertical-align:top;color:#000;border:none;border-radius:2px;outline:none;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.16),0 0 0 1px rgba(0,0,0,0.08);box-shadow:0 2px 2px 0 rgba(0,0,0,0.16),0 0 0 1px rgba(0,0,0,0.08);height:44px;width:100%}.serp-preview-bg .serp-preview-input .serp-mike{position:absolute;top:0;right:50px;bottom:0;display:inline-block;width:24px;padding:0 2px 0 8px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACrElEQVR42u2Xz2sTQRSAX8VSb1K8iNqKooJH2Ux6Ksn+iPQqxZMIehJB0do/IMhmQWsvHr2KSEGk0tSLIoWIYNUKij20F2/N7iaUZnYT0kYzzhMKs0HDJiTdLcwHDwKZSd63781LBiQSSW9JZdkhzfKm1Rz9mjZp/W9YdEU3vXv4HsQZ40FtNG36q5rls//Ej4tmbSS2T15Mvp3ExOPmEMQNbBtMMEyoljcFcQN7PqyAlqNfIG7gYQ0tYNIaxA1MrJPY3wImbUqBKAXSFv0tBSIVMOkvKRDtGKWN/T6FdqRAxFNoWwpEPIXqUqBT6ALU/UVgu8GW4GD3f6f9TRDYNJTDrk7YbtiqUumHwIYoUJuHERDAS0r4CvgFECgbY+cFAR7KT+g1POmCKFDNw6WggHc3fBtVb4CAoyauBgXIG+g1Xh5mRAGah6cggBd11fK/h7lOprIs0H6uRl6KAo5O7kOv4QmPiwJ4Jqqv4FiwCtXjvD2+tRmfK6kZ/ygI2HritK0rDVGgrClJ6DWMwYC/AGuCBMYcIC2V0CzvjmbRz3j3xUjn6CfeYreUJ2wQkGD75INPX1mFfsEFrrcIYCvdhC4paWQakxajpJMr0C9YFg54i7AsClRmh9/xnr0NHcInzZStk2aLwAcGMAD9pPIazvFKVDD5rdnhJeHLX5RTyRPQHpz5o66emMc9wdlPtvA8wF7Aq2BUHh1525qEo5JtR1WeOXpickO9cJIpyuD6xJmhYiZ5ytWSl3mlnuOaf+2zDaLDXmJrSgZ/MYVEugo+gSh+FkSBa4yd5Ul87DZ5XpFl/AyIEjzYjkau8WqshU2cr13HPbgX4gJOD97n465GZlyVvC9mSKloKI2iTnbwNT+gBX54H+IaXAtxJzE3ycSAFqSAFJACUkAikXD+AHj5/wx2o5osAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:right center;background-size:24px 24px}.serp-preview-bg .serp-preview-input .serp-search{line-height:46px;position:absolute;top:0;right:15px;bottom:0;height:46px;text-align:center;border:0;outline:0}.serp-preview-bg .serp-preview-input .serp-search svg{width:25px;height:46px;fill:#4285f4}.serp-preview-bg .serp-preview-menus{overflow:hidden;max-width:600px}.serp-preview-bg .serp-preview-menus ul{float:left;overflow:hidden;margin:0;padding:0;list-style:none}.serp-preview-bg .serp-preview-menus ul li{font-family:arial,sans-serif;font-size:13px;line-height:19px;float:left;height:15px;margin:0;padding:28px 16px 12px;color:#777}.serp-preview-bg .serp-preview-menus ul li.current{font-weight:bold;color:#1a73e8;border-bottom:3px solid #1a73e8}.serp-preview-bg .serp-preview-menus ul.menus-right{float:right}.serp-preview-bg .serp-preview-result-stats{font-family:arial,sans-serif;font-size:small;line-height:43px;margin:0 -20px;padding-right:20px;padding-left:20px;white-space:nowrap;text-overflow:ellipsis;color:#808080;background-color:#fff}.serp-preview-noindex{z-index:1;display:none;padding:15px 0;background:rgba(255,255,255,0.8);position:absolute;top:0;right:0;bottom:0;left:0}.serp-preview-noindex h3{font-weight:700;margin:0;letter-spacing:1px;text-transform:uppercase}.serp-preview-noindex p{font-size:14px;line-height:2;margin:5px 0;color:#000}.serp-preview .serp-description,.serp-preview .serp-title,.serp-preview .serp-url{font-family:arial, sans-serif;position:relative;z-index:1;display:block;overflow:hidden;width:100%;max-width:680px;margin:0;cursor:pointer}.serp-preview .serp-description:focus:before,.serp-preview .serp-description:hover:before,.serp-preview .serp-title:focus:before,.serp-preview .serp-title:hover:before,.serp-preview .serp-url:focus:before,.serp-preview .serp-url:hover:before{font-family:dashicons;z-index:-1;content:'\f464';text-align:right;background:#f0f1f3;position:absolute;top:0;right:0;bottom:0;left:0}.serp-preview .serp-description:empty:after,.serp-preview .serp-title:empty:after,.serp-preview .serp-url:empty:after{content:attr(data-empty-title)}.serp-preview .serp-title{font-size:18px;font-weight:normal;line-height:19px;white-space:nowrap;text-overflow:ellipsis;color:#1a0dab}.serp-preview .serp-url{font-size:14px;line-height:16px;margin:3px 0 5px;white-space:nowrap;text-overflow:ellipsis;color:#006621}.serp-preview .serp-description{font-size:13px;line-height:1.4;clear:left;word-wrap:break-word;color:#545454}.serp-preview .group{position:relative}.serp-preview .group .cmb-row{display:none;padding:20px 0 !important;border:0}.serp-preview .group .serp-close{position:absolute;top:10px;right:10px;display:none;cursor:pointer}.serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active{margin-top:20px;padding:30px 20px 20px;background:#f6f6f6}.serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active .cmb-row{display:block}.serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active .cmb-row.cmb2-id-rank-math-title .rank-math-variables-button{right:0}.serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active .cmb-row.cmb2-id-rank-math-description .rank-math-variables-dropdown{top:60px}.serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active .serp-close{display:block}.serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active+.group,.serp-preview:not(.expanded-preview):not(.mobile-preview) .group+.group.active{margin-top:20px}.serp-preview:not(.expanded-preview):not(.mobile-preview) .group.active+.group+.serp-rating,.serp-preview:not(.expanded-preview):not(.mobile-preview) .group+.group.active+.serp-rating{display:none}.serp-preview .button{height:auto;padding:0 5px;outline:0}.serp-preview .button,.serp-preview .button .dashicons{font-size:15px;line-height:30px;height:auto}.serp-preview .button-secondary{margin-bottom:0;color:#818181;border-color:#e5e5e5;background:#fff !important;-webkit-box-shadow:0 1px 2px 0 #e5e5e5 !important;box-shadow:0 1px 2px 0 #e5e5e5 !important}.serp-preview .button-secondary.active,.serp-preview .button-secondary.active:hover{color:#fff;border-color:#0392d4;background:#069de3 !important}.serp-preview .button-secondary:hover{color:#069de3;border-color:#0392d4}.serp-preview-title .alignright{margin-top:-9px}.serp-preview.desktop-preview .serp-snippet-mobile{display:none}.serp-preview.desktop-preview .serp-snippet-data{color:#808080;line-height:18px;font-size:small;font-weight:normal;margin-bottom:3px}.serp-preview.desktop-preview .serp-snippet-data .serp-desktop-rating{float:left;margin-top:1px}.serp-preview.desktop-preview .serp-snippet-data .separator:first-child{display:none}.serp-preview.desktop-preview .serp-snippet-data .serp-event_name{color:#1a0dab;cursor:pointer}.serp-preview.desktop-preview .serp-snippet-data .serp-event_name:hover{text-decoration:underline}.serp-preview.desktop-preview .serp-snippet-data .serp-event_name,.serp-preview.desktop-preview .serp-snippet-data .serp-event_place{padding-left:15px}.serp-preview.desktop-preview .serp-preview-footer .alignright .dashicons{margin-right:0}.serp-preview.mobile-preview.expanded-preview .group:nth-child(2){margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #dfe1e5}.serp-preview.mobile-preview .serp-snippet-mobile{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;margin:8px -5px 0}.serp-preview.mobile-preview .serp-snippet-mobile .inner-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:5px;margin-right:5px}.serp-preview.mobile-preview .serp-snippet-mobile .inner-wrapper .serp-mobile-label{display:block;font-size:14px;line-height:20px;margin-bottom:4px;color:#202124;font-weight:500}.serp-preview.mobile-preview .serp-snippet-mobile .inner-wrapper .serp-rating-count{float:left}.serp-preview.mobile-preview .serp-snippet-mobile .inner-wrapper .serp-rating{float:left;margin-left:5px}.serp-preview.mobile-preview .serp-snippet-mobile .serp-rating-count{color:#808080}.serp-preview.mobile-preview .serp-snippet-data{display:none}.mobile-preview .serp-preview-title:before{content:attr(data-mobile)}.mobile-preview .serp-preview-bg{position:relative;overflow:visible;width:400px;max-width:100%;margin:auto;border-radius:8px;background-color:transparent;-webkit-box-shadow:0 1px 6px rgba(32,33,36,0.28);box-shadow:0 1px 6px rgba(32,33,36,0.28)}.mobile-preview .serp-preview-bg .serp-preview-input input{height:41px;border-bottom:1px solid rgba(0,0,0,0.12);border-radius:8px 8px 0 0;-webkit-box-shadow:none;box-shadow:none}.mobile-preview .serp-preview-bg .serp-preview-input .serp-mike{display:none}.mobile-preview .serp-preview-bg .serp-preview-input .serp-search{right:0;width:40px;height:40px;margin-right:-1px;padding:0;border:1px solid #3367d6;border-radius:0 8px 0 0;-webkit-border-top-right-radius:8px;background-color:#3b78e7;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.mobile-preview .serp-preview-bg .serp-preview-input .serp-search svg{fill:#fff}.mobile-preview .serp-preview-bg .serp-preview-menus ul{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.mobile-preview .serp-preview-bg .serp-preview-menus ul li{font-size:12px;line-height:40px;height:40px;padding:0 16px;text-align:center;text-transform:uppercase;-webkit-box-flex:1;-ms-flex:1;flex:1}.mobile-preview .serp-preview-bg .serp-preview-menus ul li:last-child{display:none}.mobile-preview .serp-preview-bg .serp-preview-menus ul.menus-right{display:none}.mobile-preview .serp-preview-bg .serp-preview-result-stats{display:none}.mobile-preview .serp-preview-body{-webkit-box-sizing:border-box;box-sizing:border-box;width:400px;max-width:100%;margin:auto;padding-top:30px;word-wrap:break-word}.mobile-preview.expanded-preview .serp-preview-body{margin-top:10px;padding:20px;border-radius:8px;background-color:#fff;-webkit-box-shadow:0 1px 6px rgba(32,33,36,0.28);box-shadow:0 1px 6px rgba(32,33,36,0.28)}.expanded-preview .serp-description,.expanded-preview .serp-title,.expanded-preview .serp-url,.mobile-preview .serp-description,.mobile-preview .serp-title,.mobile-preview .serp-url{overflow:hidden;pointer-events:none}.expanded-preview .serp-preview-footer,.mobile-preview .serp-preview-footer{display:none}.expanded-preview.desktop-preview .serp-preview-footer{padding:15px 0}.expanded-preview.desktop-preview .serp-preview-wrapper{padding:0}.expanded-preview.desktop-preview .serp-preview-title:before{content:attr(data-desktop)}@media (min-width: 768px){.expanded-preview.desktop-preview .serp-preview-bg{height:auto;padding:15px 20px 0;opacity:1}.expanded-preview.desktop-preview .serp-preview-body{padding-left:20px}}.expanded-preview.mobile-preview .serp-preview-bg{height:auto;margin-top:20px;opacity:1}.noindex-preview .serp-preview-wrapper{position:relative}.noindex-preview .serp-preview-body{pointer-events:none;opacity:.2}.noindex-preview .serp-preview-noindex{display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column;align-items:center;-webkit-box-align:center;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-pack:center;-ms-flex-align:center;-ms-flex-direction:column;-ms-flex-pack:center;justify-content:center}.noindex-preview .serp-preview-footer .alignright{display:none}body.rtl .serp-preview-bg .serp-preview-input input{padding-right:16px;padding-left:9px}body.rtl .serp-preview-bg .serp-preview-input .serp-search{right:auto;left:15px}body.rtl .serp-preview-bg .serp-preview-input .serp-mike{right:auto;left:50px;padding-right:8px;padding-left:2px}body.rtl .serp-preview-bg .serp-preview-menus ul,body.rtl .serp-preview-bg .serp-preview-menus li{float:right}body.rtl .serp-preview-bg .serp-preview-menus ul.menus-right,body.rtl .serp-preview-bg .serp-preview-menus li.menus-right{float:left}body.rtl .mobile-preview .serp-preview-bg .serp-search{left:0;border-radius:0;border-top-left-radius:8px}body.rtl .serp-preview .serp-description:focus:before,body.rtl .serp-preview .serp-description:hover:before,body.rtl .serp-preview .serp-title:focus:before,body.rtl .serp-preview .serp-title:hover:before,body.rtl .serp-preview .serp-url:focus:before,body.rtl .serp-preview .serp-url:hover:before{text-align:left}body.rtl .rank-math-variables-dropdown{right:auto;left:37px}.snippet-fields{padding:45px 0 15px}.length-indicator-wrapper{position:relative;display:block}.length-indicator-wrapper .length-indicator{overflow:hidden;border-radius:2px;background:-webkit-gradient(linear, left top, right top, from(#e33e2b), color-stop(18%, #f06818), color-stop(19%, #fff), color-stop(19%, #fff), color-stop(20%, #f16b17), color-stop(38%, #f1a104), color-stop(39%, #fff), color-stop(39%, #fff), color-stop(40%, #f1a404), color-stop(58%, #d9b507), color-stop(59%, #fff), color-stop(59%, #fff), color-stop(60%, #d4b509), color-stop(78%, #7bb02c), color-stop(79%, #fff), color-stop(79%, #fff), color-stop(80%, #76ae2e), to(#2da24c));background:linear-gradient(to right, #e33e2b 0%, #f06818 18%, #fff 19%, #fff 19%, #f16b17 20%, #f1a104 38%, #fff 39%, #fff 39%, #f1a404 40%, #d9b507 58%, #fff 59%, #fff 59%, #d4b509 60%, #7bb02c 78%, #fff 79%, #fff 79%, #76ae2e 80%, #2da24c 100%);position:absolute;top:-13px;right:60px;height:8px;width:180px}.length-indicator-wrapper .length-indicator span{position:absolute;z-index:11;background:#e0e0e0;height:100%;width:100%}.length-indicator-wrapper .length-indicator.invalid{background:-webkit-gradient(linear, left top, right top, from(#e33d2a), color-stop(18%, #e33d2a), color-stop(19%, #fff), color-stop(19%, #fff), color-stop(20%, #e33d2a), color-stop(38%, #e33d2a), color-stop(39%, #fff), color-stop(39%, #fff), color-stop(40%, #e33d2a), color-stop(58%, #e33d2a), color-stop(59%, #fff), color-stop(59%, #fff), color-stop(60%, #e33d2a), color-stop(78%, #e33d2a), color-stop(79%, #fff), color-stop(79%, #fff), color-stop(80%, #e33d2a), to(#e33d2a));background:linear-gradient(to right, #e33d2a 0%, #e33d2a 18%, #fff 19%, #fff 19%, #e33d2a 20%, #e33d2a 38%, #fff 39%, #fff 39%, #e33d2a 40%, #e33d2a 58%, #fff 59%, #fff 59%, #e33d2a 60%, #e33d2a 78%, #fff 79%, #fff 79%, #e33d2a 80%, #e33d2a 100%)}.length-indicator-wrapper input:focus+.length-indicator,.length-indicator-wrapper textarea:focus+.length-indicator{display:block}.length-indicator-wrapper .length-count{font-size:12px;position:absolute;top:-17px;right:0;color:#afafaf}.tag-editor{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:7px 80px 7px 10px;cursor:text;-webkit-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;border:1px solid #e5e5e5;border-radius:3px;background:#fff;-webkit-box-shadow:inset 0 1px 6px rgba(0,0,0,0.08);box-shadow:inset 0 1px 6px rgba(0,0,0,0.08)}.tag-editor>li{line-height:inherit;position:relative;float:left;margin:3px 10px 3px 0;padding:3px 5px;cursor:pointer;white-space:nowrap;color:#85878b;border-radius:2px;background:#e9e9ea}.tag-editor>li:nth-child(1){margin:0;padding:0;border-color:transparent;background:transparent}.tag-editor div{float:left;padding:0 4px}.tag-editor .placeholder{color:#bbb}.tag-editor-hidden-src{position:absolute !important;left:-99999px}.tag-editor .tag-editor-spacer{display:none}.tag-editor ::-ms-clear{display:none}.tag-editor .tag-editor-tag input[type=text]{margin:0;padding:0;cursor:text;border:0;outline:none;background:none;-webkit-box-shadow:none !important;box-shadow:none !important}.tag-editor .tag-editor-tag.active+.tag-editor-delete,.tag-editor .tag-editor-tag.active+.tag-editor-delete i{visibility:hidden;cursor:text}.tag-editor .tag-editor-delete i{line-height:18px;display:inline-block}.tag-editor .tag-editor-delete i:before{font-size:16px;font-style:normal;content:'×'}.tag-editor .tag-editor-delete:hover i:before{color:#000 !important}.tag-editor>li.selected-fk{color:#000;border-color:#fbbc05;background:#fbbc05}.tag-editor>li.bad-fk{color:#e93f30;background:#fdeae8}.tag-editor>li.bad-fk.selected-fk{color:#fdeae8;background:#e93f30}.tag-editor>li.ok-fk{color:#fbbc05;background:#fef2ce}.tag-editor>li.ok-fk.selected-fk{color:#fef2ce;background:#fbbc05}.tag-editor>li.good-fk{color:#58bb58;background:#e9f6e9}.tag-editor>li.good-fk.selected-fk{color:#e9f6e9;background:#58bb58}.tag-editor>li.selected-fk .tag-editor-tag.active input[type=text],.tag-editor>li.selected-fk .tag-editor-delete:hover i:before{color:#fff}.tag-editor>li:nth-child(2):before,.rank-math-keywords-fields>div:nth-child(1):before{font-family:'dashicons';font-size:7px;line-height:12px;position:absolute;top:-4px;left:-6px;width:12px;content:'\f155';text-align:center;color:#fff;border:1px solid #fff;border-radius:50%;background:#4285f4}.cmb2-wrap .cmb2-id-rank-math-focus-keyword{padding-top:10px}.cmb2-wrap .cmb2-id-rank-math-focus-keyword .cmb-th{width:100%;margin-bottom:10px}.cmb2-wrap .cmb2-id-rank-math-focus-keyword .cmb-td{width:100%}.cmb2-wrap .cmb2-id-rank-math-focus-keyword .notice{margin:20px 0 0;background:#fefcee}.cmb2-wrap .cmb2-id-rank-math-focus-keyword .cmb-td{position:relative}.rank-math-keywords-fields>div{position:relative}.rank-math-keywords-fields>div:nth-child(1):before{top:3px;left:16px}.ui-autocomplete{font-size:14px;position:absolute;top:0;left:0;cursor:default}.ui-autocomplete.ui-autocomplete-loading{background:none}.ui-autocomplete.ui-widget-content{z-index:1111111}.ui-front{z-index:9999}.ui-menu{display:block;margin:0;padding:1px;list-style:none;outline:none}.ui-menu .ui-menu-item a{line-height:1.4;display:block;min-height:0;padding:2px .4em;text-decoration:none}.ui-widget-content{color:#555;border:1px solid #bbb;background:#fff}.ui-widget-content:empty{display:none}.ui-widget-content a{color:#46799b}.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{background:#e0eaf1}.ui-helper-hidden-accessible{display:none}.rank-math-seo-score{font-weight:600;position:absolute;top:1px;right:1px;-webkit-box-sizing:border-box;box-sizing:border-box;width:105px;padding:13.5px 15px;text-align:center;border-radius:0 3px 3px 0;background:#f1f1f1}.rank-math-seo-score.misc-pub-section{position:relative;top:auto;right:auto;width:100%;padding:13.5px 12px;text-align:left;border-radius:0}.rank-math-seo-score.misc-pub-section .dashicons{font-size:18px;margin-right:2px}.rank-math-seo-score.good-fk{color:#58bb58;background:#e9f6e9}.rank-math-seo-score.ok-fk{color:#ca9703;background:#fef2ce}.rank-math-seo-score.bad-fk{color:#e93f30;background:#fdeae8}.cmb2-wrap .cmb2-id-rank-math-pillar-content .cmb-th{display:none}.cmb2-wrap .cmb2-id-rank-math-pillar-content .cmb-td{width:100%}.rank-math-primary-term-li{position:relative;display:block}.rank-math-primary-term-li .rank-math-tooltip{position:absolute;right:0;display:none}.rank-math-primary-term-li .rank-math-tooltip>span{top:50%;right:32px;bottom:auto;left:auto;width:110px;-webkit-transform:translate3d(-70%, -50%, 0);transform:translate3d(-70%, -50%, 0)}.rank-math-primary-term-li .rank-math-tooltip>span:after{content:'';-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);top:50%;right:-8px;left:auto;border-style:solid;height:0;width:0;border-color:transparent transparent transparent #555d66;border-width:7px 0 7px 8px}.rank-math-primary-term-li .rank-math-tooltip:hover span{bottom:auto;-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0);opacity:1}.rank-math-primary-term-li.term-checked>label>.rank-math-tooltip{display:inline-block}.rank-math-compare-keywords-trigger{float:right;margin-top:-10px;margin-bottom:5px;text-decoration:none;color:#069de3}.rank-math-compare-keywords-wrapper .media-modal{top:10%;right:10%;bottom:10%;left:10%}.rank-math-compare-keywords-wrapper .aligncenter{text-align:center}.rank-math-compare-keywords-wrapper .media-frame-menu{width:300px}.rank-math-compare-keywords-wrapper .media-frame-content,.rank-math-compare-keywords-wrapper .media-frame-title{left:300px}.rank-math-compare-keywords-wrapper h1{line-height:50px;padding:0 16px}.rank-math-compare-keywords-wrapper .widefat{width:240px;margin:8px 10px 8px 20px}.rank-math-compare-keywords-wrapper .button-link.remove-keyword{margin-top:10px;padding:0;text-decoration:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-compare-keywords-wrapper .button-primary{width:260px;margin:15px auto}.rank-math-compare-keywords-wrapper .button-secondary+.button-secondary{margin-left:10px}.rank-math-compare-keywords-wrapper .attachments-browser iframe{position:relative;overflow:hidden;margin-top:10px;height:450px;width:100%}.cmb2-id-rank-math-pillar-content .cmb-th label{visibility:hidden}.rank-math-serp-group li:before,.rank-math-serp-group.state-closed .group-status:before{font-family:dashicons;font-size:18px;line-height:1;float:left;margin:4px 10px 0 -30px;content:'\f335';color:#fff;border:1px solid #eac0c2;border-radius:50em;background:#eac0c2;height:18px;width:18px}.rank-math-serp-group .test-ok:before,.rank-math-serp-group.state-closed .group-status.passed:before{content:'\f147';border-color:#58bb58;background:#58bb58}.rank-math-serp-checklist .group-handle{position:relative;padding:15px 20px;cursor:pointer;background:#ededee}.rank-math-serp-checklist h4{margin:0;color:#23282d}.rank-math-serp-checklist .group-handlediv{cursor:pointer;-webkit-transform:translateY(-50%);transform:translateY(-50%);border:0;background:0;position:absolute;top:50%;right:10px}.rank-math-serp-checklist .group-handlediv:focus{outline:0;-webkit-box-shadow:none;box-shadow:none}.rank-math-serp-group{margin-top:20px;background:#f5f5f5}.rank-math-serp-group:first-of-type{margin-top:0}.rank-math-serp-group ul{padding:15px 20px}.rank-math-serp-group li{font-size:15px;line-height:28px;position:relative;clear:both;padding-left:30px;color:#444}.rank-math-serp-group li section{display:none}.rank-math-serp-group .test-ok .rank-math-tooltip{display:none}.rank-math-serp-group .test-fail,.rank-math-serp-group .test-empty{color:#a0a0a0}.rank-math-serp-group .rank-math-tooltip{top:4px;right:-2px}.rank-math-serp-group .toggle-indicator:before{font:normal 20px/1 dashicons;display:inline-block;content:'\f142';text-decoration:none !important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rank-math-serp-group.state-closed ul{display:none}.rank-math-serp-group.state-closed .toggle-indicator:before{content:'\f140' !important}.rank-math-serp-group.state-closed .group-status{float:left}.rank-math-serp-group.state-closed .group-status:before{margin:0 10px 0 0}.rank-math-serp-group li.seo-check-calculateFleschReading.okay:before,.rank-math-serp-group li.seo-check-calculateFleschReading.fairlyDifficult:before{border-color:#ffbe5f;background:#ffbe5f}.rank-math-serp-group li.seo-check-calculateFleschReading.difficult:before{border-color:#eac0c2;background:#eac0c2}#setting-panel-richsnippet .cmb-row-50,#setting-panel-richsnippet .cmb-row-33{vertical-align:top;border-top:1px solid #e9e9e9;border-bottom:0}#setting-panel-richsnippet .cmb2-id-rank-math-snippet-music-type{border-top:0}#setting-panel-richsnippet .cmb2-id-rank-math-snippet-music-type .cmb-th,#setting-panel-richsnippet .cmb2-id-rank-math-snippet-music-type .cmb-td{margin-left:0;padding:0}#setting-panel-richsnippet .cmb2-id-rank-math-snippet-recipe-ingredients,#setting-panel-richsnippet .cmb2-id-rank-math-snippet-recipe-instructions{border-top:1px solid #e9e9e9}#setting-panel-richsnippet .cmb2-id-rank-math-snippet-recipe-instruction-type{border-top:1px solid #e9e9e9}#setting-panel-richsnippet .cmb2-id-rank-math-snippet-recipe-single-instructions,#setting-panel-richsnippet .cmb2-id-rank-math-snippet-recipe-instruction-name,#setting-panel-richsnippet .cmb2-id-rank-math-snippet-recipe-instructions{border-top:none}#setting-panel-richsnippet .notice-warning{margin:10px 0 0;background-color:#fefcee}#setting-panel-social .rank-math-tab{padding:30px 0 0}#setting-panel-social .rank-math-social-preview+.notice{margin-top:20px}#setting-panel-social .cmb-row.cmb-row-33{vertical-align:top;min-height:118px}.rank-math-social-preview-button{font-size:13px;display:inline-block;padding:4px 8px;text-decoration:none;text-transform:uppercase;color:#555555;border:0;outline:none;background:#ededee;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-social-preview-button .dashicons{position:relative;top:-2px}.open .rank-math-social-preview-button{color:#fff;background:#069de3}.rank-math-social-preview-item{display:none;padding:30px}.rank-math-social-preview-item-wrapper{overflow:hidden;width:474px;max-width:100%;margin:auto;background:#fff;border:1px solid;border-radius:0 0 3px 3px;border-color:#dadada #dadada #ccc;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-social-preview-item .error-msg{width:528px;max-width:100%;margin:auto;padding-top:10px;display:none;line-height:1}.rank-math-social-preview-item .error-msg.show{display:block}.rank-math-social-preview-image{line-height:0;position:relative;z-index:1}.rank-math-social-preview-image img{display:none;max-width:100%;height:100%;min-height:initial}.rank-math-social-preview-image-overlay{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%) scale(0.22126);transform:translate(-50%, -50%) scale(0.22126)}.rank-math-social-preview-image .error-msg{display:none;line-height:1}.rank-math-social-preview .rank-math-social-preview-caption{font-size:12px;background:#f2f3f5;padding:10px 10px 5px;color:#1d2129}.rank-math-social-preview .rank-math-social-preview-title{font-size:16px;font-weight:600;line-height:22px;margin:0 0 8px;padding:0;letter-spacing:normal;word-wrap:break-word}.rank-math-social-preview-description,.rank-math-social-preview-publisher{line-height:16px;margin:0}.rank-math-social-preview-publisher{font-size:12px;font-weight:normal;padding-bottom:5px;color:#90949c}.rank-math-social-preview-publisher.facebook{text-transform:uppercase}.rank-math-social-preview-social-meta{display:none;width:474px;margin:0 auto;clear:both;display:block;position:relative;margin-bottom:15px}.rank-math-social-preview-social-meta .social-profile-image{width:48px;height:48px;background:#dcc7c7;border-radius:50%;float:left;position:absolute;left:-58px}.rank-math-social-preview-social-meta .social-name{color:#14171a;font-size:14px;font-weight:bold}.rank-math-social-preview-social-meta .social-username,.rank-math-social-preview-social-meta .social-time{font-size:14px;color:#657786;font-weight:normal;margin-left:3px}.rank-math-social-preview-social-meta .social-time{margin-left:5px}.rank-math-social-preview-social-meta .social-time:before{content:"\00B7";margin-right:5px}.rank-math-social-preview-social-meta .social-text{margin-top:5px}.rank-math-social-preview-facebook .rank-math-social-preview-button strong:before{content:attr(data-facebook)}.rank-math-social-preview-facebook .facebook-thumbnail{display:block}.rank-math-social-preview-facebook .no-facebook-image .facebook-thumbnail{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-description,.rank-math-social-preview-facebook .rank-math-social-preview-social-meta.twitter-meta{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-social-meta.facebook-meta{display:block;border:1px solid #dadada;border-bottom:0;border-radius:3px 3px 0;padding:12px;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box}.rank-math-social-preview-facebook .rank-math-social-preview-social-meta.facebook-meta .social-profile-image{width:40px;height:40px;left:auto;position:relative;margin-right:10px;margin-left:-2px}.rank-math-social-preview-facebook .rank-math-social-preview-social-meta.facebook-meta .social-name{color:#365899;margin-bottom:3px}.rank-math-social-preview-facebook .rank-math-social-preview-social-meta.facebook-meta .social-time:before{display:none}.rank-math-social-preview-facebook .rank-math-social-preview-social-meta.facebook-meta .social-time span:first-child:after{content:"\00B7";margin-right:3px;margin-left:5px}.rank-math-social-preview-facebook .rank-math-social-preview-social-meta.facebook-meta .dashicons.dashicons-admin-site{font-size:14px;line-height:17px}.rank-math-social-preview-facebook .twitter{display:none}.rank-math-social-preview-twitter.app,.rank-math-social-preview-twitter.player{display:none !important}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper{max-width:100%;border:1px solid rgba(136,153,166,0.5);border-radius:10px;clear:both}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper .twitter-thumbnail{display:block;max-width:100%}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper .rank-math-social-preview-caption{background:#ffffff}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper:hover{background:#F5F8FA}.rank-math-social-preview-twitter .rank-math-social-preview-item-wrapper:hover .rank-math-social-preview-caption{background:#F5F8FA}.rank-math-social-preview-twitter .rank-math-social-preview-title{font:normal normal bold 14px/1.4 Helvetica,Roboto,'Segoe UI',Calibri,sans-serif;overflow:hidden;max-height:1.3em;margin-bottom:2px;white-space:nowrap;text-overflow:ellipsis}.rank-math-social-preview-twitter .rank-math-social-preview-description{font-size:14px;line-height:20px;overflow:hidden;max-height:4.5em;margin-top:.32333em}.rank-math-social-preview-twitter .rank-math-social-preview-publisher{padding-top:5px}.rank-math-social-preview-twitter .rank-math-social-preview-publisher.facebook{display:none}.rank-math-social-preview-twitter .no-twitter-image .twitter-thumbnail{display:none}.rank-math-social-preview-twitter .rank-math-social-preview-button strong:before{content:attr(data-twitter)}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-image{float:left}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-image img{height:125px;width:125px}.rank-math-social-preview-twitter.summary_card .rank-math-social-preview-caption{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:125px;padding:5px 0 0 15px}.rank-math-social-preview-twitter .rank-math-social-preview-social-meta.facebook-meta{display:none}.rank-math-social-preview-twitter .rank-math-social-preview-social-meta.twitter-meta{display:block}.suggestion-item{overflow:hidden;margin-bottom:5px;padding-bottom:5px;border-bottom:1px dotted #e5e5e5}.suggestion-item a{text-decoration:none;-webkit-box-shadow:none !important;box-shadow:none !important}.suggestion-item .suggestion-actions{float:right;margin-left:5px}.suggestion-item .dashicons{margin-top:5px;cursor:pointer}#rank_math_keyword_density{font-weight:600;display:none;float:right;cursor:pointer;color:#888}#rank_math_keyword_density span{float:right}#rank_math_keyword_density .inner-wrapper{position:absolute;z-index:1;right:30px;margin-top:8px;padding:5px 15px;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1);box-shadow:0 1px 1px rgba(0,0,0,0.1)}#rank_math_keyword_density .inner-wrapper ul{margin-top:15px}#rank_math_keyword_density.state-closed span:before{content:'\f140' !important}#rank_math_keyword_density.state-closed .inner-wrapper{display:none}body.rtl .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a{float:right;margin-right:-1px;margin-left:0;padding-right:8px;padding-left:12px}body.rtl .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .dashicons,body.rtl .rank-math-metabox-wrap .rank-math-tabs-navigation:not(.social-tabs-navigation) a .fa{margin-right:0;margin-left:5px}body.rtl .rank-math-metabox-wrap .social-tabs-navigation a .dashicons{margin-right:0;margin-left:8px}body.rtl .serp-preview .group .serp-close{left:10px;right:auto}body.rtl .serp-preview .rank-math-variables-wrap input,body.rtl .serp-preview .rank-math-variables-wrap textarea{padding-right:0.6em !important;padding-left:50px}body.rtl .serp-preview .length-indicator-wrapper .length-count{left:0;right:auto}body.rtl .serp-preview .length-indicator-wrapper .length-indicator{left:60px;right:auto}body.rtl .tag-editor{padding:7px 10px 7px 80px}body.rtl .tag-editor>li{float:right;margin-right:0;margin-left:10px}body.rtl .tag-editor>li:nth-child(2):before{right:-6px;left:auto}body.rtl .tag-editor div{float:right}body.rtl .rank-math-seo-score{right:auto;left:1px}body.rtl .rank-math-serp-checklist .group-handlediv{right:auto;left:10px}body.rtl .rank-math-serp-group.state-closed .group-status{float:right}body.rtl .rank-math-serp-group.state-closed .group-status:before{margin:0 0 0 10px}body.rtl .rank-math-serp-group li{padding-left:0;padding-right:30px}body.rtl .rank-math-serp-group li:before{float:right;margin:4px -30px 0 10px}body.rtl .rank-math-primary-term-li .rank-math-make-primary,body.rtl .rank-math-primary-term-li .text-primary{right:auto;left:0}body.rtl .suggestion-item .suggestion-actions{float:left;margin-right:5px}body.rtl input[type=checkbox]:checked:before{margin:-3px}
|
assets/admin/css/option-panel.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: option-panel.css
|
5 |
+
*/.rank-math-wrap-settings{width:915px;max-width:95%}.rank-math-wrap-settings .rank-math-tabs-navigation .separator{font-weight:600;display:block;padding:14px 10px 8px;white-space:nowrap;color:#7c7e82}.rank-math-wrap-settings .rank-math-tabs-content{margin-bottom:0}.rank-math-wrap-settings .form-footer{width:calc( 100% - 200px);margin-left:200px;padding:20px;border:0}.rank-math-wrap-settings .rank-math-address-format .rank-math-variables-dropdown{height:185px}.rank-math-search-options .search-field input,.rank-math-search-options select{display:block;margin:0;padding:10px 15px;border-color:#e5e5e5;border-radius:3px 0 0 3px;-webkit-box-shadow:none !important;box-shadow:none !important;height:43px;width:150px}.rank-math-search-options{float:right}.rank-math-search-options .search-field{position:relative;float:left}.rank-math-search-options .search-field input{width:300px;padding-left:42px;border-right:0}.rank-math-search-options .search-field i,.rank-math-search-options .search-field em{cursor:pointer;-webkit-transform:translateY(-50%);transform:translateY(-50%);position:absolute;top:50%;left:13px}.rank-math-search-options .search-field em{right:8px;left:auto;display:none}.searching .rank-math-search-options .search-field em{display:block}.rank-math-search-options select{float:left;cursor:pointer;background:#f6f6f6}.rank-math-wrap-settings.search-no-results .rank-math-setting-search-empty{font-size:2em;font-weight:400;display:block;padding:25px 0;text-align:center}.rank-math-search-dropdown{z-index:10;display:none;overflow:auto;max-width:450px;border:1px solid #e5e5e5;background:#fff;position:absolute;top:42px;right:37px;height:220px;width:80%}.rank-math-search-dropdown .cmb-row{padding:10px;cursor:pointer;border-bottom:1px solid #e5e5e5}.rank-math-search-dropdown .cmb-row .cmb2-metabox-description{font-size:12px}.rank-math-search-dropdown .cmb-row:hover{background:#f6f6f6}.rank-math-search-dropdown.empty:before{font-size:1.2em;font-style:italic;display:block;padding:20px;content:'Nothing found.'}.rank-math-console-db-info{display:inline-block;margin:8px 8px 0 0;padding:5px 8px;border-radius:4px;background:#f6f6f6}#console_caching_control{margin-bottom:10px}#console-updating-manually-progress{position:relative;display:none;overflow:hidden;margin:10px 0;padding:8px;border-radius:4px;background:#f6f6f6}#console-updating-manually-progress .progress{overflow:hidden;height:100%;padding:8px;-webkit-transition:width 2s ease-in-out;transition:width 2s ease-in-out;white-space:nowrap;color:#fff;border-radius:3px;background:#008ec2;position:absolute;top:0;left:0}.cmb2-id-breadcrumbs-separator .cmb2-radio-list li label,.cmb2-id-title-separator .cmb2-radio-list li label{margin:0 4px;border-radius:2px;-webkit-box-shadow:none;box-shadow:none}.cmb2-id-breadcrumbs-separator .cmb2-radio-list li label span.custom-sep,.cmb2-id-title-separator .cmb2-radio-list li label span.custom-sep{line-height:30px;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:40px;margin-top:5px;margin-right:-6px;margin-left:-6px;padding:0 8px;cursor:text;-webkit-transition:50ms border-color ease-in-out;transition:50ms border-color ease-in-out;text-align:center;color:#32373c;outline:0;background-color:#fff;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.rank-math-rss-variables h3{font-size:1.2em}.rank-math-rss-variables thead th,.rank-math-rss-variables tbody td{line-height:1;margin-bottom:9px;padding:15px 10px;vertical-align:middle}.rank-math-rss-variables tr td:first-child{font-weight:600}.rank-math-title .rank-math-variables-preview{font-size:18px;font-weight:normal}.rank-math-description .rank-math-variables-preview{font-size:13px;line-height:1.4;word-wrap:break-word;color:#545454}body.rtl .rank-math-search-options{float:left}body.rtl .rank-math-search-options .search-field{float:right}body.rtl .rank-math-search-options .search-field input{padding-right:42px;padding-left:15px;border-right:1px solid #e5e5e5;border-left:0;border-radius:0 3px 3px 0}body.rtl .rank-math-search-options .search-field select{border-radius:0 3px 3px 0}body.rtl .rank-math-search-options .search-field .dashicons-search{right:13px}body.rtl .rank-math-search-options .search-field em{right:auto;left:8px}
|
assets/admin/css/post-list.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: post-list.css
|
5 |
+
*/.wp-list-table th>span:nth-child(2){display:none}.wp-list-table th.bulk-editing span:nth-child(1){display:none}.wp-list-table th.bulk-editing span:nth-child(2){display:inline-block}.wp-list-table th.sorted a{display:inline-block}.wp-list-table td .rank-math-column-display{display:block;margin-bottom:5px}.wp-list-table td .rank-math-column-display.rank-math-link-count span{opacity:0.7}.wp-list-table td .rank-math-column-display.rank-math-link-count .dashicons{margin:0 0 0 -2px;font-size:17px}.wp-list-table td .rank-math-column-display.rank-math-link-count .divider{height:10px;width:1px;background:rgba(0,0,0,0.35);position:relative;display:inline-block;margin-left:5px;margin-right:5px}.wp-list-table td .rank-math-column-display.seo-score{margin-bottom:8px}.wp-list-table td .rank-math-column-display.seo-score strong{display:inline-block;padding:5px 10px;border-radius:4px}.wp-list-table td .rank-math-column-display.seo-score.no-score strong{color:#616161;background:#dedede}.wp-list-table td .rank-math-column-display.seo-score.bad strong{color:#e12925;background:#fce5e2}.wp-list-table td .rank-math-column-display.seo-score.good strong{color:#bf890d;background:#fdf0c4}.wp-list-table td .rank-math-column-display.seo-score.great strong{color:#e3f4e3;background:#4ab147}.wp-list-table td .rank-math-column-value{display:none;padding:3px;border:1px solid #e5e5e5;background-color:#fff;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.wp-list-table td .rank-math-column-edit{display:none}.wp-list-table td.bulk-editing .rank-math-column-value{display:block}.wp-list-table td.bulk-editing .rank-math-column-display{display:none}.wp-list-table td.dirty .rank-math-column-edit{display:block}
|
assets/admin/css/setup-wizard.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: setup-wizard.css
|
5 |
+
*/.rank-math-wizard-body--requirements h2>.dashicons,.rank-math-wizard-body--ready .cmb-form>header .dashicons-yes{margin-right:5px;padding:4px;vertical-align:-3px;color:#fff;border-radius:50%;background:#58bb58}.rank-math-wizard{background:#f1f1f1}.rank-math-wizard :focus{outline:none;-webkit-box-shadow:none;box-shadow:none}.rank-math-wizard a{text-decoration:none}.rank-math-wizard .notice-error{position:relative;margin-right:auto;margin-left:auto;background:#ffebee}.rank-math-wizard .text-center{text-align:center}.rank-math-wizard .wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:970px;margin:40px auto;padding:60px 40px 50px;border-radius:5px;background:#fff;-webkit-box-shadow:0 4px 8px rgba(0,0,0,0.06);box-shadow:0 4px 8px rgba(0,0,0,0.06)}.rank-math-wizard .cmb-form>header,.rank-math-wizard .cmb-form header.redirections-header{margin-bottom:30px;text-align:center}.rank-math-wizard .cmb-form>header h1,.rank-math-wizard .cmb-form header.redirections-header h1{font-size:30px;font-weight:700;margin:0}.rank-math-wizard .cmb-form>header p,.rank-math-wizard .cmb-form header.redirections-header p{font-size:15px;max-width:715px;margin:10px auto;color:#939596}.rank-math-wizard .cmb-form header.redirections-header{margin-bottom:0}.rank-math-wizard .cmb-form header.redirections-header h1{margin-top:.67em}.rank-math-wizard .cmb-form .cmb-type-file .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-switch .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-multicheck .cmb-th label,.rank-math-wizard .cmb-form .cmb-type-radio-inline .cmb-th label{cursor:default}.rank-math-wizard .cmb-form .cmb-type-file .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-switch .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-multicheck .cmb-multicheck-toggle,.rank-math-wizard .cmb-form .cmb-type-radio-inline .cmb-multicheck-toggle{cursor:pointer}.rank-math-wizard .cmb-form .cmb-td button{cursor:pointer}.rank-math-wizard .form-footer:not(.custom){width:calc(100% + 80px);margin:75px -40px -50px;border-radius:0 0 5px 5px;overflow:hidden}.rank-math-wizard .form-footer:not(.custom) .button{border-radius:25px}.rank-math-wizard .form-footer:not(.custom) .button-secondary{margin-right:10px}.rank-math-collapsible-trigger{letter-spacing:.5px}.rank-math-collapsible-trigger .dashicons{font-size:16px;display:inline}.rank-math-collapsible-trigger .dashicons:before{font-size:22px;vertical-align:-2px}.rank-math-collapsible-trigger .dashicons span{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;font-size:12px;vertical-align:3px;color:rgba(36,41,46,0.65)}.rank-math-collapsible-trigger .dashicons-arrow-up{display:none}.rank-math-collapsible-trigger.open .dashicons-arrow-up{display:inline}.rank-math-collapsible-trigger.open .dashicons-arrow-down{display:none}.rank-math-collapsible-content{display:none}.rank-math-collapsible-content.open{display:block}.return-to-dashboard{margin-bottom:50px;text-align:center}.return-to-dashboard i{line-height:46px;color:#0474ab}.return-to-dashboard a{line-height:44px;display:inline-block;padding:0 25px 0 20px;-webkit-transition:color 150ms ease,opacity 300ms cubic-bezier(0.694, 0, 0.335, 1) 150ms;transition:color 150ms ease,opacity 300ms cubic-bezier(0.694, 0, 0.335, 1) 150ms;text-align:center;text-decoration:none;color:rgba(36,41,46,0.65);border-radius:25px;background:#fff;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,0.09),0 2px 2px rgba(0,0,0,0.12);box-shadow:inset 0 1px 0 rgba(0,0,0,0.09),0 2px 2px rgba(0,0,0,0.12)}.return-to-dashboard a:hover{color:#0073aa}@media screen and (prefers-reduced-motion: reduce){.return-to-dashboard{opacity:1 !important}}.cmb2-wrap .cmb-row.features-child{padding:25px 20px !important;border-bottom-color:#ebebeb;background:#f4f4f4}.responsive-video{position:relative;overflow:hidden;padding-top:56.25%}.responsive-video iframe{border:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%;width:100%}.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list,.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list li,.cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description{display:inline-block;width:48%;vertical-align:top}.cmb-row.cmb-multicheck-inline .cmb2-checkbox-list{width:420px;max-width:100%}.cmb-row.cmb-multicheck-inline.with-description .cmb-td{width:100%}.cmb-row.cmb-multicheck-inline.with-description .cmb2-checkbox-list{padding-top:20px}.cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description{font-size:15px;line-height:1.5;padding:0;color:#21262c}.rank-math-wizard .rank-math-ui .button{font-size:17px;line-height:50px;height:50px;padding:0 50px;border:0}.rank-math-wizard .rank-math-ui .button.button-small{border-radius:10px}.rank-math-wizard .rank-math-ui .button-secondary:not(.cmb-multicheck-toggle):not(.cmb2-upload-button):not(.custom){background:#fff;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 1px 4px rgba(0,0,0,0.2);box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 1px 4px rgba(0,0,0,0.2)}.rank-math-wizard .rank-math-ui .button-primary{background:#069de3;-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.2)}@media screen and (max-width: 782px){.rank-math-wizard .rank-math-ui .button{font-size:15px;padding:0 20px}}.rank-math-wizard .rank-math-ui .cmb-type-multicheck .cmb-td p:first-of-type{margin:0}.rank-math-wizard .rank-math-ui .cmb-multicheck-toggle{padding:0;cursor:pointer;color:#008ec3;border:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-wizard .rank-math-ui .cmb-multicheck-toggle:active{-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}.wizard-navigation{display:-webkit-box;display:-ms-flexbox;display:flex;margin:50px auto;text-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wizard-navigation a{font-size:12px;position:relative;display:block;text-transform:uppercase;color:#b2b4b6;-webkit-box-flex:1;-ms-flex:1;flex:1}.wizard-navigation a:before{font-weight:600;display:block;padding-bottom:10px;content:attr(title);color:#b2b4b6}.wizard-navigation a:after{content:'';-webkit-transform:translate(-50%, 23px);transform:translate(-50%, 23px);background-color:#e5e5e5;position:absolute;top:15px;left:0;height:1px;width:100%}.wizard-navigation span{line-height:20px;position:relative;z-index:10;display:inline-block;border:1px solid #e5e5e5;border-radius:50%;background:#fff;height:20px;width:20px}.wizard-navigation .step-label:before{color:#069de3}.wizard-navigation .step-label:after{display:none}.wizard-navigation .step-label+a:after{width:162%;-webkit-transform:translate(-60%, 23px);transform:translate(-60%, 23px)}.wizard-navigation a.active span{margin-top:-2px;color:#fff;border:2px solid #fff;background:#069de3;-webkit-box-shadow:0 0 1px #069de3;box-shadow:0 0 0 1px #069de3}.wizard-navigation a.active:after{background:-webkit-gradient(linear, left top, right top, from(#58bb58), to(#069de3));background:linear-gradient(to right, #58bb58 0%, #069de3 100%)}.wizard-navigation a.active:before{color:#069de3}.wizard-navigation a.done span{color:#fff;border-color:#58bb58;background-color:#58bb58}.wizard-navigation a.done:after{background-color:#58bb58}@-webkit-keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}@-webkit-keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}@keyframes hvr-ripple-out{100%{opacity:0;top:-20px;right:-20px;bottom:-20px;left:-20px}}.rank-math-wizard-body--requirements h2{font-size:20px}.rank-math-wizard-body--requirements h2>.dashicons-warning{background:#e8cb57}.rank-math-wizard-body--requirements .form-table{margin-top:50px;border-top:1px solid #ededed}.rank-math-wizard-body--requirements .form-table tr:nth-child(odd){background:#fafafa}.rank-math-wizard-body--requirements .form-table td,.rank-math-wizard-body--requirements .form-table th{padding:10px 20px;border-bottom:1px solid #ededed}.rank-math-wizard-body--requirements .form-table th{width:auto}.rank-math-wizard-body--requirements .form-table th .description{font-size:12px;font-weight:normal;font-style:normal;color:#939596}.rank-math-wizard-body--requirements .form-table td{vertical-align:top;color:#58bb58}.rank-math-wizard-body--requirements .form-table td:last-child{text-align:right}.rank-math-wizard-body--requirements .form-table td:last-child .dashicons{font-size:24px}.rank-math-wizard-body--requirements .form-table .check-no th{border-left:3px solid #ee6a5e}.rank-math-wizard-body--requirements .form-table .check-no td{color:#ee6a5e}.rank-math-wizard-body--requirements .checklist-ok,.rank-math-wizard-body--requirements .checklist-not-ok{margin-top:10px;color:#969696}.rank-math-wizard-body--requirements .checklist-not-ok{color:#ee6a5e}.rank-math-wizard-body--requirements .conflict-text{font-size:15px;font-weight:500;margin-top:50px;color:#ee6a5e}.rank-math-wizard-body--requirements .noconflict{color:#58bb58}.rank-math-wizard-body--requirements .wizard-conflicts{margin-top:10px}.rank-math-wizard-body--requirements .wizard-conflicts .import-info{font-size:12px;font-weight:normal;color:#777}.rank-math-wizard-body--requirements .wizard-conflicts .import-info:before{content:' - '}.rank-math-wizard-body--requirements .wizard-conflicts td{padding:8px 10px}.rank-math-wizard-body--requirements .wizard-conflicts td:first-child{width:20px;padding-right:0;color:#ee6a5e}.rank-math-wizard-body--requirements .wizard-conflicts td:first-child .dashicons-yes{color:#58bb58}.rank-math-wizard-body--requirements .wizard-conflicts td a.disabled{cursor:not-allowed}.rank-math-wizard-body--requirements .form-footer{margin:60px 0 25px}.rank-math-wizard-body--requirements .form-footer .button{font-size:24px;line-height:82px;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);border-radius:82px;height:auto;width:280px}.rank-math-wizard-body--requirements .form-footer .button i{line-height:80px}.rank-math-wizard-body--requirements .form-footer .button:before{content:'';-webkit-animation:hvr-ripple-out 1s linear infinite;border:#bcdbea solid 6px;border-radius:55px;position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px}.rank-math-wizard-body--requirements .rank-math-collapsible-trigger{margin-left:10px;padding:0 12px 0 5px;-webkit-transition:color 150ms ease,opacity 300ms cubic-bezier(0.694, 0, 0.335, 1) 150ms;transition:color 150ms ease,opacity 300ms cubic-bezier(0.694, 0, 0.335, 1) 150ms;border-radius:44px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 2px 4px rgba(0,0,0,0.2);box-shadow:inset 0 1px 0 rgba(0,0,0,0.1),0 2px 4px rgba(0,0,0,0.2)}.rank-math-wizard-body--requirements .rank-math-collapsible-trigger:hover{background:#fafafa}.rank-math-wizard-body--import .cmb-field-list{position:relative;overflow:hidden}.rank-math-wizard-body--import .cmb-field-list h3.import-label{display:inline-block;width:20%}.rank-math-wizard-body--import .cmb-field-list .cmb-type-group{float:right;width:80%}.rank-math-wizard-body--import .cmb-field-list .cmb-group-description{position:absolute;z-index:1;top:6px;left:20px}.rank-math-wizard-body--import .cmb-field-list .cmb-row{padding:0;margin-bottom:5px;border:none}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmbhandle{top:14px;right:20px;width:30px;height:30px;border-radius:50%;text-align:center;background-color:#059de2;color:#fff}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmbhandle:before{content:"\f343";padding:0;right:0;left:1px;top:5px;bottom:0}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .inside{display:none}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .cmbhandle{background-color:#fff;color:#a4a4a4;-webkit-box-shadow:1px -1px 62px -13px rgba(0,0,0,0.14);box-shadow:1px -1px 62px -13px rgba(0,0,0,0.14)}.rank-math-wizard-body--import .cmb-field-list .cmb-row.closed .cmbhandle:before{content:"\f347";left:0;top:6px}.rank-math-wizard-body--import .cmb-field-list .cmb-row h3{margin:0;background-color:#f1f1f1;padding:14px 20px 13px 50px;font-size:18px;cursor:pointer}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td{width:100%}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td>p{margin:0}.rank-math-wizard-body--import .cmb-field-list .cmb-row .cmb-td>p .cmb-multicheck-toggle{font-size:15px;color:#0474ab}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside{width:100%;margin:0;background-color:#f6f6f6;padding:30px 20px;overflow:visible}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list{width:100%}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list li{margin-bottom:9px}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-list li label{font-size:16px;color:#24292e}.rank-math-wizard-body--import .cmb-field-list .cmb-row .inside .cmb2-metabox-description{width:100%;color:#888;font-size:13px;font-style:italic;margin-top:20px}.rank-math-wizard-body--import .import-progress-area{display:none;margin:20px 0;background:#eee;width:80%;float:right}.rank-math-wizard-body--import .cmb2-id-import-from .cmb-th{width:auto}#import-progress-bar{display:none;width:80%;float:right;font-size:15px;color:#959798}#import-progress-bar #importProgress{margin-top:30px;margin-bottom:10px;background-color:#dddfe0;border-radius:50px}#import-progress-bar #importProgress #importBar{width:1%;height:8px;background-color:#069de3;border-radius:50px;-webkit-transition:width 1s;transition:width 1s}#import-progress-bar .left{float:left}#import-progress-bar .left strong{color:#65676a}#import-progress-bar .right{float:right}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial{margin-bottom:30px}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial header{padding:12px 15px;background:#f0f0f0}.rank-math-wizard-body--yoursite .rank-math-wizard-tutorial header a{color:#069de3}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation{padding:0 32px;border-bottom:1px solid #e5e5e5;background:#fbfbfb}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a{font-size:16px;font-weight:600;display:inline-block;padding:22px 16px 16px;color:#555}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a.active{color:#069de3;border-bottom:2px solid #069de3}.rank-math-wizard-body--yoursite .rank-math-tabs-navigation a .dashicons{margin-right:15px}.rank-math-wizard-body--yoursite .rank-math-tabs-content{padding:32px;background:#f4f4f4}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) label{display:block;margin-bottom:5px}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) input{font-size:1.3em;margin-right:15px;padding:0 8px 0 15px;height:51px;width:77.5%}.rank-math-wizard-body--yoursite .search-form:not(.media-toolbar-primary) button.button{width:20%;letter-spacing:.05em}.rank-math-wizard-body--searchconsole .cmb2-id-console-authorization-code a.button-secondary{line-height:1;padding:10px 0 5px;color:#008ec3;border-bottom:1px dotted;border-radius:0;background:transparent;-webkit-box-shadow:none;box-shadow:none}.rank-math-wizard-body--searchconsole .cmb2-id-console-profile select{margin-top:0}.rank-math-wizard-body--optimization .rank-math-collapsible-trigger{display:block;margin-top:-14px;text-align:center;-webkit-box-shadow:none !important;box-shadow:none !important}.rank-math-wizard-body--optimization .rank-math-collapsible-trigger span{background:#fff}.rank-math-wizard-body--optimization .rank-math-collapsible-content .cmb-row:not(.cmb-type-title):first-of-type{padding-top:25px}.rank-math-wizard-body--ready .cmb-form>header h1{font-size:20px}.rank-math-wizard-body--ready .wizard-usage-tracking{margin-top:35px;padding:25px 35px;background:#f5f5f5}.rank-math-wizard-body--ready .wizard-usage-tracking p{font-size:16px;margin-top:0}.rank-math-wizard-body--ready .wizard-next-steps{margin-top:60px}.rank-math-wizard-body--ready .wizard-next-steps>div{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.rank-math-wizard-body--ready .wizard-next-steps .learn-more{padding-left:35px}.rank-math-wizard-body--ready .wizard-next-steps .learn-more h2{margin-top:0}.rank-math-wizard-body--ready .wizard-next-steps .learn-more li{font-size:18px;line-height:1.5;margin-bottom:12px}.rank-math-wizard-body--ready .wizard-next-steps .learn-more a{color:#089ce6}.rank-math-wizard-body--ready .wizard-next-steps .learn-more .dashicons{font-size:24px;margin-top:2px;margin-right:13px;color:#bcbdbf}.rank-math-wizard-body--ready .score-100{margin-top:-20px;text-align:right}.rank-math-wizard-body--ready .score-100 img{max-width:250px}.rank-math-wizard-body--register .wrapper{max-width:700px}.rank-math-wizard-body--register .wp-header-end+.notice{display:none;margin-bottom:30px}.rank-math-registration-notice{display:block;margin:30px auto;text-align:left;background:#fefcee}.cmb2-id-accept-terms .cmb-td label{display:inline-block;width:80%}.cmb2-id-rank-math-usage-tracking .cmb-th{font-weight:normal;float:right;width:95% !important;max-width:none !important;color:#8c8c8c}.cmb2-id-rank-math-usage-tracking .cmb-th label{padding-top:0 !important;padding-right:0 !important}.cmb2-id-rank-math-usage-tracking .cmb-td{width:5% !important}@media screen and (max-width: 905px){.rank-math-wizard #cmb2-metabox-rank-math-wizard .cmb2-id-console-authorization-code .button-primary,.rank-math-wizard #cmb2-metabox-rank-math-wizard .cmb2-id-console-profile .button-primary{display:block;margin-top:10px;margin-left:0}.rank-math-wizard .cmb-row.cmb-multicheck-inline.with-description .cmb2-metabox-description{width:100%;margin-top:20px}}@media screen and (max-width: 782px){.rank-math-wizard .wizard-navigation a:before{font-size:12px}.rank-math-wizard .cmb2-wrap .cmb-row input[type=checkbox]:checked:before{font-size:30px}.rank-math-wizard #rank-math-compatibility-collapsible .form-table th,.rank-math-wizard #rank-math-compatibility-collapsible .form-table td{display:table-cell}}@media screen and (max-width: 782px) and (max-width: 640px){.rank-math-wizard .logo img{width:190px}.rank-math-wizard .wrapper{padding:30px 15px 35px}.rank-math-wizard .form-footer{margin-top:15px}.rank-math-wizard .cmb2-wrap .cmb-row .regular-text,.rank-math-wizard #cmb2-metabox-rank-math-wizard select{width:100%;max-width:100%}.rank-math-wizard .form-footer:not(.custom){text-align:center}}@media screen and (max-width: 782px) and (max-width: 595px){.rank-math-wizard .wizard-navigation{margin:25px auto 50px}.rank-math-wizard .wizard-navigation a:before{display:none}.rank-math-wizard .wizard-navigation a:first-child:before{position:relative;z-index:1;display:block;margin-top:-7px;background:#fff}.rank-math-wizard .wizard-navigation a:after{top:-12px}.rank-math-wizard.rank-math-wizard .cmb-form>header h1{font-size:24px}.rank-math-wizard.rank-math-wizard .cmb-form>header p{margin-top:10px}.rank-math-wizard.rank-math-wizard-body--ready .wizard-usage-tracking{padding:15px}.rank-math-wizard.rank-math-wizard-body--ready .wizard-share{margin-top:25px}.rank-math-wizard.rank-math-wizard-body--ready .wizard-next-steps{margin:25px 0 0}.rank-math-wizard.rank-math-wizard-body--ready .wizard-next-steps>div{width:100%;padding:0 0 25px}}body.rtl.rank-math-wizard-body--requirements .rank-math-collapsible-trigger{display:inline-block;margin-right:10px;margin-left:0;padding:0 5px 0 12px}body.rtl.rank-math-wizard-body--requirements h2>.dashicons{margin-right:0;margin-left:5px}body.rtl.rank-math-wizard-body--requirements .form-table td:last-child{text-align:left}body.rtl.rank-math-wizard-body--requirements .form-footer .button .dashicons-arrow-right-alt2:before{content:'\f341'}body.rtl .wizard-navigation .step-label+a:after{-webkit-transform:translate(20%, 23px);transform:translate(20%, 23px)}body.rtl .wizard-navigation a:after{-webkit-transform:translate(50%, 23px);transform:translate(50%, 23px)}body.rtl .return-to-dashboard a .dashicons-arrow-left-alt2:before{content:'\f345'}body.rtl.rank-math-wizard .form-footer:not(.custom) .button-secondary{margin-right:0;margin-left:10px}body.rtl.rank-math-wizard-body--ready .cmb-form>header .dashicons-yes{margin-right:0;margin-left:5px}body.rtl.rank-math-wizard-body--ready .wizard-share{margin-right:10px;margin-left:0}body.rtl.rank-math-wizard-body--ready .wizard-share a{display:inline-block;margin-right:5px;margin-left:0;padding-right:15px;padding-left:20px}body.rtl.rank-math-wizard-body--ready .wizard-share .dashicons{margin-right:0 !important;margin-left:5px !important}body.rtl.rank-math-wizard-body--ready .wizard-next-steps>div{float:right}body.rtl.rank-math-wizard-body--ready .wizard-next-steps .learn-more{padding-right:35px;padding-left:0}body.rtl.rank-math-wizard-body--ready .wizard-next-steps .learn-more .dashicons{margin-right:0;margin-left:13px}
|
assets/admin/img/ajax-loader.gif
ADDED
Binary file
|
assets/admin/img/icon-gif.png
ADDED
Binary file
|
assets/admin/img/icon-play.png
ADDED
Binary file
|
assets/admin/img/logo.png
ADDED
Binary file
|
assets/admin/img/logo.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg viewBox="0 0 184.23 48.28" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><g fill="#656fb4"><path d="m51.78 42.18v-20.55h7.88a8.36 8.36 0 0 1 5.62 1.72 6.09 6.09 0 0 1 2 4.89 5.83 5.83 0 0 1 -4.51 6.09l5.4 7.85h-4.47l-4.9-7.24h-3.32v7.24zm3.7-10.63h4.09a5.47 5.47 0 0 0 2.94-.67 2.77 2.77 0 0 0 1.07-2.55 2.76 2.76 0 0 0 -1.07-2.56 5.66 5.66 0 0 0 -2.94-.66h-4.09z"/><path d="m68.47 37.16a5.36 5.36 0 0 1 .09-1 4.84 4.84 0 0 1 .44-1.16 4.24 4.24 0 0 1 1-1.3 5.82 5.82 0 0 1 2-1 10.61 10.61 0 0 1 3.06-.4 18.53 18.53 0 0 1 2.69.21c0-1.94-1.08-2.92-3.24-2.92a12.13 12.13 0 0 0 -4.51.77v-3.03a13.87 13.87 0 0 1 4.72-.77 7 7 0 0 1 5 1.68 6.44 6.44 0 0 1 1.74 4.85v4.16a4.92 4.92 0 0 1 -1.46 3.65 6.79 6.79 0 0 1 -4.87 1.53 7.09 7.09 0 0 1 -5-1.54 5 5 0 0 1 -1.6-3.73zm3.69-.46c0 1.64 1 2.46 2.89 2.46 1.83 0 2.75-.77 2.75-2.33v-1.94a18.33 18.33 0 0 0 -2.2-.19c-2.27 0-3.43.66-3.44 2z"/><path d="m83.63 42.18v-13.93a15.51 15.51 0 0 1 7.05-1.69 7.13 7.13 0 0 1 5 1.68 6.09 6.09 0 0 1 1.81 4.7v9.24h-3.66v-9.55a3.86 3.86 0 0 0 -.12-1 2.47 2.47 0 0 0 -.45-.86 2 2 0 0 0 -1.1-.68 7.23 7.23 0 0 0 -2-.22 16.13 16.13 0 0 0 -2.86.27v12.04z"/><path d="m99.77 42.18v-21.13h3.7v11.4l5.17-5.64h4.91l-6.7 6.84 7.41 8.53h-4.69l-5.08-6.06-1.02 1.04v5.02z"/></g><path d="m122.23 42.18v-20.55h4.1l5.94 8.6 5.94-8.6h4.1v20.55h-3.69v-15.19l-6.35 9.09-6.35-9.09v15.19z" fill="#071016"/><path d="m144.69 37.16a4.61 4.61 0 0 1 .1-1 4.18 4.18 0 0 1 .47-1.22 4 4 0 0 1 1.05-1.3 5.67 5.67 0 0 1 2-1 10.69 10.69 0 0 1 3.07-.4 18.74 18.74 0 0 1 2.69.21c0-1.94-1.09-2.92-3.25-2.92a12.13 12.13 0 0 0 -4.51.77v-2.97a13.87 13.87 0 0 1 4.72-.77 6.94 6.94 0 0 1 5 1.68 6.44 6.44 0 0 1 1.74 4.85v4.16a4.89 4.89 0 0 1 -1.58 3.65 6.76 6.76 0 0 1 -4.86 1.53c-2.27 0-3.94-.52-5-1.54a5 5 0 0 1 -1.61-3.73zm3.7-.46c0 1.64 1 2.46 2.89 2.46 1.83 0 2.75-.77 2.75-2.33v-1.94a18.33 18.33 0 0 0 -2.2-.19c-2.27 0-3.43.66-3.44 2z" fill="#071016"/><path d="m158.85 30v-3.19h2.58v-4.53h3.7v4.53h3.64v3.19h-3.64v7.59a1.73 1.73 0 0 0 .41 1.34 2.37 2.37 0 0 0 1.47.34 4.42 4.42 0 0 0 1.76-.33v3.06a6.09 6.09 0 0 1 -2.36.45h-.08a4.73 4.73 0 0 1 -3.59-1.36 5.14 5.14 0 0 1 -1.31-3.73v-7.36z" fill="#071016"/><path d="m170.61 42.18v-21.18h3.7v6.12a8.32 8.32 0 0 1 3.08-.52 7.13 7.13 0 0 1 5 1.68 6.12 6.12 0 0 1 1.81 4.7v9.24h-3.7v-9.59a5 5 0 0 0 -.1-1 2.51 2.51 0 0 0 -.46-.86 2.22 2.22 0 0 0 -1.16-.68 7.8 7.8 0 0 0 -2-.22 6.07 6.07 0 0 0 -2.46.45v11.9z" fill="#071016"/><path d="m16 30.49a1.5 1.5 0 0 0 1 .4v8.55l-8.51-3.89v-.22z" fill="#586c7d"/><path d="m8.49 25h8.51v2.84a1.53 1.53 0 0 0 -1.43 1l-7.08 4.61z" fill="#41b5e7"/><path d="m23.76 34.48a1.75 1.75 0 0 0 1.75 1.73v7.12l-8.51-3.89v-8.55a1.52 1.52 0 0 0 1-.39z" fill="#2c3d48"/><path d="m17 19.43h8.51v13.28a1.67 1.67 0 0 0 -1.07.37l-6-4.14a1.54 1.54 0 0 0 -1.44-1.12z" fill="#0097d5"/><path d="m34 27.26v6.07l-3.76 8.23a3.61 3.61 0 0 1 -4.75 1.77v-7.12a1.75 1.75 0 0 0 1.76-1.75 1.27 1.27 0 0 0 0-.34z" fill="#071016"/><path d="m25.51 13.77h8.49v11.31l-7.74 7.81a1.69 1.69 0 0 0 -.78-.18z" fill="#006faa"/><path d="m14.17 6.08-10.63 23.27a5.16 5.16 0 0 0 2.54 6.8l18.8 8.59a5.14 5.14 0 0 0 6.79-2.54l10.63-23.28a5.13 5.13 0 0 0 -2.53-6.79l-18.77-8.59a5.16 5.16 0 0 0 -6.8 2.54zm-13.43 21.99 10.63-23.27a8.22 8.22 0 0 1 10.88-4.06l18.8 8.59a8.24 8.24 0 0 1 4.06 10.87l-10.63 23.28a8.23 8.23 0 0 1 -10.88 4.06l-18.8-8.54a8.22 8.22 0 0 1 -4.06-10.93z" fill="#071016"/><path d="m16 30.49a1.5 1.5 0 0 0 1 .4v8.55l-8.51-3.89v-.22z" fill="#586c7d"/><path d="m8.49 25h8.51v2.84a1.53 1.53 0 0 0 -1.43 1l-7.08 4.61z" fill="#94a3d3"/><path d="m23.76 34.48a1.75 1.75 0 0 0 1.75 1.73v7.12l-8.51-3.89v-8.55a1.52 1.52 0 0 0 1-.39z" fill="#2c3d48"/><path d="m17 19.43h8.51v13.28a1.67 1.67 0 0 0 -1.07.37l-6-4.14a1.54 1.54 0 0 0 -1.44-1.12z" fill="#7b8cc6"/><path d="m34 27.26v6.07l-3.76 8.23a3.61 3.61 0 0 1 -4.75 1.77v-7.12a1.75 1.75 0 0 0 1.76-1.75 1.27 1.27 0 0 0 0-.34z" fill="#071016"/><path d="m25.51 13.77h8.49v11.31l-7.74 7.81a1.69 1.69 0 0 0 -.78-.18z" fill="#656fb4"/></g></svg>
|
assets/admin/img/progressred.png
ADDED
Binary file
|
assets/admin/img/score-100.png
ADDED
Binary file
|
assets/admin/js/assessor.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=317)}([function(e,t){e.exports=Array.isArray},function(e,t,n){var i=n(68),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},function(e,t,n){var i=n(94)("wks"),r=n(52),o=n(3).Symbol,u="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=u&&o[e]||(u?o:r)("Symbol."+e))}).store=i},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var i=n(16),r=n(53);e.exports=n(5)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=!n(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=jQuery},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var i=n(155),r=n(158);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},function(e,t,n){var i=n(21),r=n(134),o=n(135),u=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?r(e):o(e)}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(89)("wks"),r=n(90),o=n(10).Symbol,u="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=u&&o[e]||(u?o:r)("Symbol."+e))}).store=i},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var i=n(46),r=n(87);e.exports=n(32)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(17),r=n(96),o=n(98),u=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(13);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var i=n(3),r=n(4),o=n(19),u=n(52)("src"),a=Function.toString,s=(""+a).split("toString");n(51).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(l&&(o(n,u)||r(n,u,e[t]?""+e[t]:s.join(t+""))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n(281)),o=a(n(124)),u=a(n(280));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"announce",value:function(e,t,n){(0,o.default)(e)||(e=e?"ok":"fail");var i={status:e,message:this.getText(e),score:t||0,hasFactors:!1};return(0,u.default)(n)||(i.factors=n,i.hasFactors=!0,i.message=i.message.replace(/{(\d+)}/g,function(e,t){return(0,u.default)(n[t])?"":n[t]})),i}},{key:"getText",value:function(e){var t=this.getTextID(e);return(0,r.default)(rankMath.assessor.__,t)?rankMath.assessor.__[t]:"No text found."}},{key:"getTextID",value:function(e){return this.prefix+"."+e}},{key:"run",value:function(e,t){throw Error("Test unimplemented.")}},{key:"isApplicable",value:function(){return!0}}]),e}();t.default=s},function(e,t,n){var i=n(1);e.exports=i.Symbol},function(e,t,n){var i=n(65),r=n(38);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},function(e,t,n){var i=n(131),r=n(114),o=n(22);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t,n){var i=n(145),r=n(146),o=n(147),u=n(148),a=n(149);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=u,s.prototype.set=a,e.exports=s},function(e,t,n){var i=n(71);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},function(e,t,n){var i=n(8)(Object,"create");e.exports=i},function(e,t,n){var i=n(167);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var i=n(9),r=n(7);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},function(e,t,n){var i=n(28);e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t){e.exports={}},function(e,t,n){var i=n(47);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(48)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(243),r=n(55);e.exports=function(e){return i(r(e))}},function(e,t,n){"use strict";var i=n(353);e.exports=function(e){return function(e){return function(t){var n=t&&t.children;if(!n)throw Error("Missing children in `parent` for `modifier`");return i(n,e,t)}}(function(e){return function(t,n){return e(t,n,this)}}(e))}},function(e,t,n){var i=n(128),r=n(142)(i);e.exports=r},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&9007199254740991>=e}},function(e,t,n){var i=n(8)(n(1),"Map");e.exports=i},function(e,t,n){var i=n(159),r=n(166),o=n(168),u=n(169),a=n(170);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=u,s.prototype.set=a,e.exports=s},function(e,t,n){var i=n(0),r=n(28),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||u.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}},function(e,t,n){var i=n(123),r=n(22),o=n(124),u=n(204),a=n(205),s=Math.max;e.exports=function(e,t,n,l){e=r(e)?e:a(e),n=n&&!l?u(n):0;var c=e.length;return 0>n&&(n=s(c+n,0)),o(e)?c>=n&&e.indexOf(t,n)>-1:!!c&&i(e,t,n)>-1}},function(e,t,n){var i=n(218),r=n(45);e.exports=function(e){return i(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(31),r=n(221),o=n(222),u=Object.defineProperty;t.f=n(32)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(89)("keys"),r=n(90);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(94)("keys"),r=n(52);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){"use strict";var i=n(4),r=n(18),o=n(34),u=n(55),a=n(2);e.exports=function(e,t,n){var s=a(e),l=n(u,s,""[e]),c=l[0],d=l[1];o(function(){var t={};return t[s]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,c),i(RegExp.prototype,s,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){var i=n(143),r=n(186),o=n(108),u=n(0),a=n(194);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?u(e)?r(e[0],e[1]):i(e):a(e)}},function(e,t,n){"use strict";e.exports=function e(t,n){var i,r,o,u=n||"";if(!t||!("length"in t)&&!t.type)throw Error("Expected node, not `"+t+"`");if("string"==typeof t.value)return t.value;if(1===(r=(o="length"in t?t:t.children).length)&&"value"in o[0])return o[0].value;for(i=[];r--;)i[r]=e(o[r],u);return i.join(u)}},function(e,t,n){var i=n(133),r=n(7),o=Object.prototype,u=o.hasOwnProperty,a=o.propertyIsEnumerable,s=i(function(){return arguments}())?i:function(e){return r(e)&&u.call(e,"callee")&&!a.call(e,"callee")};e.exports=s},function(e,t,n){!function(e){var i=n(1),r=n(136),o=t&&!t.nodeType&&t,u=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=u&&u.exports===o?i.Buffer:void 0;e.exports=(a?a.isBuffer:void 0)||r}(n(63)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var i=n(137),r=n(138),o=n(139),u=o&&o.isTypedArray,a=u?r(u):i;e.exports=a},function(e,t,n){var i=n(9),r=n(14);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/<\/?[a-z][^>]*?>/gi,"\n")}},function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var u=e[n];t(u,n,e)&&(o[r++]=u)}return o}},function(e,t,n){var i;i=n(113),e.exports="object"==typeof i&&i&&i.Object===Object&&i},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&t>e}},function(e,t,n){var i=n(24),r=n(150),o=n(151),u=n(152),a=n(153),s=n(154);function l(e){var t=this.__data__=new i(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=u,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var i=n(171),r=n(7);e.exports=function e(t,n,o,u,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,o,u,e,a))}},function(e,t,n){var i=n(116),r=n(174),o=n(117);e.exports=function(e,t,n,u,a,s){var l=1&n,c=e.length,d=t.length;if(!(c==d||l&&d>c))return!1;var f=s.get(e);if(f&&s.get(t))return f==t;var p=-1,h=!0,g=2&n?new i:void 0;for(s.set(e,t),s.set(t,e);++p<c;){var y=e[p],m=t[p];if(u)var b=l?u(m,y,p,t,e,s):u(y,m,p,e,t,s);if(void 0!==b){if(b)continue;h=!1;break}if(g){if(!r(t,function(e,t){if(!o(g,t)&&(y===e||a(y,e,n,u,s)))return g.push(t)})){h=!1;break}}else if(y!==m&&!a(y,m,n,u,s)){h=!1;break}}return s.delete(e),s.delete(t),h}},function(e,t,n){var i=n(14);e.exports=function(e){return e==e&&!i(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var i=n(78),r=n(29);e.exports=function(e,t){for(var n=0,o=(t=i(t,e)).length;null!=e&&o>n;)e=e[r(t[n++])];return n&&n==o?e:void 0}},function(e,t,n){var i=n(0),r=n(41),o=n(188),u=n(79);e.exports=function(e,t){return i(e)?e:r(e,t)?[e]:o(u(e))}},function(e,t,n){var i=n(191);e.exports=function(e){return null==e?"":i(e)}},function(e,t,n){var i=n(14),r=n(28),o=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):u.test(e)?NaN:+e}},,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var i=n(84),r=n(85),o=n(223),u=n(15),a=n(30),s=n(224),l=n(92),c=n(232),d=n(12)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,g,y,m){s(n,t,h);var b,v,D,w=function(e){if(!f&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",F="values"==g,x=!1,E=e.prototype,C=E[d]||E["@@iterator"]||g&&E[g],A=C||w(g),_=g?F?w("entries"):A:void 0,j="Array"==t&&E.entries||C;if(j&&(D=c(j.call(new e)))!==Object.prototype&&D.next&&(l(D,k,!0),i||"function"==typeof D[d]||u(D,d,p)),F&&C&&"values"!==C.name&&(x=!0,A=function(){return C.call(this)}),i&&!m||!f&&!x&&E[d]||u(E,d,A),a[t]=A,a[k]=p,g)if(b={values:F?A:w("values"),keys:y?A:w("keys"),entries:_},m)for(v in b)v in E||o(E,v,b[v]);else r(r.P+r.F*(f||x),t,b);return b}},function(e,t){e.exports=!0},function(e,t,n){var i=n(10),r=n(11),o=n(219),u=n(15),a=n(33),s=function(e,t,n){var l,c,d,f=e&s.F,p=e&s.G,h=e&s.S,g=e&s.P,y=e&s.B,m=e&s.W,b=p?r:r[t]||(r[t]={}),v=b.prototype,D=p?i:h?i[t]:(i[t]||{}).prototype;for(l in p&&(n=t),n)(c=!f&&D&&void 0!==D[l])&&a(b,l)||(d=c?D[l]:n[l],b[l]=p&&"function"!=typeof D[l]?n[l]:y&&c?o(d,i):m&&D[l]==d?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):g&&"function"==typeof d?o(Function.call,d):d,g&&((b.virtual||(b.virtual={}))[l]=d,e&s.R&&v&&!v[l]&&u(v,l,d)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var i=n(47),r=n(10).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(227),r=n(91);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(11),r=n(10),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(84)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(46).f,r=n(33),o=n(12)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(45);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(51),r=n(3),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(95)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){e.exports=!n(5)&&!n(34)(function(){return 7!=Object.defineProperty(n(97)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(13),r=n(3).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(13);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(246);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var i=n(102),r=n(57);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(19),r=n(35),o=n(250)(!1),u=n(56)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),s=0,l=[];for(n in a)n!=u&&i(a,n)&&l.push(n);for(;t.length>s;)i(a,n=t[s++])&&(~o(l,n)||l.push(n));return l}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(16).f,r=n(19),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(13),r=n(99),o=n(2)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t,n){var i=n(210),r=n(211),o=n(238);e.exports=function(e,t){return i(e)||r(e,t)||o()}},function(e,t,n){e.exports=n(258)},function(e,t){e.exports=function(e){return e}},function(e,t,n){var i=n(67),r=n(127),o=n(59),u=n(0);e.exports=function(e,t){return(u(e)?i:r)(e,o(t,3))}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var i=n(42),r=n(59),o=n(208),u=n(0);e.exports=function(e,t){return(u(e)?i:o)(e,r(t,3))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(i,"").replace(r,"")};var i=/\[[^<>&\/\[\] - =]+?( [^\]]+?)?\]/g,r=/\[\/[^<>&\/\[\] - =]+?\]/g},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var i=n(115),r=n(140),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var i=n(40),r=n(172),o=n(173);function u(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}u.prototype.add=u.prototype.push=r,u.prototype.has=o,e.exports=u},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},function(e,t,n){var i=n(183),r=n(39),o=n(184),u=n(120),a=n(121),s=n(9),l=n(72),c=l(i),d=l(r),f=l(o),p=l(u),h=l(a),g=s;(i&&"[object DataView]"!=g(new i(new ArrayBuffer(1)))||r&&"[object Map]"!=g(new r)||o&&"[object Promise]"!=g(o.resolve())||u&&"[object Set]"!=g(new u)||a&&"[object WeakMap]"!=g(new a))&&(g=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,i=n?l(n):"";if(i)switch(i){case c:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){var i=n(8)(n(1),"Set");e.exports=i},function(e,t,n){var i=n(8)(n(1),"WeakMap");e.exports=i},function(e,t,n){var i=n(78),r=n(61),o=n(0),u=n(69),a=n(38),s=n(29);e.exports=function(e,t,n){for(var l=-1,c=(t=i(t,e)).length,d=!1;++l<c;){var f=s(t[l]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&a(c)&&u(f,c)&&(o(e)||r(e))}},function(e,t,n){var i=n(201),r=n(202),o=n(203);e.exports=function(e,t,n){return t==t?o(e,t,n):i(e,r,n)}},function(e,t,n){var i=n(9),r=n(0),o=n(7);e.exports=function(e){return"string"==typeof e||!r(e)&&o(e)&&"[object String]"==i(e)}},function(e,t,n){var i=n(80);e.exports=function(e){return e?(e=i(e))===1/0||e===-1/0?1.7976931348623157e308*(0>e?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){"use strict";e.exports={affixSymbol:/^([\)\]\}\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u2309\u230B\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3E\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63]|["'\xBB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21]|[!\.\?\u2026\u203D])\1*$/,newLine:/^[ \t]*((\r?\n|\r)[\t ]*)+$/,newLineMulti:/^[ \t]*((\r?\n|\r)[\t ]*){2,}$/,terminalMarker:/^((?:[!\.\?\u2026\u203D])+)$/,wordSymbolInner:/^((?:[&'\-\.:=\?@\xAD\xB7\u2010\u2011\u2019\u2027])|(?:_)+)$/,numerical:/^(?:[0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE47\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDF50-\uDF59\uDF5B-\uDF61]|\uD834[\uDF60-\uDF71]|\uD835[\uDFCE-\uDFFF]|\uD83A[\uDCC7-\uDCCF]|\uD83C[\uDD00-\uDD0C])+$/,digitStart:/^\d/,lowerInitial:/^(?:[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]|\uD801[\uDC28-\uDC4F]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB])/,surrogates:/[\uD800-\uDFFF]/,punctuation:/[!"'-\),-\/:;\?\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u201F\u2022-\u2027\u2032-\u203A\u203C-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,word:/[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09F4-\u09F9\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BF2\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7E\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D75\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u17F0-\u17F9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABE\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u3192-\u3195\u31A0-\u31BA\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA830-\uA835\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0-\uDEFB\uDF00-\uDF23\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F-\uDE47\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE6\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDCFF\uDE60-\uDE7E]|\uD804[\uDC00-\uDC46\uDC52-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF3B]|\uD806[\uDCA0-\uDCF2\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44\uDF60-\uDF71]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,whiteSpace:/[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/}},function(e,t,n){var i=n(37);e.exports=function(e,t){var n=[];return i(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}},function(e,t,n){var i=n(129),r=n(23);e.exports=function(e,t){return e&&i(e,t,r)}},function(e,t,n){var i=n(130)();e.exports=i},function(e,t){e.exports=function(e){return function(t,n,i){for(var r=-1,o=Object(t),u=i(t),a=u.length;a--;){var s=u[e?a:++r];if(!1===n(o[s],s,o))break}return t}}},function(e,t,n){var i=n(132),r=n(61),o=n(0),u=n(62),a=n(69),s=n(64),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&r(e),d=!n&&!c&&u(e),f=!n&&!c&&!d&&s(e),p=n||c||d||f,h=p?i(e.length,String):[],g=h.length;for(var y in e)!t&&!l.call(e,y)||p&&("length"==y||d&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,g))||h.push(y);return h}},function(e,t){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},function(e,t,n){var i=n(9),r=n(7);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},function(e,t,n){var i=n(21),r=Object.prototype,o=r.hasOwnProperty,u=r.toString,a=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(e){}var r=u.call(e);return i&&(t?e[a]=n:delete e[a]),r}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var i=n(9),r=n(38),o=n(7),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!u[i(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){!function(e){var i=n(68),r=t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,u=o&&o.exports===r&&i.process,a=function(){try{return o&&o.require&&o.require("util").types||u&&u.binding&&u.binding("util")}catch(e){}}();e.exports=a}(n(63)(e))},function(e,t,n){var i=n(141)(Object.keys,Object);e.exports=i},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var i=n(22);e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var o=n.length,u=t?o:-1,a=Object(n);(t?u--:++u<o)&&!1!==r(a[u],u,a););return n}}},function(e,t,n){var i=n(144),r=n(185),o=n(76);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},function(e,t,n){var i=n(70),r=n(73);e.exports=function(e,t,n,o){var u=n.length,a=u,s=!o;if(null==e)return!a;for(e=Object(e);u--;){var l=n[u];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++u<a;){var c=(l=n[u])[0],d=e[c],f=l[1];if(s&&l[2]){if(void 0===d&&!(c in e))return!1}else{var p=new i;if(o)var h=o(d,f,c,e,t,p);if(!(void 0===h?r(f,d,3,o,p):h))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var i=n(25),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return n>=0&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},function(e,t,n){var i=n(25);e.exports=function(e){var t=this.__data__,n=i(t,e);return 0>n?void 0:t[n][1]}},function(e,t,n){var i=n(25);e.exports=function(e){return i(this.__data__,e)>-1}},function(e,t,n){var i=n(25);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return 0>r?(++this.size,n.push([e,t])):n[r][1]=t,this}},function(e,t,n){var i=n(24);e.exports=function(){this.__data__=new i,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var i=n(24),r=n(39),o=n(40);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var u=n.__data__;if(!r||199>u.length)return u.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(u)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var i=n(65),r=n(156),o=n(14),u=n(72),a=/^\[object .+?Constructor\]$/,s=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?s:a).test(u(e))}},function(e,t,n){var i,r=n(157),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var i=n(1);e.exports=i["__core-js_shared__"]},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var i=n(160),r=n(24),o=n(39);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},function(e,t,n){var i=n(161),r=n(162),o=n(163),u=n(164),a=n(165);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=u,s.prototype.set=a,e.exports=s},function(e,t,n){var i=n(26);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var i=n(26),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},function(e,t,n){var i=n(26),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},function(e,t,n){var i=n(26);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var i=n(27);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var i=n(27);e.exports=function(e){return i(this,e).get(e)}},function(e,t,n){var i=n(27);e.exports=function(e){return i(this,e).has(e)}},function(e,t,n){var i=n(27);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},function(e,t,n){var i=n(70),r=n(74),o=n(175),u=n(178),a=n(119),s=n(0),l=n(62),c=n(64),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,y,m){var b=s(e),v=s(t),D=b?f:a(e),w=v?f:a(t),k=(D=D==d?p:D)==p,F=(w=w==d?p:w)==p,x=D==w;if(x&&l(e)){if(!l(t))return!1;b=!0,k=!1}if(x&&!k)return m||(m=new i),b||c(e)?r(e,t,n,g,y,m):o(e,t,D,n,g,y,m);if(!(1&n)){var E=k&&h.call(e,"__wrapped__"),C=F&&h.call(t,"__wrapped__");if(E||C){var A=E?e.value():e,_=C?t.value():t;return m||(m=new i),y(A,_,n,g,m)}}return!!x&&(m||(m=new i),u(e,t,n,g,y,m))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){var i=n(21),r=n(176),o=n(71),u=n(74),a=n(177),s=n(110),l=i?i.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,n,i,l,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=a;case"[object Set]":if(p||(p=s),e.size!=t.size&&!(1&i))return!1;var h=f.get(e);if(h)return h==t;i|=2,f.set(e,t);var g=u(p(e),p(t),i,l,d,f);return f.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},function(e,t,n){var i=n(1);e.exports=i.Uint8Array},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}},function(e,t,n){var i=n(179),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,u,a){var s=1&n,l=i(e),c=l.length;if(c!=i(t).length&&!s)return!1;for(var d=c;d--;){var f=l[d];if(!(s?f in t:r.call(t,f)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var h=!0;a.set(e,t),a.set(t,e);for(var g=s;++d<c;){var y=e[f=l[d]],m=t[f];if(o)var b=s?o(m,y,f,t,e,a):o(y,m,f,e,t,a);if(!(void 0===b?y===m||u(y,m,n,o,a):b)){h=!1;break}g||(g="constructor"==f)}if(h&&!g){var v=e.constructor,D=t.constructor;v!=D&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof D&&D instanceof D)&&(h=!1)}return a.delete(e),a.delete(t),h}},function(e,t,n){var i=n(180),r=n(181),o=n(23);e.exports=function(e){return i(e,o,r)}},function(e,t,n){var i=n(118),r=n(0);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},function(e,t,n){var i=n(67),r=n(182),o=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;e.exports=u?function(e){return null==e?[]:i(u(e=Object(e)),function(t){return o.call(e,t)})}:r},function(e,t){e.exports=function(){return[]}},function(e,t,n){var i=n(8)(n(1),"DataView");e.exports=i},function(e,t,n){var i=n(8)(n(1),"Promise");e.exports=i},function(e,t,n){var i=n(75),r=n(23);e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],u=e[o];t[n]=[o,u,i(u)]}return t}},function(e,t,n){var i=n(73),r=n(187),o=n(192),u=n(41),a=n(75),s=n(76),l=n(29);e.exports=function(e,t){return u(e)&&a(t)?s(l(e),t):function(n){var u=r(n,e);return void 0===u&&u===t?o(n,e):i(t,u,3)}}},function(e,t,n){var i=n(77);e.exports=function(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}},function(e,t,n){var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,o=n(189)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,i,o){t.push(i?o.replace(r,"$1"):n||e)}),t});e.exports=o},function(e,t,n){var i=n(190);e.exports=function(e){var t=i(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var i=n(40),r="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var u=e.apply(this,i);return n.cache=o.set(r,u)||o,u};return n.cache=new(o.Cache||i),n}o.Cache=i,e.exports=o},function(e,t,n){var i=n(21),r=n(42),o=n(0),u=n(28),a=i?i.prototype:void 0,s=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(u(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var i=n(193),r=n(122);e.exports=function(e,t){return null!=e&&r(e,t,i)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var i=n(195),r=n(196),o=n(41),u=n(29);e.exports=function(e){return o(e)?i(u(e)):r(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var i=n(77);e.exports=function(e){return function(t){return i(t,e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(0,r.default)(e)).replace(/ /gi,"-").toLowerCase()};var i,r=(i=n(198))&&i.__esModule?i:{default:i}},function(e,t,n){var i=n(199),r=n(79),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u=/[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]/g;e.exports=function(e){return(e=r(e))&&e.replace(o,i).replace(u,"")}},function(e,t,n){var i=n(200)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=i},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t){e.exports=function(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}},function(e,t,n){var i=n(125);e.exports=function(e){var t=i(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var i=n(206),r=n(23);e.exports=function(e){return null==e?[]:i(e,r(e))}},function(e,t,n){var i=n(42);e.exports=function(e,t){return i(t,function(t){return e[t]})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=s((0,r.autop)((0,u.default)(e)),t);return n.length>0?n:[e]};var i=a(n(111)),r=n(209),o=a(n(66)),u=a(n(112));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var n=[];t=t||!1;for(var r=/<p(?:[^>]+)?>(.*?)<\/p>/gi,u=void 0;null!==(u=r.exec(e));)n.push(u);return(0,i.default)(n,function(e){return t?(0,o.default)(e[1]):e[1]})}},function(e,t,n){var i=n(37),r=n(22);e.exports=function(e,t){var n=-1,o=r(e)?Array(e.length):[];return i(e,function(e,i,r){o[++n]=t(e,i,r)}),o}},function(e,t,n){"use strict";n.r(t),n.d(t,"autop",function(){return l}),n.d(t,"removep",function(){return c});var i=n(106),r=n.n(i),o=(n(239),n(256),n(257),n(107)),u=n.n(o),a=(n(261),n(262),/(<((?=!--|!\[CDATA\[)((?=!-)!(?:-(?!->)[^\-]*)*(?:-->)?|!\[CDATA\[[^\]]*(?:](?!]>)[^\]]*)*?(?:]]>)?)|[^>]*>?))/);function s(e,t){for(var n=function(e){for(var t,n=[],i=e;t=i.match(a);)n.push(i.slice(0,t.index)),n.push(t[0]),i=i.slice(t.index+t[0].length);return i.length&&n.push(i),n}(e),i=!1,r=u()(t),o=1;n.length>o;o+=2)for(var s=0;r.length>s;s++){var l=r[s];if(-1!==n[o].indexOf(l)){n[o]=n[o].replace(RegExp(l,"g"),t[l]),i=!0;break}}return i&&(e=n.join("")),e}function l(e){var t=1>=arguments.length||void 0===arguments[1]||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var i=e.split("</pre>"),o=i.pop();e="";for(var u=0;i.length>u;u++){var a=i[u],l=a.indexOf("<pre");if(-1!==l){var c="<pre wp-pre-tag-"+u+"></pre>";n.push([c,a.substr(l)+"</pre>"]),e+=a.substr(0,l)+c}else e+=a}e+=o}var d="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=s(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(RegExp("(<"+d+"[s/>])","g"),"\n\n$1")).replace(RegExp("(</"+d+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var f=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",f.forEach(function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(RegExp("<p>s*(</?"+d+"[^>]*>)s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(RegExp("<p>s*(</?"+d+"[^>]*>)","g"),"$1")).replace(RegExp("(</?"+d+"[^>]*>)s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,t){return t?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(RegExp("(</?"+d+"[^>]*>)s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach(function(t){var n=r()(t,2);e=e.replace(n[0],n[1])}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function c(e){var t="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=t+"|div|p",i=t+"|pre",r=[],o=!1,u=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(e){return r.push(e),"<wp-preserve>"})),-1!==e.indexOf("<pre")&&(o=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==e.indexOf("[caption")&&(u=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>.*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,function(e,t){return t&&-1!==t.indexOf("\n")?"\n\n":"\n"})).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(RegExp("\\s*<((?:"+i+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(RegExp("\\s*</("+i+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/[\r\n]+/g,"")})),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),o&&(e=e.replace(/<wp-line-break>/g,"\n")),u&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),r.length&&(e=e.replace(/<wp-preserve>/g,function(){return r.shift()})),e):""}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t,n){var i=n(212);e.exports=function(e,t){var n=[],r=!0,o=!1,u=void 0;try{for(var a,s=i(e);!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,u=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw u}}return n}},function(e,t,n){e.exports=n(213)},function(e,t,n){n(214),n(233),e.exports=n(235)},function(e,t,n){n(215);for(var i=n(10),r=n(15),o=n(30),u=n(12)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;a.length>s;s++){var l=a[s],c=i[l],d=c&&c.prototype;d&&!d[u]&&r(d,u,l),o[l]=o.Array}},function(e,t,n){"use strict";var i=n(216),r=n(217),o=n(30),u=n(44);e.exports=n(83)(Array,"Array",function(e,t){this._t=u(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return e&&e.length>n?r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]]):(this._t=void 0,r(1))},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(82);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(220);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports=!n(32)&&!n(48)(function(){return 7!=Object.defineProperty(n(86)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(47);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){e.exports=n(15)},function(e,t,n){"use strict";var i=n(225),r=n(87),o=n(92),u={};n(15)(u,n(12)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(u,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(31),r=n(226),o=n(91),u=n(50)("IE_PROTO"),a=function(){},s=function(){var e,t=n(86)("iframe"),i=o.length;for(t.style.display="none",n(231).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;i--;)delete s.prototype[o[i]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[u]=e):n=s(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(46),r=n(31),o=n(88);e.exports=n(32)?Object.defineProperties:function(e,t){r(e);for(var n,u=o(t),a=u.length,s=0;a>s;)i.f(e,n=u[s++],t[n]);return e}},function(e,t,n){var i=n(33),r=n(44),o=n(228)(!1),u=n(50)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),s=0,l=[];for(n in a)n!=u&&i(a,n)&&l.push(n);for(;t.length>s;)i(a,n=t[s++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var i=n(44),r=n(229),o=n(230);e.exports=function(e){return function(t,n,u){var a,s=i(t),l=r(s.length),c=o(u,l);if(e&&n!=n){for(;l>c;)if((a=s[c++])!=a)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var i=n(49),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(49),r=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=i(e))?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(10).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(33),r=n(93),o=n(50)("IE_PROTO"),u=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,n){"use strict";var i=n(234)(!0);n(83)(String,"String",function(e){this._t=e+"",this._i=0},function(){var e,t=this._t,n=this._i;return t.length>n?(e=i(t,n),this._i+=e.length,{value:e,done:!1}):{value:void 0,done:!0}})},function(e,t,n){var i=n(49),r=n(45);e.exports=function(e){return function(t,n){var o,u,a=r(t)+"",s=i(n),l=a.length;return 0>s||s>=l?e?"":void 0:55296>(o=a.charCodeAt(s))||o>56319||s+1===l||56320>(u=a.charCodeAt(s+1))||u>57343?e?a.charAt(s):o:e?a.slice(s,s+2):u-56320+(o-55296<<10)+65536}}},function(e,t,n){var i=n(31),r=n(236);e.exports=n(11).getIterator=function(e){var t=r(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return i(t.call(e))}},function(e,t,n){var i=n(237),r=n(12)("iterator"),o=n(30);e.exports=n(11).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){var i=n(82),r=n(12)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(u=i(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){for(var i=n(240),r=n(101),o=n(18),u=n(3),a=n(4),s=n(54),l=n(2),c=l("iterator"),d=l("toStringTag"),f=s.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=r(p),g=0;h.length>g;g++){var y,m=h[g],b=p[m],v=u[m],D=v&&v.prototype;if(D&&(D[c]||a(D,c,f),D[d]||a(D,d,m),s[m]=f,b))for(y in i)D[y]||o(D,y,i[y],!0)}},function(e,t,n){"use strict";var i=n(241),r=n(242),o=n(54),u=n(35);e.exports=n(244)(Array,"Array",function(e,t){this._t=u(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return e&&e.length>n?r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]]):(this._t=void 0,r(1))},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var i=n(2)("unscopables"),r=Array.prototype;void 0==r[i]&&n(4)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(99);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var i=n(95),r=n(245),o=n(18),u=n(4),a=n(54),s=n(247),l=n(104),c=n(254),d=n(2)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,g,y,m){s(n,t,h);var b,v,D,w=function(e){if(!f&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",F="values"==g,x=!1,E=e.prototype,C=E[d]||E["@@iterator"]||g&&E[g],A=C||w(g),_=g?F?w("entries"):A:void 0,j="Array"==t&&E.entries||C;if(j&&(D=c(j.call(new e)))!==Object.prototype&&D.next&&(l(D,k,!0),i||"function"==typeof D[d]||u(D,d,p)),F&&C&&"values"!==C.name&&(x=!0,A=function(){return C.call(this)}),i&&!m||!f&&!x&&E[d]||u(E,d,A),a[t]=A,a[k]=p,g)if(b={values:F?A:w("values"),keys:y?A:w("keys"),entries:_},m)for(v in b)v in E||o(E,v,b[v]);else r(r.P+r.F*(f||x),t,b);return b}},function(e,t,n){var i=n(3),r=n(51),o=n(4),u=n(18),a=n(100),s=function(e,t,n){var l,c,d,f,p=e&s.F,h=e&s.G,g=e&s.P,y=e&s.B,m=h?i:e&s.S?i[t]||(i[t]={}):(i[t]||{}).prototype,b=h?r:r[t]||(r[t]={}),v=b.prototype||(b.prototype={});for(l in h&&(n=t),n)d=((c=!p&&m&&void 0!==m[l])?m:n)[l],f=y&&c?a(d,i):g&&"function"==typeof d?a(Function.call,d):d,m&&u(m,l,d,e&s.U),b[l]!=d&&o(b,l,f),g&&v[l]!=d&&(v[l]=d)};i.core=r,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var i=n(248),r=n(53),o=n(104),u={};n(4)(u,n(2)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(u,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(17),r=n(249),o=n(57),u=n(56)("IE_PROTO"),a=function(){},s=function(){var e,t=n(97)("iframe"),i=o.length;for(t.style.display="none",n(253).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;i--;)delete s.prototype[o[i]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[u]=e):n=s(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(16),r=n(17),o=n(101);e.exports=n(5)?Object.defineProperties:function(e,t){r(e);for(var n,u=o(t),a=u.length,s=0;a>s;)i.f(e,n=u[s++],t[n]);return e}},function(e,t,n){var i=n(35),r=n(251),o=n(252);e.exports=function(e){return function(t,n,u){var a,s=i(t),l=r(s.length),c=o(u,l);if(e&&n!=n){for(;l>c;)if((a=s[c++])!=a)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var i=n(103),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(103),r=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=i(e))?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(3).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(19),r=n(255),o=n(56)("IE_PROTO"),u=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,n){var i=n(55);e.exports=function(e){return Object(i(e))}},function(e,t,n){n(58)("split",2,function(e,t,i){"use strict";var r=n(105),o=i,u=[].push;if("".split(/.?/).length){var a=void 0===/()??/.exec("")[1];i=function(e,t){var n=this+"";if(void 0===e&&0===t)return[];if(!r(e))return o.call(n,e,t);var i,s,l,c,d,f=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,g=void 0===t?4294967295:t>>>0,y=RegExp(e.source,p+"g");for(a||(i=RegExp("^"+y.source+"$(?!\\s)",p));(s=y.exec(n))&&((l=s.index+s[0].length)<=h||(f.push(n.slice(h,s.index)),!a&&s.length>1&&s[0].replace(i,function(){for(d=1;arguments.length-2>d;d++)void 0===arguments[d]&&(s[d]=void 0)}),s.length>1&&n.length>s.index&&u.apply(f,s.slice(1)),c=s[0].length,h=l,g>f.length));)y.lastIndex===s.index&&y.lastIndex++;return h===n.length?!c&&y.test("")||f.push(""):f.push(n.slice(h)),f.length>g?f.slice(0,g):f}}return[function(n,r){var o=e(this),u=void 0==n?void 0:n[t];return void 0!==u?u.call(n,o,r):i.call(o+"",n,r)},i]})},function(e,t,n){n(58)("replace",2,function(e,t,n){return[function(i,r){"use strict";var o=e(this),u=void 0==i?void 0:i[t];return void 0!==u?u.call(i,o,r):n.call(o+"",i,r)},n]})},function(e,t,n){n(259),e.exports=n(11).Object.keys},function(e,t,n){var i=n(93),r=n(88);n(260)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){var i=n(85),r=n(11),o=n(48);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],u={};u[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",u)}},function(e,t,n){n(58)("match",1,function(e,t,n){return[function(n){"use strict";var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):RegExp(n)[t](i+"")},n]})},function(e,t,n){var i=n(3),r=n(263),o=n(16).f,u=n(267).f,a=n(105),s=n(268),l=i.RegExp,c=l,d=l.prototype,f=/a/g,p=/a/g,h=new l(f)!==f;if(n(5)&&(!h||n(34)(function(){return p[n(2)("match")]=!1,l(f)!=f||l(p)==p||"/a/i"!=l(f,"i")}))){l=function(e,t){var n=this instanceof l,i=a(e),o=void 0===t;return!n&&i&&e.constructor===l&&o?e:r(h?new c(i&&!o?e.source:e,t):c((i=e instanceof l)?e.source:e,i&&o?s.call(e):t),n?this:d,l)};for(var g=function(e){e in l||o(l,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},y=u(c),m=0;y.length>m;)g(y[m++]);d.constructor=l,l.prototype=d,n(18)(i,"RegExp",l)}n(269)("RegExp")},function(e,t,n){var i=n(13),r=n(264).set;e.exports=function(e,t,n){var o,u=t.constructor;return u!==n&&"function"==typeof u&&(o=u.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},function(e,t,n){var i=n(13),r=n(17),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(100)(Function.call,n(265).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){var i=n(266),r=n(53),o=n(35),u=n(98),a=n(19),s=n(96),l=Object.getOwnPropertyDescriptor;t.f=n(5)?l:function(e,t){if(e=o(e),t=u(t,!0),s)try{return l(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(102),r=n(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t,n){"use strict";var i=n(17);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var i=n(3),r=n(16),o=n(5),u=n(2)("species");e.exports=function(e){var t=i[e];o&&t&&!t[u]&&r.f(t,u,{configurable:!0,get:function(){return this}})}},,,,,,,,,,,function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var i=n(320),r=n(122);e.exports=function(e,t){return null!=e&&r(e,t,i)}},function(e,t,n){"use strict";e.exports=function(e){return function(t){var n=-1,i=t&&t.children;if(!i)throw Error("Missing children in `parent` for `visitor`");for(;++n in i;)e(i[n],n,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=g(e);return t=t||!1,0!==n.length&&(!1===t?n:n.slice(0,t))};var i=h(n(291)),r=h(n(111)),o=h(n(109)),u=h(n(66)),a=h(n(296)),s=h(n(112)),l=h(n(297)),c=h(n(298)),d=h(n(299)),f=h(n(341)),p=h(n(300));function h(e){return e&&e.__esModule?e:{default:e}}var g=function(e){if(""===(e=(0,i.default)(u.default,a.default,s.default,l.default,c.default,d.default,f.default)(e)))return[];var t=e.split(/\s/g);return t=(0,r.default)(t,function(e){return(0,p.default)(e)}),(0,o.default)(t,function(e){return""!==e.trim()})}},function(e,t,n){var i=n(292),r=n(285);function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}(o.prototype=i(r.prototype)).constructor=o,e.exports=o},function(e,t){e.exports=function(){}},function(e,t,n){var i=n(292),r=n(285),o=4294967295;function u(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=o,this.__views__=[]}(u.prototype=i(r.prototype)).constructor=u,e.exports=u},function(e,t,n){var i=n(344),r=n(125),o=n(80);e.exports=function(e,t,n){return t=r(t),void 0===n?(n=t,t=0):n=r(n),e=o(e),i(e,t,n)}},function(e,t,n){"use strict";var i=n(282);function r(e){e.position||(e.position={})}e.exports=i(function(e,t,n){var i=n.children;e.position&&(0!==t||n.position&&n.position.start||(r(n),n.position.start=e.position.start),t!==i.length-1||n.position&&n.position.end||(r(n),n.position.end=e.position.end))})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.get("content").match(/<a(?:[^>]+)?>/gi),n={total:null===t?0:t.length,internalTotal:0,internalDofollow:0,internalNofollow:0,externalTotal:0,externalDofollow:0,externalNofollow:0,otherTotal:0,otherDofollow:0,otherNofollow:0,anchors:t};return null===t?n:(t.forEach(function(e){var t=r.default.getLinkType(e,rankMath.parentDomain),i=r.default.checkNofollow(e,t);n[t+"Total"]++,n[t+i]++}),n)};var i,r=(i=n(384))&&i.__esModule?i:{default:i}},,function(e,t,n){var i=n(323)();e.exports=i},function(e,t,n){var i=n(14),r=Object.create,o=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},function(e,t,n){var i=n(335),r=n(294);e.exports=i?function(e){return i.get(e)}:r},function(e,t){e.exports=function(){}},function(e,t,n){var i=n(336),r=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",n=i[t],o=r.call(i,t)?n.length:0;o--;){var u=n[o],a=u.func;if(null==a||a==e)return u.name}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/<!--[\s\S]*?-->/g,"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/ | /gi," ").replace(/\s{2,}/g," ").replace(/\s\./g,".").replace(/^\s+|\s+$/g,"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/&\S+?;/g,"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/--|\u2014/g," ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(i,"").replace(r,"")};var i=/^[\–\-\(\)_\[\]’“”"'.?!:;,¿¡«»‹›—×+&<>]+/,r=/[\–\-\(\)_\[\]’“”"'.?!:;,¿¡«»‹›—×+&<>]+$/},function(e,t,n){"use strict";var i=n(282);e.exports=i(function(e,t,n){var i,r=e.children;r&&0!==r.length&&"WhiteSpaceNode"===r[0].type&&(n.children.splice(t,0,r.shift()),(i=r[0])&&i.position&&e.position&&(e.position.start=i.position.start))})},function(e,t,n){"use strict";var i=n(36);e.exports=i(function(e,t,n){var i,r=e.children;if(r&&0!==r.length&&"WhiteSpaceNode"===r[r.length-1].type)return n.children.splice(t+1,0,e.children.pop()),(i=r[r.length-1])&&i.position&&e.position&&(e.position.end=i.position.end),t})},function(e,t,n){"use strict";var i=n(36);e.exports=i(function(e,t,n){if("children"in e&&0===e.children.length)return n.children.splice(t,1),t})},function(e,t,n){e.exports={labels:n(401),scoringStrategy:n(402)}},,,,,,,,,,,,,function(e,t,n){"use strict";var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n(318)),o=a(n(407)),u=a(n(415));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.paper=new o.default,this.researcher=new r.default(this.paper),this.researches=t.researches,this.elemContent=t.elemContent}return i(e,[{key:"assessTitle",value:function(e){return this.paper.setTitle(e),this.run({keywordInTitle:!0,titleHasPowerWords:!0,titleHasNumber:!0,titleSentiment:!0,titleStartWithKeyword:!0})}},{key:"assessPermalink",value:function(e){return this.paper.setPermalink(e),this.run({keywordInPermalink:!0,lengthPermalink:!0})}},{key:"assessFocusKeyword",value:function(e){return this.paper.setKeyword(e.keyword),this.run(e.isPrimary?{keywordDensity:!0,keywordIn10Content:!0,keywordInContent:!0,keywordInImageAlt:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,keywordInSubheadings:!0,keywordInTitle:!0,keywordNotUsed:!0,titleStartWithKeyword:!0}:{keywordDensity:!0,keywordInContent:!0,keywordInSubheadings:!0})}},{key:"assessContent",value:function(e){return this.paper.setDescription(e),this.run({contentHasShortParagraphs:!0,contentHasTOC:!0,calculateFleschReading:!0,contentHasAssets:!0,keywordDensity:!0,keywordIn10Content:!0,keywordInContent:!0,keywordInImageAlt:!0,keywordInMetaDescription:!0,keywordInSubheadings:!0,lengthContent:!0,linksHasExternals:!0,linksHasInternal:!0,linksNotAllExternals:!0})}},{key:"runAll",value:function(){var e=this,t={},n=this.researches||this.researcher.getResearches();return(0,u.default)(n,function(n,i){t[i]=e.researcher.run(i)}),t}},{key:"run",value:function(e){var t=this,n={};return(0,u.default)(e,function(e,i){var r=t.researcher.run(i);!1!==r&&(n[i]=r)}),n}},{key:"refreshContent",value:function(){if(null!==this.elemContent&&0!==this.elemContent.length){var e="undefined"!=typeof tinymce&&tinymce.activeEditor&&"content"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():this.elemContent.val();this.paper.setContent(e)}}}]),e}();window.Assessor=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=j(n(319)),o=j(n(342)),u=j(n(343)),a=j(n(371)),s=j(n(372)),l=j(n(373)),c=j(n(374)),d=j(n(375)),f=j(n(376)),p=j(n(377)),h=j(n(378)),g=j(n(379)),y=j(n(380)),m=j(n(381)),b=j(n(382)),v=j(n(383)),D=j(n(391)),w=j(n(392)),k=j(n(393)),F=j(n(394)),x=j(n(395)),E=j(n(405)),C=j(n(281)),A=j(n(406)),_=j(n(280));function j(e){return e&&e.__esModule?e:{default:e}}var O=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setPaper(t),this.researches={contentHasShortParagraphs:new r.default,contentHasTOC:new o.default,calculateFleschReading:new u.default,contentHasAssets:new a.default,keywordDensity:new s.default,keywordIn10Content:new l.default,keywordInContent:new c.default,keywordInImageAlt:new d.default,keywordInMetaDescription:new f.default,keywordInPermalink:new p.default,keywordInSubheadings:new h.default,keywordInTitle:new g.default,keywordNotUsed:new y.default,lengthContent:new m.default,lengthPermalink:new b.default,linksHasExternals:new v.default,linksHasInternal:new D.default,linksNotAllExternals:new w.default,titleHasPowerWords:new k.default,titleHasNumber:new F.default,titleSentiment:new x.default,titleStartWithKeyword:new E.default}}return i(e,[{key:"setPaper",value:function(e){this.paper=e}},{key:"getResearches",value:function(){return this.researches}},{key:"hasResearch",value:function(e){return(0,C.default)(this.getResearches(),e)}},{key:"get",value:function(e){return!(0,_.default)(e)&&!(0,A.default)(e)&&!!this.hasResearch(e)&&this.getResearches()[e]}},{key:"run",value:function(e){var t=this.get(e);return!1!==t&&!1!==t.isApplicable()&&t.run(this.paper,this)}}]),e}();t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(321));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="contentHasShortParagraphs",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){if(""===e.get("content"))return this.announce("empty",0);var n=!(0,o.default)(e.get("content")).some(function(e){return e.wordCount>120});return this.announce(n,n?3:0)}}]),t}();t.default=s},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return(0,o.default)(e).map(function(e){t.push({wordCount:(0,r.default)(e),text:e})}),(0,i.default)(t,function(e){return e.wordCount>0})};var i=u(n(109)),r=u(n(322)),o=u(n(207));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e).length};var i,r=(i=n(283))&&i.__esModule?i:{default:i}},function(e,t,n){var i=n(284),r=n(324),o=n(293),u=n(295),a=n(0),s=n(337);e.exports=function(e){return r(function(t){var n=t.length,r=n,l=i.prototype.thru;for(e&&t.reverse();r--;){var c=t[r];if("function"!=typeof c)throw new TypeError("Expected a function");if(l&&!d&&"wrapper"==u(c))var d=new i([],!0)}for(r=d?r:n;++r<n;){var f=u(c=t[r]),p="wrapper"==f?o(c):void 0;d=p&&s(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?d[u(p[0])].apply(d,p[3]):1==c.length&&s(c)?d[f]():d.thru(c)}return function(){var e=arguments,i=e[0];if(d&&1==e.length&&a(i))return d.plant(i).value();for(var r=0,o=n?t[r].apply(this,e):i;++r<n;)o=t[r].call(this,o);return o}})}},function(e,t,n){var i=n(325),r=n(328),o=n(330);e.exports=function(e){return o(r(e,void 0,i),e+"")}},function(e,t,n){var i=n(326);e.exports=function(e){return null!=e&&e.length?i(e,1):[]}},function(e,t,n){var i=n(118),r=n(327);e.exports=function e(t,n,o,u,a){var s=-1,l=t.length;for(o||(o=r),a||(a=[]);++s<l;){var c=t[s];n>0&&o(c)?n>1?e(c,n-1,o,u,a):i(a,c):u||(a[a.length]=c)}return a}},function(e,t,n){var i=n(21),r=n(61),o=n(0),u=i?i.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||r(e)||!!(u&&e&&e[u])}},function(e,t,n){var i=n(329),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,u=-1,a=r(o.length-t,0),s=Array(a);++u<a;)s[u]=o[t+u];u=-1;for(var l=Array(t+1);++u<t;)l[u]=o[u];return l[t]=n(s),i(e,this,l)}}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var i=n(331),r=n(334)(i);e.exports=r},function(e,t,n){var i=n(332),r=n(333),o=n(108);e.exports=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:o},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var i=n(8),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,t){var n=Date.now;e.exports=function(e){var t=0,i=0;return function(){var r=n(),o=16-(r-i);if(i=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var i=n(121),r=i&&new i;e.exports=r},function(e,t){e.exports={}},function(e,t,n){var i=n(286),r=n(293),o=n(295),u=n(338);e.exports=function(e){var t=o(e),n=u[t];if("function"!=typeof n||!(t in i.prototype))return!1;if(e===n)return!0;var a=r(n);return!!a&&e===a[0]}},function(e,t,n){var i=n(286),r=n(284),o=n(285),u=n(0),a=n(7),s=n(339),l=Object.prototype.hasOwnProperty;function c(e){if(a(e)&&!u(e)&&!(e instanceof i)){if(e instanceof r)return e;if(l.call(e,"__wrapped__"))return s(e)}return new r(e)}(c.prototype=o.prototype).constructor=c,e.exports=c},function(e,t,n){var i=n(286),r=n(284),o=n(340);e.exports=function(e){if(e instanceof i)return e.clone();var t=new r(e.__wrapped__,e.__chain__);return t.__actions__=o(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},function(e,t){e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/[-¿×÷ -⯿⸀-]/g,"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n(20))&&i.__esModule?i:{default:i};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="contentHasTOC",u(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),r(t,[{key:"run",value:function(e,t){return""===e.get("content")?this.announce("empty",0):this.announce(rankMath.assessor.hasTOCPlugin,rankMath.assessor.hasTOCPlugin?2:0)}}]),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n(20)),o=a(n(287)),u=n(345);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="calculateFleschReading",s(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){if(""===e.get("content"))return this.announce("empty",0,[0,0,0]);u.flesch.calculate(e.get("content"));var n=this.calculateResult(u.flesch.ease),i={veryEasy:{score:6,note:"very easy"},easy:{score:5,note:"easy"},fairlyEasy:{score:5,note:"fairly easy"},okay:{score:4,note:"okay"},fairlyDifficult:{score:3,note:"fairly difficult"},difficult:{score:2,note:"difficult"},veryDifficult:{score:1,note:"very difficult"}}[n];return this.announce(4<=i.score,i.score,[i.note,u.flesch.ease,n])}},{key:"calculateResult",value:function(e){return e>90?"veryEasy":(0,o.default)(e,80.01,90)?"easy":(0,o.default)(e,70.01,80)?"fairlyEasy":(0,o.default)(e,60.01,70)?"okay":(0,o.default)(e,50.01,60)?"fairlyDifficult":(0,o.default)(e,31,50)?"difficult":"veryDifficult"}}]),t}();t.default=l},function(e,t){var n=Math.max,i=Math.min;e.exports=function(e,t,r){return e>=i(t,r)&&e<n(t,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flesch=void 0;var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(s(n(281)),s(n(283))),o=s(n(346)),u=s(n(367)),a=s(n(370));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"reset",value:function(){delete this.data,delete this.ease,delete this.kincaid}},{key:"calculate",value:function(e){if(this.reset(),""===e)return!1;e=(0,a.default)(e);var t=(0,r.default)(e),n=(0,o.default)(e),i=t.length;if(0===n||0===i)return!1;var s=(0,u.default)(t);this.data={sentences:n,words:i,syllables:s},this.ease=this.fleschEase(n,i,s).toFixed(2),this.kincaid=this.fleschKincaid(n,i,s).toFixed(2)}},{key:"fleschEase",value:function(e,t,n){return 206.835-t/e*1.015-n/t*84.6}},{key:"fleschKincaid",value:function(e,t,n){return t/e*.39+n/t*11.8-15.59}}]),e}();t.flesch=new l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(""===(e=(0,i.default)(o.default,u.default,a.default,s.default,l.default,c.default)(e)))return 0;var t=(new d.default).tokenizeParagraph(e).children;return(0,r.default)(t,{type:"SentenceNode"}).length};var i=f(n(291)),r=f(n(109)),o=f(n(66)),u=f(n(296)),a=f(n(112)),s=f(n(297)),l=f(n(298)),c=f(n(299)),d=f(n(347));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var i=n(348),r=n(60),o=n(282),u=n(36);e.exports=s,l.prototype=i.prototype;var a=new l;function s(e,t){if(!(this instanceof s))return new s(e,t);i.apply(this,arguments)}function l(){}s.prototype=a,a.tokenizeSentencePlugins=[o(function(e,t,n){var i,o,u,a,s;if("PunctuationNode"===e.type||"SymbolNode"===e.type)if(a=(i=n.children).length,"/"===(s=r(e)))(o=i[t-1])&&"w"===g(r(o))&&(i.splice(t,1),o.children.push(e),o.position&&e.position&&(o.position.end=e.position.end));else if(h.test(s)){if(o=i[t-1],t>2&&a-1>t&&"WordNode"===o.type&&"WhiteSpaceNode"===i[t-2].type&&"WhiteSpaceNode"===i[t+1].type&&f.test(g(r(o))))return i.splice(t,1),o.children.push(e),void(o.position&&e.position&&(o.position.end=e.position.end));t===a-1||"WordNode"!==i[t+1].type||0!==t&&"WordNode"===i[t-1].type||(s=g(r(o=i[t+1])),p.test(s)?(i.splice(t,1),o.children=[e].concat(o.children),o.position&&e.position&&(o.position.start=e.position.start)):"n"===s&&a-2>t&&h.test(r(i[t+2]))&&(u=i[t+2],i.splice(t,1),i.splice(t+1,1),o.children=[e].concat(o.children,u),o.position&&(e.position&&(o.position.start=e.position.start),u.position&&(o.position.end=u.position.end))))}})].concat(a.tokenizeSentencePlugins),a.tokenizeParagraphPlugins=[u(function(e,t,n){var i,o,u=e.children,a=u[u.length-1],s=u[u.length-2];if(a&&"."===r(a)&&s&&"WordNode"===s.type&&(i=r(s),(c.test(g(i))||d.test(i))&&(s.children.push(a),u.pop(),a.position&&s.position&&(s.position.end=a.position.end),o=n.children[t+1])))return e.children=u.concat(o.children),n.children.splice(t+1,1),o.position&&e.position&&(e.position.end=o.position.end),t-1})].concat(a.tokenizeParagraphPlugins);var c=/^(inc|ltd|bbls?|cu|doz|fl|ft|gal|gr|gro|in|kt|lbs?|mi|oz|pt|qt|sq|tbsp|tsp|yds?|sec|min|hr|mon|tue|tues|wed|thu|thurs|fri|sat|sun|jan|feb|mar|apr|jun|jul|aug|sep|sept|oct|nov|dec)$/,d=/^(Mr|Mrs|Miss|Ms|Mss|Mses|Mlle|Mme|M|Messrs|Mmes|Jr|Sr|Snr|Dr|Mgr|Atty|Prof|Hon|Rev|Fr|Msgr|Sr|Br|St|Pres|Supt|Rep|Sen|Gov|Amb|Treas|Sec|Amd|Brig|Gen|Cdr|Col|Capt|Lt|Maj|Sgt|Po|Wo|Ph|Ave|Blvd|Mt|Rd|Bldgs?|Nat|Natl|Rt|Rte|Co|Pk|Sq|Dr|Pt|St|Ft|Pen|Terr|Hwy|Fwy|Pkwy|Ala|Ariz|Ark|Cal|Calif|Col|Colo|Conn|Del|Fla|Ga|Ida|Id|Ill|Ind|Ia|Kan|Kans|Ken|Ky|La|Me|Md|Mass|Mich|Minn|Miss|Mo|Mont|Neb|Nebr|Nev|Mex|Dak|Okla|Ok|Ore|Penna|Penn|Pa|Tenn|Tex|Ut|Vt|Va|Wash|Wis|Wisc|Wyo|Alta|Man|Ont|Qué|Que|Sask|Yuk|Beds|Berks|Bucks|Cambs|Ches|Corn|Cumb|Derbys|Derbs|Dev|Dor|Dur|Glos|Hants|Here|Heref|Herts|Hunts|Lancs|Leics|Lincs|Mx|Middx|Mddx|Norf|Northants|Northumb|Northd|Notts|Oxon|Rut|Shrops|Salop|Som|Staffs|Staf|Suff|Sy|Sx|Ssx|Warks|War|Warw|Westm|Wilts|Worcs|Yorks)$/,f=/^(o|ol)$/,p=/^(im|er|em|cause|twas|tis|twere|\d\ds?)$/,h=/^['\u2019]$/;function g(e){return e.toLowerCase()}},function(e,t,n){"use strict";e.exports=n(349)},function(e,t,n){"use strict";var i=n(350),r=n(126);function o(e,t){var n=t||e;if(!(this instanceof o))return new o(e,t);this.doc=n?n+"":null}e.exports=o;var u=o.prototype;function a(e){return e+="Node",function(t,n,i){return null!==t&&void 0!==t||(t=""),(n||g)(t)({type:e,value:t+""},i)}}function s(e,t,n){e.prototype[t]=function(){return this.run(t,n.apply(this,arguments))}}function l(e){return function(t,n){var i;if(!(t in this))throw Error("Illegal Invocation: Unsupported `key` for `use(key, plugins)`. Make sure `key` is a supported function");n&&(i=t+"Plugins",n="function"==typeof n?[n]:n.concat(),this[i]||(this[i]=[]),e(this,i,n))}}u.position=!0,u.tokenizeSymbol=a("Symbol"),u.tokenizeWhiteSpace=a("WhiteSpace"),u.tokenizePunctuation=a("Punctuation"),u.tokenizeSource=a("Source"),u.tokenizeText=a("Text"),u.run=function(e,t){var n=this[e+"Plugins"],i=-1;if(n)for(;n[++i];)n[i](t);return t},u.use=l(function(e,t,n){e[t]=e[t].concat(n)}),u.useFirst=l(function(e,t,n){e[t]=n.concat(e[t])}),u.parse=function(e){return this.tokenizeRoot(e||this.doc)},u.tokenize=function(e){return function(e,t){var n,i,r,o,u,a,s,l,h,g,y,m;if(null===t||void 0===t?t="":t instanceof String&&(t=""+t),"string"!=typeof t){if("length"in t&&(!t[0]||t[0].type))return t;throw Error("Illegal invocation: '"+t+"' is not a valid argument for 'ParseLatin'")}if(n=[],!t)return n;for(u=0,i=0,r=1,o=1,m=e.position?function(e){var t=function(){var e=D();return function(t){return t.position=new function(e){this.start=e,this.end=D()}(e),t}}();return function(e){var t=e.length,n=-1,u=-1;for(i+=t;++n<t;)"\n"===e.charAt(n)&&(u=n,r++);-1===u?o+=t:o=t-u}(e),function(){return t(v.apply(null,arguments))}}:function(){return function(){return v.apply(null,arguments)}},a=t.length,h="",l="";a>u;)s=t.charAt(u),y=p.test(s)?"WhiteSpace":f.test(s)?"Punctuation":c.test(s)?"Word":"Symbol",b(),h=s,s="",g=y,y=null,u++;return b(),n;function b(){g!==y||"Word"!==g&&"WhiteSpace"!==g&&s!==h&&!d.test(s)?(l&&e["tokenize"+g](l,m),l=s):l+=s}function v(e,t){return t?t.children.push(e):n.push(e),e}function D(){return{line:r,column:o,offset:i}}}(this,e)},s(o,"tokenizeWord",function(e,t){var n=(t||g)(""),i={type:"WordNode",children:[]};return this.tokenizeText(e,t,i),n(i)}),s(o,"tokenizeSentence",i({type:"SentenceNode",tokenizer:"tokenize"})),s(o,"tokenizeParagraph",i({type:"ParagraphNode",delimiter:r.terminalMarker,delimiterType:"PunctuationNode",tokenizer:"tokenizeSentence"})),s(o,"tokenizeRoot",i({type:"RootNode",delimiter:r.newLine,delimiterType:"WhiteSpaceNode",tokenizer:"tokenizeParagraph"})),u.use("tokenizeSentence",[n(352),n(354),n(355),n(356),n(357),n(358),n(288)]),u.use("tokenizeParagraph",[n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(301),n(302),n(366),n(303),n(288)]),u.use("tokenizeRoot",[n(301),n(302),n(303),n(288)]);var c=r.word,d=r.surrogates,f=r.punctuation,p=r.whiteSpace;function h(e,t){return t&&t.children.push(e),e}function g(){return h}},function(e,t,n){"use strict";var i=n(351);e.exports=function(e){var t=e.type,n=e.tokenizer,r=e.delimiter,o=r&&i(e.delimiterType,r);return function(e){var i=this[n](e);return{type:t,children:o?o(i):i}}}},function(e,t,n){"use strict";var i=n(60);e.exports=function(e,t){return function(n){for(var r,o,u,a=[],s=n.children,l=n.type,c=s.length,d=-1,f=c-1,p=0;++d<c;)(d===f||s[d].type===e&&t.test(i(s[d])))&&(r=s[p],o=s[d],u={type:l,children:s.slice(p,d+1)},r.position&&o.position&&(u.position={start:r.position.start,end:o.position.end}),a.push(u),p=d+1);return a}}},function(e,t,n){"use strict";var i=n(60),r=n(36);e.exports=r(function(e,t,n){var r,o;if(("SymbolNode"===e.type||"PunctuationNode"===e.type)&&"&"===i(e)&&(o=(r=n.children)[t+1],(0===t||"WordNode"!==r[t-1].type)&&o&&"WordNode"===o.type))return r.splice(t,1),o.children.unshift(e),o.position&&e.position&&(o.position.start=e.position.start),t-1})},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o=-1;if(!e)throw Error("Iterate requires that |this| not be "+e);if(!i.call(e,"length"))throw Error("Iterate requires that |this| has a `length`");if("function"!=typeof t)throw Error("`callback` must be a function");for(;++o<e.length;)o in e&&"number"==typeof(r=t.call(n,e[o],o,e))&&(0>r&&(o=0),o=r-1)};var i={}.hasOwnProperty},function(e,t,n){"use strict";var i=n(60),r=n(36);e.exports=r(function(e,t,n){var r,o,u;if(0!==t&&("SymbolNode"===e.type||"PunctuationNode"===e.type)&&"-"===i(e)&&(o=(r=n.children)[t-1],(!(u=r[t+1])||"WordNode"!==u.type)&&o&&"WordNode"===o.type))return r.splice(t,1),o.children.push(e),o.position&&e.position&&(o.position.end=e.position.end),t})},function(e,t,n){"use strict";var i=n(60),r=n(36),o=n(126);e.exports=r(function(e,t,n){var r,o,a,s,l,c,d;if(0!==t&&("SymbolNode"===e.type||"PunctuationNode"===e.type)&&(a=(r=n.children)[t-1])&&"WordNode"===a.type){for(l=t-1,c=[],d=[];r[++l];)if("WordNode"===(o=r[l]).type)c=c.concat(d,o.children),d=[];else{if("SymbolNode"!==o.type&&"PunctuationNode"!==o.type||!u.test(i(o)))break;d.push(o)}if(0!==c.length)return 0!==d.length&&(l-=d.length),r.splice(t,l-t),a.children=a.children.concat(c),s=c[c.length-1],a.position&&s.position&&(a.position.end=s.position.end),t}});var u=o.wordSymbolInner},function(e,t,n){"use strict";var i=n(60),r=n(36);e.exports=r(function(e,t,n){var r,u,a,s,l,c,d,f=n.children;if(u=f[t+1],(r=f[t-1])&&"WordNode"===r.type&&("SymbolNode"===e.type||"PunctuationNode"===e.type)&&i(e)===o&&(a=i(r),c=e,l=[e],d=1,u&&"WordNode"===u.type&&(s=i(u),c=u,l=l.concat(u.children),d++),3>a.length&&(!s||3>s.length)))return r.children=r.children.concat(l),f.splice(t,d),r.position&&c.position&&(r.position.end=c.position.end),t});var o="/"},function(e,t,n){"use strict";var i=n(60),r=n(36),o=n(126);e.exports=r(function(e,t,n){var r,o,a,s,l,c,d;if(0!==t&&"."===i(e)&&(s=(a=(o=(r=n.children)[t-1]).children)&&a.length,"WordNode"===o.type&&1!==s&&s%2!=0)){for(l=s,c=!0;a[--l];)if(d=i(a[l]),l%2==0){if(d.length>1)return;u.test(d)||(c=!1)}else if("."!==d){if(s-2>l)break;return}if(!c)return r.splice(t,1),a.push(e),o.position&&e.position&&(o.position.end=e.position.end),t}});var u=o.numerical},function(e,t,n){"use strict";var i=n(36);e.exports=i(function(e,t,n){var i,r=n.children;if("WordNode"===e.type&&(i=r[t+1])&&"WordNode"===i.type)return r.splice(t+1,1),e.children=e.children.concat(i.children),i.position&&e.position&&(e.position.end=i.position.end),t})},function(e,t,n){"use strict";var i=n(36);e.exports=i(function(e,t,n){for(var i,r,o=e.children,u=-1;o[++u];)if("WordNode"===o[u].type)return;if(i=n.children[t-1])return i.children=i.children.concat(o),n.children.splice(t,1),i.position&&e.position&&(i.position.end=e.position.end),t;(r=n.children[t+1])&&(r.children=o.concat(r.children),r.position&&e.position&&(r.position.start=e.position.start),n.children.splice(t,1))})},function(e,t,n){"use strict";var i=n(60),r=n(36),o=n(126);e.exports=r(function(e,t,n){var r,o,a,s=e.children;if(s&&0!==s.length&&0!==t&&(o=s[1],a=n.children[t-1],("SymbolNode"===(r=s[0]).type||"PunctuationNode"===r.type)&&u.test(i(r))))return a.children.push(s.shift()),r.position&&a.position&&(a.position.end=r.position.end),o&&o.position&&e.position&&(e.position.start=o.position.start),t-1});var u=o.affixSymbol},function(e,t,n){"use strict";var i=n(60),r=n(36),o=n(126);e.exports=r(function(e,t,n){var r,o,a,s,l=e.children;if(l&&0!==l.length&&0!==t)for(r=-1;l[++r];){if("WordNode"===(o=l[r]).type){if(!u.test(i(o)))return;return(s=(a=n.children)[t-1]).children=s.children.concat(l),a.splice(t,1),s.position&&e.position&&(s.position.end=e.position.end),t}if("SymbolNode"===o.type||"PunctuationNode"===o.type)return}});var u=o.lowerInitial},function(e,t,n){"use strict";var i=n(60),r=n(36),o=n(126);e.exports=r(function(e,t,n){var r=e.children,o=n.children,a=o[t-1],s=r[0];if(a&&s&&"WordNode"===s.type&&u.test(i(s)))return a.children=a.children.concat(r),o.splice(t,1),a.position&&e.position&&(a.position.end=e.position.end),t});var u=o.digitStart},function(e,t,n){"use strict";var i=n(60),r=n(36);e.exports=r(function(e,t,n){var r,u,a,s=e.children;if(s&&s.length>1&&(r=s[s.length-1])&&"."===i(r)&&(u=s[s.length-2])&&"WordNode"===u.type&&o.test(i(u).toLowerCase())&&(u.children.push(r),s.pop(),r.position&&u.position&&(u.position.end=r.position.end),a=n.children[t+1]))return e.children=s.concat(a.children),n.children.splice(t+1,1),a.position&&e.position&&(e.position.end=a.position.end),t-1});var o=/^([0-9]{1,3}|[a-z]|al|ca|cap|cca|cent|cf|cit|con|cp|cwt|ead|etc|ff|fl|ibid|id|nem|op|pro|seq|sic|stat|tem|viz)$/},function(e,t,n){"use strict";var i=n(60),r=n(36);e.exports=r(function(e,t,n){var r,o,u,a,s=e.children;if(s&&0!==s.length&&0!==t)for(o=-1;s[++o];){if("WordNode"===(r=s[o]).type)return;if("SymbolNode"===r.type||"PunctuationNode"===r.type){if(","!==(u=i(r))&&";"!==u)return;return(a=n.children[t-1]).children=a.children.concat(s),a.position&&e.position&&(a.position.end=e.position.end),n.children.splice(t,1),t}}})},function(e,t,n){"use strict";var i=n(60),r=n(282),o=n(126);e.exports=r(function(e){for(var t,n,r,o,a=e.children,s=a.length,l=!1;a[--s];)if("SymbolNode"===(t=a[s]).type||"PunctuationNode"===t.type){if(u.test(i(t)))if(l){if("."===i(t))if(r=a[s+1],(n=a[s-1])&&"WordNode"===n.type){if(o=a[s+2],r&&o&&"WhiteSpaceNode"===r.type&&"."===i(o))continue;a.splice(s,1),n.children.push(t),t.position&&n.position&&(n.position.end=t.position.end),s--}else r&&"WordNode"===r.type&&(a.splice(s,1),r.children.unshift(t),t.position&&r.position&&(r.position.start=t.position.start))}else l=!0}else"WordNode"===t.type&&(l=!0)});var u=o.terminalMarker},function(e,t,n){"use strict";var i=n(60),r=n(36),o=n(126);e.exports=r(function(e,t,n){var r,o,a,s,l,c,d,f;if("SentenceNode"===e.type)for(a=(r=e.children).length-1,o=0;++o<a;)if("WhiteSpaceNode"===(f=r[o]).type&&u.test(i(f)))return e.children=r.slice(0,o),d={type:"SentenceNode",children:r.slice(o+1)},s=r[o-1],l=r[o+1],n.children.splice(t+1,0,f,d),e.position&&s.position&&l.position&&(c=e.position.end,e.position.end=s.position.end,d.position={start:l.position.start,end:c}),t+1});var u=o.newLineMulti},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)(e,function(e){return function(e){return 3>=(e=e.toLowerCase()).length?1:null===(e=e.replace(/(?:[^laeiouy]es|ed|lle|[^laeiouy]e)$/,"").replace(/^y/,"").match(/[aeiouy]{1,2}/g))?0:e.length}(e)});return(0,r.default)(t)};var i=o(n(111)),r=o(n(368));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var i=n(369),r=n(108);e.exports=function(e){return e&&e.length?i(e,r):0}},function(e,t){e.exports=function(e,t){for(var n,i=-1,r=e.length;++i<r;){var o=t(e[i]);void 0!==o&&(n=void 0===n?o:n+o)}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"."===(e=e.replace(/\b[0-9]+\b/g,""))?"":e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n(20))&&i.__esModule?i:{default:i};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="contentHasAssets",u(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),r(t,[{key:"run",value:function(e,t){if(""===e.get("content"))return this.announce("empty",0);var n=this.match(e.get("content"),"<img(?:[^>]+)?>"),i=this.match(e.get("content"),"<iframe(?:[^>]+)?>"),r=this.match(e.get("content"),"\\[video( [^\\]]+?)?\\]"),o=this.match(e.get("content"),/(http:\/\/|https:\/\/|)(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);n=null===n?0:n,i=null===i?0:i,i=null===r?i:i.concat(r),i=null===o?i:i.concat(o);var u=this.calculateScore(n,i);return this.announce(u>0,u)}},{key:"calculateScore",value:function(e,t){var n=0;return 1===e.length?n+=1:2===e.length?n+=2:3===e.length?n+=4:e.length>3&&(n+=6),1===t.length?n+=1:t.length>1&&(n+=2),Math.min(6,n)}},{key:"match",value:function(e,t){var n=RegExp(t,"ig"),i=e.match(n);return null===i?[]:i}}]),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(287));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordDensity",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=e.getContentWords();if(!1===n||0===n.length)return this.announce("empty",0,[0,0]);if(!n||!e.get("keywordCombinations"))return this.announce(!1,0,[0,0]);var i=RegExp(e.get("keywordCombinations").join("|"),"gi"),r=(e.get("content").match(i)||[]).length,o=(r/n.length*100).toFixed(2),u=this.calculateScore(o);return this.announce(u>0,u,[o,r])}},{key:"calculateScore",value:function(e){return.5>e||e>2.5?0:(0,o.default)(e,.5,.75)?2:(0,o.default)(e,.76,1)?4:6}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(43));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordIn10Content",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=e.getContentWords();if(!1===n||0===n.length||""===e.getLower("keyword"))return this.announce("empty",0);n.length>400&&(n=n.slice(0,Math.floor(.1*n.length))),n=n.join(" ");var i=(0,o.default)(n,e.getLower("keyword"));return this.announce(i,i?3:0)}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(43));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordInContent",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){if(""===e.get("content")||""===e.get("keyword"))return this.announce("empty",0);var n=e.get("keywordCombinations"),i=e.getLower("content"),r=!1;return n.some(function(e){return r=(0,o.default)(i,e)}),this.announce(r,r?3:0)}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(43));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordInImageAlt",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){if(""===e.get("keyword")||""===e.get("content")&&""===e.get("thumbnailAlt"))return this.announce("empty",0);var n=e.getLower("keyword").replace(/ /g,".*"),i=RegExp("<img[^>]*alt=['\"][^'\"]*"+n+"[^'\"]*['\"]","gi"),r=null!==e.getLower("content").match(i)||(0,o.default)(e.get("thumbnailAlt"),n);return this.announce(r,r?2:0)}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(43));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordInMetaDescription",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){if(""===e.getLower("description"))return this.announce("empty",0);var n=""!==e.getLower("keyword")&&(0,o.default)(e.getLower("description"),e.getLower("keyword"));return this.announce(n,n?this.getScore():0)}},{key:"getScore",value:function(){return"post"===rankMath.objectType?2:20}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(43));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordInPermalink",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){if(""===e.getLower("permalink"))return this.announce("empty",0);var n=""!==e.getLower("keyword")&&(0,o.default)(e.getLower("permalink"),e.get("keywordPermalink"));return this.announce(n,n?this.getScore():0)}},{key:"getScore",value:function(){return"post"===rankMath.objectType?5:30}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n(20))&&i.__esModule?i:{default:i};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordInSubheadings",u(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),r(t,[{key:"run",value:function(e,t){if(""===e.get("keyword")||""===e.get("content"))return this.announce("empty",0);var n=RegExp("<h[2-6][^>]*>.*"+e.getLower("keyword")+".*</h[2-6]>","gi"),i=null!==e.getLower("content").match(n);return this.announce(i,i?3:0)}}]),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(43));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordInTitle",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=e.getLower("title");if(""===n)return this.announce("empty",0);var i=""!==e.getLower("keyword")&&(0,o.default)(n,e.getLower("keyword"));return this.announce(i,i?this.getScore():0)}},{key:"getScore",value:function(){var e="en"===rankMath.locale?30:32;return"post"===rankMath.objectType?e:40}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(6)),o=u(n(20));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="keywordNotUsed",i.keywordsChecked={},a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),i(t,[{key:"run",value:function(e,t){var n=this,i=e.getLower("keyword").trim();return""===i?this.announce("empty",0):void 0!==this.keywordsChecked[i]?this.announce(this.keywordsChecked[i],0):(this.keywordsChecked[i]=!0,r.default.ajax({url:rankMath.ajaxurl,type:"GET",data:{keyword:i,action:"rank_math_is_keyword_new",security:rankMath.security,objectID:rankMath.objectID,objectType:rankMath.objectType}}).done(function(e){n.keywordsChecked[i]=e.isNew;var t=n.announce(e.isNew,0),o=(0,r.default)(".seo-check-"+n.prefix);o.removeClass("test-ok test-fail test-empty test-looking"),o.addClass("test-"+t.status),o.find("span:eq(0)").html(t.message),n.changeKeywordInLink(i)}),this.announce("looking",0))}},{key:"changeKeywordInLink",value:function(e){var t=(0,r.default)(".focus-keyword-link");t.length&&t.attr("href",t.attr("href").replace("%focus_keyword%",e).replace("%post_type%",rankMath.objectType).replace("%yaxonomy%",rankMath.objectType))}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(287));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="lengthContent",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=e.getContentWords();if(!1===n||0===n.length)return this.announce("empty",0);var i=n.length,r=this.calculateScore(i);return this.announce(r>0,r,[i])}},{key:"calculateScore",value:function(e){return 2500>e?(0,o.default)(e,2001,2500)?5:(0,o.default)(e,1501,2e3)?4:(0,o.default)(e,1001,1500)?3:(0,o.default)(e,600,1e3)?2:0:8}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n(20))&&i.__esModule?i:{default:i};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="lengthPermalink",u(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),r(t,[{key:"run",value:function(e,t){var n=e.get("permalink"),i=n.length,r=this.calculateScore(i);return""===n?this.announce("empty",0):this.announce(r>0,r,[i])}},{key:"calculateScore",value:function(e){return e>75?0:4}}]),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(289));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="linksHasExternals",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=(0,o.default)(e);if(null===n.anchors)return this.announce("empty",0);var i=n.externalTotal>0;return this.announce(i,i?4:0,[n.externalTotal])}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(385)),r=o(n(43));function o(e){return e&&e.__esModule?e:{default:e}}var u=/href=(["'])([^"']+)\1/i;function a(e){var t=u.exec(e);return null===t?"":t[2]}function s(e){return i.default.parse(e).protocol}function l(e){return!!e&&("http:"===e||"https:"===e)}function c(e){return"#"===e[0]}function d(e,t){if(!(0,r.default)(e,"//")&&"/"===e[0])return!0;if("#"===e[0])return!1;var n=i.default.parse(e,!1,!0);return!n.host||(0,r.default)(n.host,t)}t.default={checkNofollow:function(e,t){return e=e.toLowerCase(),"internal"===t||(0,r.default)(e,"rel=")?(0,r.default)(e,"<a")&&(0,r.default)(e,"rel=")&&(0,r.default)(e,"nofollow")?"Nofollow":"Dofollow":(n=a(e),o=!0,u=i.default.parse(n,!1,!0),(rankMath.noFollowDomains.length?(rankMath.noFollowDomains.forEach(function(e){(0,r.default)(u.host,e)&&(o=!1)}),o):rankMath.noFollowExcludeDomains.length&&(o=!1,rankMath.noFollowExcludeDomains.forEach(function(e){(0,r.default)(u.host,e)&&(o=!0)}),o))?"Dofollow":"Nofollow");var n,o,u},getFromAnchorTag:a,getLinkType:function(e,t){var n=a(e),i=s(n);return i&&!l(i)||c(n)?"other":d(n,t)?"internal":"external"},getProtocol:s,isHttpScheme:l,isInternalLink:d,isRelativeFragmentURL:c}},function(e,t,n){"use strict";var i=n(386),r=n(387);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=v,t.resolve=function(e,t){return v(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?v(e,!1,!0).resolveObject(t):t},t.format=function(e){return r.isString(e)&&(e=v(e)),e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var u=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),d=["%","/","?",";","#"].concat(c),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n(388);function v(e,t,n){if(e&&r.isObject(e)&&e instanceof o)return e;var i=new o;return i.parse(e,t,n),i}o.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var v=e=l.join(a);if(v=v.trim(),!n&&1===e.split("#").length){var D=s.exec(v);if(D)return this.path=v,this.href=v,this.pathname=D[1],D[2]?(this.search=D[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=u.exec(v);if(w){var k=(w=w[0]).toLowerCase();this.protocol=k,v=v.substr(w.length)}if(n||w||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var F="//"===v.substr(0,2);!F||w&&y[w]||(v=v.substr(2),this.slashes=!0)}if(!y[w]&&(F||w&&!m[w])){for(var x,E,C=-1,A=0;f.length>A;A++)-1===(_=v.indexOf(f[A]))||-1!==C&&_>=C||(C=_);for(-1!==(E=-1===C?v.lastIndexOf("@"):v.lastIndexOf("@",C))&&(x=v.slice(0,E),v=v.slice(E+1),this.auth=decodeURIComponent(x)),C=-1,A=0;d.length>A;A++){var _;-1===(_=v.indexOf(d[A]))||-1!==C&&_>=C||(C=_)}-1===C&&(C=v.length),this.host=v.slice(0,C),v=v.slice(C),this.parseHost(),this.hostname=this.hostname||"";var j="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!j)for(var O=this.hostname.split(/\./),B=(A=0,O.length);B>A;A++){var z=O[A];if(z&&!z.match(p)){for(var P="",S=0,M=z.length;M>S;S++)z.charCodeAt(S)>127?P+="x":P+=z[S];if(!P.match(p)){var T=O.slice(0,A),q=O.slice(A+1),L=z.match(h);L&&(T.push(L[1]),q.unshift(L[2])),q.length&&(v="/"+q.join(".")+v),this.hostname=T.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),j||(this.hostname=i.toASCII(this.hostname));var $=this.port?":"+this.port:"";this.host=(this.hostname||"")+$,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!g[k])for(A=0,B=c.length;B>A;A++){var N=c[A];if(-1!==v.indexOf(N)){var I=encodeURIComponent(N);I===N&&(I=escape(N)),v=v.split(N).join(I)}}var R=v.indexOf("#");-1!==R&&(this.hash=v.substr(R),v=v.slice(0,R));var W=v.indexOf("?");return-1!==W?(this.search=v.substr(W),this.query=v.substr(W+1),t&&(this.query=b.parse(this.query)),v=v.slice(0,W)):t&&(this.search="",this.query={}),v&&(this.pathname=v),m[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=($=this.pathname||"")+(this.search||"")),this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",i=this.hash||"",o=!1,u="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(u=b.stringify(this.query));var a=this.search||u&&"?"+u||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+i},o.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(r.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,i=Object.keys(this),u=0;i.length>u;u++){var a=i[u];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;s.length>l;l++){var c=s[l];"protocol"!==c&&(n[c]=e[c])}return m[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!m[e.protocol]){for(var d=Object.keys(e),f=0;d.length>f;f++){var p=d[f];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||y[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),2>h.length&&h.unshift(""),n.pathname=h.join("/")}return n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,(n.pathname||n.search)&&(n.path=(n.pathname||"")+(n.search||"")),n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=b||g||n.host&&e.pathname,D=v,w=n.pathname&&n.pathname.split("/")||[],k=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(k&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),v=v&&(""===h[0]||""===w[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,w=h;else if(h.length)w||(w=[]),w.pop(),w=w.concat(h),n.search=e.search,n.query=e.query;else if(!r.isNullOrUndefined(e.search))return k&&(n.hostname=n.host=w.shift(),(A=!(!n.host||0>=n.host.indexOf("@"))&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift())),n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var F=w.slice(-1)[0],x=(n.host||e.host||w.length>1)&&("."===F||".."===F)||""===F,E=0,C=w.length;C>=0;C--)"."===(F=w[C])?w.splice(C,1):".."===F?(w.splice(C,1),E++):E&&(w.splice(C,1),E--);if(!v&&!D)for(;E--;E)w.unshift("..");!v||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),x&&"/"!==w.join("/").substr(-1)&&w.push("");var A,_=""===w[0]||w[0]&&"/"===w[0].charAt(0);return k&&(n.hostname=n.host=_?"":w.length?w.shift():"",(A=!(!n.host||0>=n.host.indexOf("@"))&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift())),(v=v||n.host&&w.length)&&!_&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){!function(e,t){var n;!function(t){var i=2147483647,r=36,o=1,u=26,a=38,s=700,l=72,c=128,d="-",f=/^xn--/,p=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=r-o,m=Math.floor,b=String.fromCharCode;function v(e){throw new RangeError(g[e])}function D(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function w(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+D((e=e.replace(h,".")).split("."),t).join(".")}function k(e){for(var t,n,i=[],r=0,o=e.length;o>r;)55296>(t=e.charCodeAt(r++))||t>56319||r>=o?i.push(t):56320==(64512&(n=e.charCodeAt(r++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--);return i}function F(e){return D(e,function(e){var t="";return e>65535&&(t+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+b(e)}).join("")}function x(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function E(e,t,n){var i=0;for(e=n?m(e/s):e>>1,e+=m(e/t);e>y*u>>1;i+=r)e=m(e/y);return m(i+(y+1)*e/(e+a))}function C(e){var t,n,a,s,f,p,h,g,y,b,D,w=[],k=e.length,x=0,C=c,A=l;for(0>(n=e.lastIndexOf(d))&&(n=0),a=0;n>a;++a)128>e.charCodeAt(a)||v("not-basic"),w.push(e.charCodeAt(a));for(s=n>0?n+1:0;k>s;){for(f=x,p=1,h=r;k>s||v("invalid-input"),D=e.charCodeAt(s++),r>(g=10>D-48?D-22:26>D-65?D-65:26>D-97?D-97:r)&&g<=m((i-x)/p)||v("overflow"),x+=g*p,(y=h>A?A+u>h?h-A:u:o)<=g;h+=r)p>m(i/(b=r-y))&&v("overflow"),p*=b;A=E(x-f,t=w.length+1,0==f),m(x/t)>i-C&&v("overflow"),C+=m(x/t),x%=t,w.splice(x++,0,C)}return F(w)}function A(e){var t,n,a,s,f,p,h,g,y,D,w,F,C,A,_,j=[];for(F=(e=k(e)).length,t=c,n=0,f=l,p=0;F>p;++p)128>(w=e[p])&&j.push(b(w));for(a=s=j.length,s&&j.push(d);F>a;){for(h=i,p=0;F>p;++p)(w=e[p])>=t&&h>w&&(h=w);for(h-t>m((i-n)/(C=a+1))&&v("overflow"),n+=(h-t)*C,t=h,p=0;F>p;++p)if(t>(w=e[p])&&++n>i&&v("overflow"),w==t){for(g=n,y=r;(D=y>f?f+u>y?y-f:u:o)<=g;y+=r)j.push(b(x(D+(_=g-D)%(A=r-D),0))),g=m(_/A);j.push(b(x(g,0))),f=E(n,C,a==s),n=0,++a}++n,++t}return j.join("")}void 0===(n={version:"1.4.1",ucs2:{decode:k,encode:F},decode:C,encode:A,toASCII:function(e){return w(e,function(e){return p.test(e)?"xn--"+A(e):e})},toUnicode:function(e){return w(e,function(e){return f.test(e)?C(e.slice(4).toLowerCase()):e})}})||(e.exports=n)}()}(n(63)(e),n(113))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(389),t.encode=t.stringify=n(390)},function(e,t,n){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var u={};if("string"!=typeof e||0===e.length)return u;var a=/\+/g;e=e.split(t);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;l>c;++c){var d,f,p,h,g=e[c].replace(a,"%20"),y=g.indexOf(n);0>y?(d=g,f=""):(d=g.substr(0,y),f=g.substr(y+1)),p=decodeURIComponent(d),h=decodeURIComponent(f),i(u,p)?r(u[p])?u[p].push(h):u[p]=[u[p],h]:u[p]=h}return u};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?o(u(e),function(u){var a=encodeURIComponent(i(u))+n;return r(e[u])?o(e[u],function(e){return a+encodeURIComponent(i(e))}).join(t):a+encodeURIComponent(i(e[u]))}).join(t):a?encodeURIComponent(i(a))+n+encodeURIComponent(i(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],i=0;e.length>i;i++)n.push(t(e[i],i));return n}var u=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(289));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="linksHasInternal",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=(0,o.default)(e);if(null===n.anchors)return this.announce("empty",0);var i=n.internalTotal>0;return this.announce(i,i?5:0,[n.internalTotal])}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(289));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="linksNotAllExternals",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=(0,o.default)(e),i=n.externalDofollow>0;return null===n.anchors?this.announce("empty",0):this.announce(i,i?2:0,[n.externalTotal])}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(43));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="titleHasPowerWords",a(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n=e.getLower("title"),i=rankMath.assessor.powerWords.filter(function(e){return(0,o.default)(n,e)}).length,r=i>0;return""===n?this.announce("empty",0):this.announce(r,r?1:0,[i])}},{key:"isApplicable",value:function(){return"en"===rankMath.locale}}]),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n(20))&&i.__esModule?i:{default:i};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="titleHasNumber",u(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),r(t,[{key:"run",value:function(e,t){if(""===e.get("title"))return this.announce("empty",0);var n=/\d+/.test(e.get("title"));return this.announce(n,n?1:0)}}]),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(20)),o=u(n(396));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),u=0;r>u;u++)o[u]=arguments[u];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="titleSentiment",s(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"run",value:function(e,t){var n;if(""===e.getLower("title"))return this.announce("empty",0);var i=new o.default,r={extras:(n={"a+":5,abound:2,abounds:2,abundance:4,abundant:4,accessable:3,accessible:3,acclaim:2,acclaimed:2,acclamation:2,accolade:3,accolades:3,accommodative:2,accomodative:2,accomplish:5,accomplished:5,accomplishment:5,accomplishments:5,accurate:3,accurately:3,achievable:3,achievement:3,achievements:3,achievible:3,acumen:1,adaptable:1,adaptive:1,adequate:1,adjustable:2,admirable:2,admirably:2,admiration:2,admire:2,admirer:2,admiring:2,admiringly:2,adorable:3,adore:3,adored:3,adorer:3,adoring:3,adoringly:3,adroit:2,adroitly:2,adulate:2,adulation:1,adulatory:1,advanced:3,advantage:3,advantageous:2,advantageously:2,advantages:2,adventuresome:2,adventurous:2,advocate:2,advocated:2,advocates:2,affability:2,affable:2,affably:2,affectation:3,affection:3,affectionate:3,affinity:3,affirm:2,affirmation:2,affirmative:2,affluence:2,affluent:3,afford:2,affordable:2,affordably:2,afordable:2,agile:3,agilely:2,agility:2,agreeable:3,agreeableness:3,agreeably:2,"all-around":2,alluring:3,alluringly:3,altruistic:3,altruistically:3,amaze:4,amazed:4,amazement:4,amazes:4,amazing:4,amazingly:4,ambitious:4,ambitiously:4,ameliorate:4,amenable:3,amenity:3,amiability:3,amiabily:3,amiable:3,amicability:3,amicable:3,amicably:3,amity:2,ample:2,amply:2,amuse:2,amusing:2,amusingly:2,angel:5,angelic:5,apotheosis:1,appeal:4,appealing:4,applaud:4,appreciable:4,appreciate:4,appreciated:4,appreciates:4,appreciative:4,appreciatively:4,appropriate:4,approval:4,approve:4,ardent:1,ardently:1,ardor:1,articulate:1,aspiration:3,aspirations:3,aspire:3,assurance:3,assurances:3,assure:3,assuredly:3,assuring:3,astonish:4,astonished:4,astonishing:4,astonishingly:4,astonishment:4,astound:4,astounded:4,astounding:4,astoundingly:4,astutely:1,attentive:1,attraction:1,attractive:1,attractively:1,attune:1,audible:1,audibly:1,auspicious:1,authentic:1,authoritative:1,autonomous:1,available:1,aver:1,avid:1,avidly:1,award:1,awarded:1,awards:1,awe:5,awed:1,awesome:5,awesomely:4,awesomeness:4,awestruck:4,awsome:4,backbone:3,balanced:3,bargain:3,beauteous:3,beautiful:3,beautifullly:3,beautifully:3,beautify:3,beauty:3,beckon:2,beckoned:1,beckoning:1,beckons:1,believable:3,believeable:3,beloved:3,benefactor:2,beneficent:2,beneficial:2,beneficially:2,beneficiary:2,benefit:3,benefits:3,benevolence:1,benevolent:1,benifits:2,best:5,"best-known":5,"best-performing":5,"best-selling":5,better:5,"better-known":5,"better-than-expected":4,beutifully:5,blameless:4,bless:3,blessing:3,bliss:4,blissful:4,blissfully:4,blithe:1,blockbuster:5,bloom:3,blossom:4,bolster:1,bonny:1,bonus:4,bonuses:4,boom:2,booming:3,boost:4,boundless:4,bountiful:3,brainiest:3,brainy:3,"brand-new":5,brave:3,bravery:3,bravo:2,breakthrough:5,breakthroughs:5,breathlessness:5,breathtaking:5,breathtakingly:5,breeze:4,bright:4,brighten:4,brighter:4,brightest:4,brilliance:4,brilliances:4,brilliant:4,brilliantly:4,brisk:3,brotherly:4,bullish:1,buoyant:1,cajole:1,calm:3,calming:3,calmness:3,capability:4,capable:4,capably:4,captivate:4,captivating:4,carefree:1,cashback:1,cashbacks:1,catchy:1,celebrate:4,celebrated:4,celebration:4,celebratory:4,champ:3,champion:3,charisma:4,charismatic:4,charitable:3,charm:5,charming:5,charmingly:5,chaste:1,cheaper:1,cheapest:1,cheer:4,cheerful:4,cheery:4,cherish:4,cherished:4,cherub:1,chic:1,chivalrous:2,chivalry:2,civility:2,civilize:2,clarity:4,classic:1,classy:1,clean:3,cleaner:3,cleanest:3,cleanliness:3,cleanly:3,clear:3,"clear-cut":3,cleared:3,clearer:3,clearly:3,clears:3,clever:3,cleverly:2,cohere:2,coherence:2,coherent:2,cohesive:2,colorful:3,comely:1,comfort:4,comfortable:4,comfortably:4,comforting:4,comfy:4,commend:1,commendable:1,commendably:1,commitment:3,commodious:1,compact:3,compactly:2,compassion:3,compassionate:4,compatible:3,competitive:3,complement:3,complementary:3,complemented:3,complements:3,compliant:2,compliment:5,complimentary:5,comprehensive:5,conciliate:1,conciliatory:1,concise:2,confidence:3,confident:4,congenial:1,congratulate:5,congratulation:5,congratulations:5,congratulatory:5,conscientious:2,considerate:4,consistent:4,consistently:4,constructive:4,consummate:1,contentment:1,continuity:4,contrasty:1,contribution:2,convenience:3,convenient:3,conveniently:3,convience:3,convienient:3,convient:3,convincing:3,convincingly:3,cool:5,coolest:5,cooperative:3,cooperatively:3,cornerstone:3,correct:5,correctly:5,"cost-effective":3,"cost-saving":3,"counter-attack":2,"counter-attacks":2,courage:3,courageous:3,courageously:3,courageousness:3,courteous:3,courtly:2,covenant:2,cozy:2,creative:2,credence:2,credible:2,crisp:1,crisper:1,cure:4,"cure-all":1,cushy:1,cute:5,cuteness:5,danke:1,danken:1,daring:5,daringly:5,darling:5,dashing:5,dauntless:1,dawn:1,dazzle:5,dazzled:5,dazzling:5,"dead-cheap":1,"dead-on":1,decency:5,decent:5,decisive:5,decisiveness:5,dedicated:5,defeat:1,defeated:1,defeating:1,defeats:1,defender:1,deference:1,deft:1,deginified:1,delectable:1,delicacy:4,delicate:4,delicious:4,delight:4,delighted:4,delightful:4,delightfully:4,delightfulness:4,dependable:2,dependably:2,deservedly:5,deserving:5,desirable:5,desiring:5,desirous:5,destiny:5,detachable:5,devout:5,dexterous:5,dexterously:5,dextrous:5,dignified:5,dignify:5,dignity:5,diligence:3,diligent:3,diligently:3,diplomatic:3,"dirt-cheap":3,distinction:3,distinctive:3,distinguished:3,diversified:3,divine:5,divinely:5,dominate:5,dominated:5,dominates:5,dote:1,dotingly:1,doubtless:1,dreamland:1,dumbfounded:1,dumbfounding:1,"dummy-proof":1,durable:3,dynamic:3,eager:5,eagerly:5,eagerness:5,earnest:5,earnestly:5,earnestness:5,ease:4,eased:4,eases:4,easier:4,easiest:4,easiness:4,easing:4,easy:4,"easy-to-use":5,easygoing:5,ebullience:1,ebullient:1,ebulliently:1,ecenomical:1,economical:5,ecstasies:5,ecstasy:5,ecstatic:5,ecstatically:5,edify:1,educated:5,effective:5,effectively:5,effectiveness:5,effectual:5,efficacious:5,efficient:5,efficiently:5,effortless:5,effortlessly:5,effusion:5,effusive:5,effusively:5,effusiveness:5,elan:2,elate:2,elated:2,elatedly:2,elation:3,electrify:5,elegance:5,elegant:5,elegantly:5,elevate:5,elite:5,eloquence:3,eloquent:3,eloquently:3,embolden:3,eminence:3,eminent:3,empathize:5,empathy:5,empower:5,empowerment:5,enchant:5,enchanted:5,enchanting:5,enchantingly:5,encourage:5,encouragement:5,encouraging:5,encouragingly:5,endear:3,endearing:3,endorse:3,endorsed:3,endorsement:3,endorses:3,endorsing:2,energetic:5,energize:5,"energy-efficient":5,"energy-saving":5,engaging:2,engrossing:2,enhance:5,enhanced:5,enhancement:5,enhances:5,enjoy:5,enjoyable:5,enjoyably:5,enjoyed:5,enjoying:5,enjoyment:5,enjoys:5,enlighten:5,enlightenment:5,enliven:1,ennoble:2,enough:3,enrapt:2,enrapture:1,enraptured:1,enrich:5,enrichment:3,enterprising:3,entertain:3,entertaining:5,entertains:5,enthral:2,enthrall:1,enthralled:1,enthuse:1,enthusiasm:4,enthusiast:4,enthusiastic:4,enthusiastically:3,entice:3,enticed:4,enticing:3,enticingly:4,entranced:3,entrancing:3,entrust:4,enviable:3,enviably:3,envious:3,enviously:3,enviousness:1,envy:1,equitable:1,ergonomical:5,"err-free":1,erudite:1,ethical:4,eulogize:2,euphoria:3,euphoric:3,euphorically:3,evaluative:4,evenly:5,eventful:4,everlasting:5,evocative:2,exalt:1,exaltation:2,exalted:3,exaltedly:3,exalting:3,exaltingly:3,examplar:1,examplary:1,excallent:1,exceed:5,exceeded:5,exceeding:5,exceedingly:5,exceeds:5,excel:5,exceled:5,excelent:5,excellant:5,excelled:5,excellence:5,excellency:5,excellent:5,excellently:5,excels:5,exceptional:5,exceptionally:5,excite:5,excited:5,excitedly:5,excitedness:5,excitement:5,excites:5,exciting:5,excitingly:5,exellent:5,exemplar:3,exemplary:3,exhilarate:3,exhilarating:3,exhilaratingly:3,exhilaration:3,exonerate:3,expansive:3,expeditiously:3,expertly:4,exquisite:1,exquisitely:1,extol:1,extoll:1,extraordinarily:5,extraordinary:5,exuberance:3,exuberant:3,exuberantly:3,exult:1,exultant:1,exultation:1,exultingly:1,"eye-catch":5,"eye-catching":5,eyecatch:5,eyecatching:5,fabulous:1,fabulously:4,facilitate:4,fair:5,fairly:5,fairness:5,faith:4,faithful:4,faithfully:4,faithfulness:4,fame:4,famed:4,famous:4,famously:4,fancier:5,fancinating:5,fancy:5,fanfare:3,fans:3,fantastic:3,fantastically:3,fascinate:5,fascinating:5,fascinatingly:5,fascination:5,fashionable:5,fashionably:5,fast:2,"fast-growing":2,"fast-paced":2,faster:5,fastest:5,"fastest-growing":5,faultless:3,fav:4,fave:4,favor:4,favorable:4,favored:4,favorite:4,favorited:4,favour:4,fearless:5,fearlessly:5,feasible:3,feasibly:3,feat:2,"feature-rich":2,fecilitous:2,feisty:2,felicitate:2,felicitous:2,felicity:3,fertile:3,fervent:3,fervently:3,fervid:3,fervidly:3,fervor:3,festive:3,fidelity:1,fiery:1,fine:5,"fine-looking":5,finely:5,finer:5,finest:5,firmer:4,"first-class":4,"first-in-class":4,"first-rate":5,flashy:5,flatter:4,flattering:4,flatteringly:4,flawless:5,flawlessly:5,flexibility:3,flexible:3,flourish:1,flourishing:1,fluent:2,flutter:2,fond:4,fondly:4,fondness:4,foolproof:4,foremost:3,foresight:5,formidable:4,fortitude:5,fortuitous:5,fortuitously:3,fortunate:5,fortunately:5,fortune:5,fragrant:4,free:5,freed:5,freedom:5,freedoms:5,fresh:5,fresher:5,freshest:5,friendliness:4,friendly:4,frolic:3,frugal:3,fruitful:4,ftw:4,fulfillment:4,fun:5,futurestic:4,futuristic:4,gaiety:1,gaily:1,gain:4,gained:4,gainful:4,gainfully:4,gaining:4,gains:4,gallant:2,gallantly:2,galore:4,geekier:4,geeky:3,gem:4,gems:4,generosity:4,generous:5,generously:5,genial:1,genius:4,gentle:4,gentlest:4,genuine:5,gifted:5,glad:4,gladden:1,gladly:4,gladness:4,glamorous:5,glee:1,gleeful:1,gleefully:1,glimmer:1,glimmering:1,glisten:1,glistening:1,glitter:1,glitz:1,glorify:5,glorious:5,gloriously:5,glory:5,glow:4,glowing:4,glowingly:4,"god-given":3,"god-send":3,godlike:4,godsend:4,gold:3,golden:3,good:5,goodly:5,goodness:4,goodwill:3,goood:5,gooood:5,gorgeous:4,gorgeously:4,grace:4,graceful:4,gracefully:4,gracious:4,graciously:4,graciousness:4,grand:5,grandeur:3,grateful:3,gratefully:3,gratification:3,gratified:3,gratifies:3,gratify:3,gratifying:3,gratifyingly:3,gratitude:5,great:5,greatest:5,greatness:5,grin:3,groundbreaking:3,guarantee:3,guidance:3,guiltless:3,gumption:1,gush:1,gusto:1,gutsy:1,hail:1,halcyon:1,hale:1,hallmark:1,hallmarks:1,hallowed:1,handier:1,handily:1,"hands-down":4,handsome:5,handsomely:5,handy:5,happier:5,happily:5,happiness:5,happy:5,"hard-working":4,hardier:4,hardy:4,harmless:3,harmonious:1,harmoniously:1,harmonize:1,harmony:4,headway:1,heal:5,healthful:5,healthy:4,hearten:2,heartening:2,heartfelt:3,heartily:3,heartwarming:4,heaven:5,heavenly:5,helped:4,helpful:4,helping:4,hero:4,heroic:4,heroically:4,heroine:2,heroize:2,heros:4,"high-quality":5,"high-spirited":3,hilarious:3,holy:3,homage:2,honest:3,honesty:4,honor:3,honorable:3,honored:3,honoring:3,hooray:4,hopeful:4,hospitable:4,hot:2,hotcake:2,hotcakes:3,hottest:4,hug:3,humane:4,humble:3,humility:4,humor:3,humorous:3,humorously:3,humour:3,humourous:3,ideal:4,idealize:3,ideally:3,idol:2,idolize:2,idolized:2,idyllic:1,illuminate:5,illuminati:1,illuminating:4,illumine:2,illustrious:3,ilu:1,imaculate:5,imaginative:5,immaculate:5,immaculately:5,immense:3,impartial:3,impartiality:3,impartially:3,impassioned:3,impeccable:3,impeccably:3,important:4,impress:4,impressed:4,impresses:4,impressive:4,impressively:4,impressiveness:4,improve:4,improved:3,improvement:4,improvements:5,improves:5,improving:3,incredible:4,incredibly:5,indebted:4,individualized:1,indulgence:1,indulgent:1,industrious:1,inestimable:1,inestimably:1,inexpensive:4,infallibility:1,infallible:1,infallibly:1,influential:1,ingenious:2,ingeniously:3,ingenuity:3,ingenuous:3,ingenuously:2,innocuous:3,innovation:4,innovative:4,inpressed:2,insightful:4,insightfully:3,inspiration:4,inspirational:5,inspire:5,inspiring:5,instantly:3,instructive:3,instrumental:3,integral:3,integrated:3,intelligence:3,intelligent:3,intelligible:2,interesting:4,interests:3,intimacy:2,intimate:2,intricate:3,intrigue:2,intriguing:2,intriguingly:2,intuitive:3,invaluable:5,invaluablely:5,inventive:3,invigorate:3,invigorating:2,invincibility:3,invincible:5,inviolable:3,inviolate:3,invulnerable:4,irreplaceable:3,irreproachable:3,irresistible:3,irresistibly:3,"issue-free":3,"jaw-droping":5,"jaw-dropping":5,jollify:3,jolly:3,jovial:2,joy:4,joyful:5,joyfully:5,joyous:4,joyously:4,jubilant:4,jubilantly:3,jubilate:3,jubilation:3,jubiliant:3,judicious:3,justly:3,keen:3,keenly:4,keenness:4,"kid-friendly":3,kindliness:5,kindly:5,kindness:5,knowledgeable:4,kudos:3,"large-capacity":3,laud:3,laudable:4,laudably:4,lavish:5,lavishly:5,"law-abiding":4,lawful:4,lawfully:4,lead:3,leading:3,leads:1,lean:1,led:1,legendary:5,leverage:3,levity:2,liberate:4,liberation:4,liberty:4,lifesaver:5,"light-hearted":3,lighter:3,likable:4,like:5,liked:4,likes:4,liking:5,lionhearted:4,lively:5,logical:4,"long-lasting":5,lovable:4,lovably:5,love:5,loved:5,loveliness:4,lovely:5,lover:4,loves:4,loving:5,"low-cost":2,"low-price":2,"low-priced":2,"low-risk":3,"lower-priced":3,loyal:4,loyalty:4,lucid:2,lucidly:2,luck:4,luckier:4,luckiest:4,luckiness:4,lucky:5,lucrative:3,luminous:3,lush:2,luster:2,lustrous:3,luxuriant:3,luxuriate:3,luxurious:3,luxuriously:4,luxury:5,lyrical:2,magic:3,magical:4,magnanimous:3,magnanimously:3,magnificence:2,magnificent:3,magnificently:3,majestic:3,majesty:3,manageable:2,maneuverable:2,marvel:4,marveled:4,marvelled:4,marvellous:4,marvelous:4,marvelously:5,marvelousness:3,marvels:3,master:5,masterful:5,masterfully:5,masterpiece:5,masterpieces:5,masters:5,mastery:4,matchless:4,mature:3,maturely:2,maturity:3,meaningful:4,memorable:5,merciful:5,mercifully:5,mercy:5,merit:4,meritorious:4,merrily:3,merriment:2,merriness:2,merry:4,mesmerize:3,mesmerized:3,mesmerizes:3,mesmerizing:3,mesmerizingly:3,meticulous:3,meticulously:3,mightily:4,mighty:2,"mind-blowing":5,miracle:5,miracles:5,miraculous:5,miraculously:5,miraculousness:1,modern:3,modest:3,modesty:3,momentous:3,monumental:3,monumentally:3,morality:3,motivated:3,"multi-purpose":3,navigable:3,neat:5,neatest:5,neatly:5,nice:5,nicely:5,nicer:5,nicest:5,nifty:4,nimble:4,noble:4,nobly:4,noiseless:4,"non-violence":2,"non-violent":2,notably:4,noteworthy:4,nourish:4,nourishing:4,nourishment:4,novelty:3,nurturing:3,oasis:3,obsession:3,obsessions:3,obtainable:3,openly:1,openness:1,optimal:3,optimism:3,optimistic:3,opulent:1,orderly:4,originality:4,outdo:4,outdone:4,outperform:4,outperformed:4,outperforming:4,outperforms:4,outshine:5,outshone:5,outsmart:5,outstanding:3,outstandingly:3,outstrip:4,outwit:4,ovation:2,overjoyed:2,overtake:3,overtaken:3,overtakes:4,overtaking:4,overtook:3,overture:3,"pain-free":4,painless:4,painlessly:5,palatial:2,pamper:3,pampered:3,pamperedly:3,pamperedness:2,pampers:2,panoramic:3,paradise:4,paramount:2,pardon:2,passion:2,passionate:2,passionately:2,patience:3,patient:3,patiently:2,patriot:2,patriotic:2,peace:5,peaceable:5,peaceful:5,peacefully:5,peacekeepers:5,peach:3,peerless:3,pep:2,pepped:2,pepping:2,peppy:2,peps:2,perfect:5,perfection:5,perfectly:5,permissible:2,perseverance:2,persevere:1,personages:1,personalized:3,phenomenal:4,phenomenally:4,picturesque:4,piety:3,pinnacle:4,playful:4,playfully:4,pleasant:4,pleasantly:3,pleased:4,pleases:4,pleasing:3,pleasingly:4,pleasurable:4,pleasurably:3,pleasure:3,plentiful:4,pluses:2,plush:1,plusses:1,poetic:1,poeticize:1,poignant:1,poise:1,poised:2,polished:2,polite:4,politeness:4,popular:5,portable:4,posh:3,positive:4,positively:5,positives:5,powerful:5,powerfully:5,praise:5,praiseworthy:5,praising:4,"pre-eminent":2,precious:2,precise:2,precisely:2,preeminent:2,prefer:2,preferable:2,preferably:2,prefered:2,preferes:2,preferring:2,prefers:2,premier:2,prestige:4,prestigious:2,prettily:2,pretty:5,priceless:5,pride:4,principled:2,privilege:2,privileged:2,prize:2,proactive:2,"problem-free":2,"problem-solver":2,prodigious:2,prodigiously:2,prodigy:2,productive:2,productively:2,proficient:2,proficiently:2,profound:3,profoundly:3,profuse:2,profusion:2,progress:2,progressive:2,prolific:2,prominence:2,prominent:2,promise:2,promised:2,promises:2,promising:2,promoter:2,prompt:2,promptly:2,proper:2,properly:2,propitious:2,propitiously:2,pros:2,prosper:2,prosperity:3,prosperous:3,prospros:3,protect:3,protection:4,protective:4,proud:2,proven:2,proves:2,providence:2,proving:2,prowess:2,prudence:2,prudent:2,prudently:2,punctual:2,pure:5,purify:5,purposeful:2,quaint:2,qualified:2,qualify:4,quicker:5,quiet:5,quieter:2,radiance:2,radiant:2,rapid:2,rapport:2,rapt:1,rapture:1,raptureous:1,raptureously:1,rapturous:1,rapturously:1,rational:1,"razor-sharp":2,reachable:1,readable:2,readily:2,ready:5,reaffirm:1,reaffirmation:2,realistic:2,realizable:2,reasonable:2,reasonably:2,reasoned:2,reassurance:2,reassure:2,receptive:2,reclaim:2,recomend:4,recommend:4,recommendation:4,recommendations:4,recommended:5,reconcile:3,reconciliation:3,"record-setting":4,recover:4,recovery:4,rectification:4,rectify:3,rectifying:3,redeem:3,redeeming:3,redemption:1,refine:1,refined:3,refinement:3,reform:4,reformed:4,reforming:3,reforms:3,refresh:3,refreshed:3,refreshing:3,refund:3,refunded:2,regal:2,regally:2,regard:2,rejoice:2,rejoicing:3,rejoicingly:3,rejuvenate:3,rejuvenated:3,rejuvenating:3,relaxed:4,relent:4,reliable:4,reliably:4,relief:4,relish:4,remarkable:3,remarkably:3,remedy:3,remission:3,remunerate:3,renaissance:3,renewed:2,renown:2,renowned:2,replaceable:3,reputable:3,reputation:4,resilient:4,resolute:4,resound:4,resounding:2,resourceful:2,resourcefulness:3,respect:3,respectable:3,respectful:2,respectfully:2,respite:2,resplendent:2,responsibly:2,responsive:4,restful:4,restored:2,restructure:2,restructured:2,restructuring:2,retractable:2,revel:2,revelation:2,revere:2,reverence:2,reverent:2,reverently:2,revitalize:2,revival:2,revive:4,revives:2,revolutionary:2,revolutionize:2,revolutionized:2,revolutionizes:2,reward:5,rewarding:5,rewardingly:5,rich:4,richer:4,richly:4,richness:4,right:4,righten:3,righteous:3,righteously:2,righteousness:2,rightful:2,rightfully:2,rightly:2,rightness:2,"risk-free":2,robust:2,"rock-star":4,"rock-stars":4,rockstar:2,rockstars:2,romantic:2,romantically:2,romanticize:2,roomier:2,roomy:2,rosy:2,safe:4,safely:4,sagacity:2,sagely:2,saint:2,saintliness:2,saintly:2,salutary:2,salute:2,sane:3,satisfactorily:3,satisfactory:3,satisfied:3,satisfies:3,satisfy:3,satisfying:3,satisified:3,saver:4,savings:4,savior:4,savvy:4,scenic:4,seamless:4,seasoned:2,secure:5,securely:2,selective:3,"self-determination":3,"self-respect":5,"self-satisfaction":5,"self-sufficiency":5,"self-sufficient":5,sensation:5,sensational:4,sensationally:4,sensations:4,sensible:4,sensibly:4,sensitive:2,serene:2,serenity:2,sexy:4,sharp:2,sharper:2,sharpest:2,shimmering:2,shimmeringly:2,shine:2,shiny:2,significant:2,silent:3,simpler:3,simplest:2,simplified:2,simplifies:2,simplify:2,simplifying:2,sincere:5,sincerely:2,sincerity:2,skill:4,skilled:2,skillful:2,skillfully:2,slammin:2,sleek:2,slick:2,smart:3,smarter:3,smartest:2,smartly:2,smile:2,smiles:2,smiling:2,smilingly:2,smitten:2,smooth:2,smoother:2,smoothes:2,smoothest:2,smoothly:2,snappy:2,snazzy:2,sociable:2,soft:4,softer:4,solace:2,solicitous:2,solicitously:2,solid:2,solidarity:2,soothe:2,soothingly:2,sophisticated:2,soulful:3,soundly:3,soundness:2,spacious:2,sparkle:2,sparkling:2,spectacular:5,spectacularly:5,speedily:2,speedy:2,spellbind:2,spellbinding:2,spellbindingly:2,spellbound:2,spirited:2,spiritual:2,splendid:2,splendidly:2,splendor:2,spontaneous:2,sporty:1,spotless:2,sprightly:1,stability:2,stabilize:2,stable:4,stainless:2,standout:2,"state-of-the-art":2,stately:2,statuesque:2,staunch:2,staunchly:2,staunchness:2,steadfast:2,steadfastly:2,steadfastness:2,steadiest:3,steadiness:3,steady:5,stellar:5,stellarly:2,stimulate:2,stimulates:2,stimulating:2,stimulative:2,stirringly:1,straighten:1,straightforward:3,streamlined:3,striking:2,strikingly:2,striving:2,strong:4,stronger:4,strongest:4,stunned:4,stunning:5,stunningly:5,stupendous:1,stupendously:1,sturdier:1,sturdy:1,stylish:4,stylishly:4,stylized:4,suave:2,suavely:1,sublime:2,subsidize:1,subsidized:1,subsidizes:1,subsidizing:1,substantive:1,succeed:3,succeeded:4,succeeding:3,succeeds:3,succes:1,success:4,successes:2,successful:2,successfully:4,suffice:2,sufficed:3,suffices:2,sufficient:3,sufficiently:3,suitable:4,sumptuous:1,sumptuously:1,sumptuousness:1,super:5,superb:5,superbly:5,superior:2,superiority:4,supple:2,support:3,supported:3,supporter:3,supporting:3,supportive:3,supports:3,supremacy:4,supreme:4,supremely:4,supurb:4,supurbly:3,surmount:2,surpass:3,surreal:4,survival:2,survivor:2,sustainability:2,sustainable:2,swank:1,swankier:1,swankiest:1,swanky:1,sweeping:2,sweet:4,sweeten:3,sweetheart:5,sweetly:4,sweetness:5,swift:3,swiftness:3,talent:2,talented:2,talents:2,tantalize:1,tantalizing:1,tantalizingly:1,tempt:1,tempting:3,temptingly:3,tenacious:2,tenaciously:2,tenacity:2,tender:4,tenderly:4,terrific:4,terrifically:4,thank:4,thankful:4,thinner:3,thoughtful:2,thoughtfully:2,thoughtfulness:2,thrift:2,thrifty:2,thrill:2,thrilled:2,thrilling:2,thrillingly:2,thrills:2,thrive:2,thriving:2,"thumb-up":2,"thumbs-up":2,tickle:2,tidy:2,"time-honored":1,timely:2,tingle:2,titillate:1,titillating:1,titillatingly:1,togetherness:2,tolerable:3,"toll-free":1,top:4,"top-notch":5,"top-quality":5,topnotch:5,tops:5,tough:2,tougher:3,toughest:4,traction:1,tranquil:1,tranquility:1,transparent:2,treasure:4,tremendously:5,trendy:5,triumph:5,triumphal:5,triumphant:1,triumphantly:1,trivially:1,trophy:1,"trouble-free":2,trump:5,trumpet:1,trust:5,trusted:2,trusting:3,trustingly:2,trustworthiness:2,trustworthy:2,trusty:4,truthful:2,truthfully:2,truthfulness:2,twinkly:2,"ultra-crisp":5,unabashed:2,unabashedly:2,unaffected:1,unassailable:2,unbeatable:2,unbiased:2,unbound:2,uncomplicated:3,unconditional:2,undamaged:3,undaunted:2,understandable:2,undisputable:2,undisputably:2,undisputed:3,unencumbered:1,unequivocal:1,unequivocally:1,unfazed:2,unfettered:1,unforgettable:3,unity:2,unlimited:3,unmatched:2,unparalleled:1,unquestionable:1,unquestionably:1,unreal:3,unrestricted:2,unrivaled:2,unselfish:2,unwavering:3,upbeat:2,upgradable:2,upgradeable:2,upgraded:2,upheld:2,uphold:2,uplift:2,uplifting:2,upliftingly:2,upliftment:2,upscale:2,usable:4,useable:2,useful:5,"user-friendly":2,"user-replaceable":2,valiant:1,valiantly:2,valor:2,valuable:5,variety:2,venerate:2,verifiable:1,veritable:1,versatile:2,versatility:1,vibrant:4,vibrantly:4,victorious:5,victory:5,viewable:2,vigilance:2,vigilant:3,virtue:2,virtuous:2,virtuously:2,visionary:2,vivacious:2,vivid:2,vouch:3,vouchsafe:2,warm:4,warmer:2,warmhearted:2,warmly:4,warmth:5,wealthy:5,welcome:2,well:5,"well-backlit":2,"well-balanced":2,"well-behaved":5,"well-being":2,"well-bred":2,"well-connected":2,"well-educated":2,"well-established":1,"well-informed":1,"well-intentioned":2,"well-known":3,"well-made":5,"well-managed":2,"well-mannered":2,"well-positioned":2,"well-received":2,"well-regarded":2,"well-rounded":2,"well-run":2,"well-wishers":2,wellbeing:2,whoa:2,wholeheartedly:2,wholesome:2,whooa:2,whoooa:2,wieldy:1,willing:2,willingly:2,willingness:3,win:5,windfall:2,winnable:2,winner:2,winners:2,winning:2,wins:2,wisdom:2,wise:2,wisely:2,witty:4,won:5,wonder:2,wonderful:2,wonderfully:2,wonderous:2,wonderously:2,wonders:2,wondrous:2,woo:3,work:2,workable:2,worked:3,works:4,"world-famous":2,worth:2,"worth-while":2,worthiness:2,worthwhile:2,worthy:4,wow:5,wowed:2,wowing:2,wows:2,yay:4,youthful:5,zeal:2,zenith:2,zest:4,zippy:2,"2-faced":-1,"2-faces":-1,abnormal:-5,abolish:-4,abominable:-3,abominably:-3,abominate:-2,abomination:-3,abort:-2,aborted:-3,aborts:-3,abrade:-2,abrasive:-4,abrupt:-2,abruptly:-2,abscond:-4},a(n,"aborted",-5),a(n,"absence",-5),a(n,"absent-minded",-5),a(n,"absentee",-5),a(n,"absurd",-4),a(n,"absurdity",-3),a(n,"absurdly",-3),a(n,"absurdness",-3),a(n,"abuse",-4),a(n,"abused",-4),a(n,"abuses",-4),a(n,"abusive",-3),a(n,"abysmal",-2),a(n,"abysmally",-1),a(n,"abyss",-1),a(n,"accidental",-3),a(n,"accost",-1),a(n,"accursed",-1),a(n,"accusation",-5),a(n,"accusations",-1),a(n,"accuse",-3),a(n,"accuses",-3),a(n,"accusing",-2),a(n,"accusingly",-4),a(n,"acerbate",-1),a(n,"acerbic",-1),a(n,"acerbically",-1),a(n,"ache",-5),a(n,"ached",-1),a(n,"aches",-2),a(n,"achey",-1),a(n,"aching",-5),a(n,"acrid",-1),a(n,"acridly",-1),a(n,"acridness",-1),a(n,"acrimonious",-1),a(n,"acrimoniously",-1),a(n,"acrimony",-1),a(n,"adamant",-4),a(n,"adamantly",-4),a(n,"addict",-5),a(n,"addicted",-2),a(n,"addicting",-2),a(n,"addicts",-3),a(n,"admonish",-4),a(n,"admonisher",-2),a(n,"admonishingly",-3),a(n,"admonishment",-4),a(n,"admonition",-3),a(n,"adulterate",-1),a(n,"adulterated",-3),a(n,"adulteration",-5),a(n,"adulterier",-2),a(n,"adversarial",-1),a(n,"adversary",-1),a(n,"adverse",-4),a(n,"adversity",-5),a(n,"afflict",-1),a(n,"affliction",-1),a(n,"afflictive",-1),a(n,"affront",-1),a(n,"afraid",-5),a(n,"aggravate",-4),a(n,"aggravating",-4),a(n,"aggravation",-5),a(n,"aggression",-5),a(n,"aggressive",-5),a(n,"aggressiveness",-4),a(n,"aggressor",-4),a(n,"aggrieve",-3),a(n,"aggrieved",-4),a(n,"aggrivation",-5),a(n,"aghast",-2),a(n,"agonies",-4),a(n,"agonize",-5),a(n,"agonizing",-5),a(n,"agonizingly",-4),a(n,"agony",-5),a(n,"aground",-2),a(n,"ail",-1),a(n,"ailing",-1),a(n,"ailment",-2),a(n,"aimless",-2),a(n,"alarm",-1),a(n,"alarmed",-1),a(n,"alarming",-1),a(n,"alarmingly",-1),a(n,"alienate",-2),a(n,"alienated",-1),a(n,"alienation",-1),a(n,"allegation",-2),a(n,"allegations",-3),a(n,"allege",-1),a(n,"allergic",-1),a(n,"allergies",-1),a(n,"allergy",-1),a(n,"aloof",-1),a(n,"altercation",-1),a(n,"ambiguity",-2),a(n,"ambiguous",-2),a(n,"ambivalence",-1),a(n,"ambivalent",-1),a(n,"ambush",-1),a(n,"amiss",-1),a(n,"amputate",-3),a(n,"anarchism",-1),a(n,"anarchist",-4),a(n,"anarchistic",-1),a(n,"anarchy",-1),a(n,"anemic",-1),a(n,"anger",-4),a(n,"angrily",-5),a(n,"angriness",-5),a(n,"angry",-5),a(n,"anguish",-3),a(n,"animosity",-1),a(n,"annihilate",-1),a(n,"annihilation",-1),a(n,"annoy",-3),a(n,"annoyance",-4),a(n,"annoyances",-4),a(n,"annoyed",-2),a(n,"annoying",-2),a(n,"annoyingly",-3),a(n,"annoys",-1),a(n,"anomalous",-1),a(n,"anomaly",-3),a(n,"antagonism",-1),a(n,"antagonist",-1),a(n,"antagonistic",-1),a(n,"antagonize",-1),a(n,"anti-",-1),a(n,"anti-american",-1),a(n,"anti-israeli",-1),a(n,"anti-occupation",-1),a(n,"anti-proliferation",-1),a(n,"anti-semites",-1),a(n,"anti-social",-1),a(n,"anti-us",-1),a(n,"anti-white",-1),a(n,"antipathy",-1),a(n,"antiquated",-1),a(n,"antithetical",-1),a(n,"anxieties",-1),a(n,"anxiety",-2),a(n,"anxious",-3),a(n,"anxiously",-3),a(n,"anxiousness",-1),a(n,"apathetic",-4),a(n,"apathetically",-1),a(n,"apathy",-5),a(n,"apocalypse",-5),a(n,"apocalyptic",-4),a(n,"apologist",-3),a(n,"apologists",-2),a(n,"appal",-1),a(n,"appall",-1),a(n,"appalled",-1),a(n,"appalling",-1),a(n,"appallingly",-1),a(n,"apprehension",-1),a(n,"apprehensions",-1),a(n,"apprehensive",-1),a(n,"apprehensively",-1),a(n,"arbitrary",-1),a(n,"arcane",-1),a(n,"archaic",-1),a(n,"arduous",-1),a(n,"arduously",-1),a(n,"argumentative",-1),a(n,"arrogance",-3),a(n,"arrogant",-4),a(n,"arrogantly",-5),a(n,"ashamed",-4),a(n,"asinine",-1),a(n,"asininely",-1),a(n,"asinininity",-1),a(n,"askance",-1),a(n,"asperse",-1),a(n,"aspersion",-1),a(n,"aspersions",-1),a(n,"assail",-1),a(n,"assassin",-2),a(n,"assassinate",-2),a(n,"assault",-1),a(n,"assult",-1),a(n,"astray",-1),a(n,"asunder",-1),a(n,"atrocious",-1),a(n,"atrocities",-1),a(n,"atrocity",-1),a(n,"atrophy",-1),a(n,"attack",-3),a(n,"attacks",-3),a(n,"audacious",-3),a(n,"audaciously",-2),a(n,"audaciousness",-2),a(n,"audacity",-2),a(n,"audiciously",-1),a(n,"austere",-1),a(n,"authoritarian",-1),a(n,"autocrat",-1),a(n,"autocratic",-1),a(n,"avalanche",-2),a(n,"avarice",-1),a(n,"avaricious",-1),a(n,"avariciously",-1),a(n,"avenge",-4),a(n,"averse",-1),a(n,"aversion",-1),a(n,"aweful",-4),a(n,"awful",-5),a(n,"awfully",-1),a(n,"awfulness",-1),a(n,"awkward",-3),a(n,"awkwardness",-2),a(n,"ax",-1),a(n,"babble",-1),a(n,"back-logged",-1),a(n,"back-wood",-1),a(n,"back-woods",-1),a(n,"backache",-1),a(n,"backaches",-1),a(n,"backaching",-1),a(n,"backbite",-1),a(n,"backbiting",-1),a(n,"backward",-1),a(n,"backwardness",-1),a(n,"backwood",-1),a(n,"backwoods",-1),a(n,"bad",-4),a(n,"badly",-2),a(n,"baffle",-5),a(n,"baffled",-4),a(n,"bafflement",-1),a(n,"baffling",-1),a(n,"bait",-1),a(n,"balk",-1),a(n,"banal",-1),a(n,"banalize",-1),a(n,"bane",-1),a(n,"banish",-5),a(n,"banishment",-4),a(n,"bankrupt",-2),a(n,"barbarian",-5),a(n,"barbaric",-4),a(n,"barbarically",-3),a(n,"barbarity",-2),a(n,"barbarous",-3),a(n,"barbarously",-1),a(n,"barren",-3),a(n,"baseless",-2),a(n,"bash",-1),a(n,"bashed",-1),a(n,"bashful",-1),a(n,"bashing",-1),a(n,"bastard",-2),a(n,"bastards",-2),a(n,"battered",-1),a(n,"battering",-1),a(n,"batty",-1),a(n,"bearish",-1),a(n,"beastly",-1),a(n,"bedlam",-1),a(n,"bedlamite",-1),a(n,"befoul",-1),a(n,"beg",-1),a(n,"beggar",-1),a(n,"beggarly",-1),a(n,"begging",-1),a(n,"beguile",-1),a(n,"belabor",-1),a(n,"belated",-1),a(n,"beleaguer",-1),a(n,"belie",-2),a(n,"belittle",-2),a(n,"belittled",-2),a(n,"belittling",-2),a(n,"bellicose",-2),a(n,"belligerence",-2),a(n,"belligerent",-2),a(n,"belligerently",-2),a(n,"bemoan",-2),a(n,"bemoaning",-2),a(n,"bemused",-2),a(n,"bent",-2),a(n,"berate",-2),a(n,"bereave",-2),a(n,"bereavement",-2),a(n,"bereft",-2),a(n,"berserk",-2),a(n,"beseech",-1),a(n,"beset",-1),a(n,"besiege",-1),a(n,"besmirch",-1),a(n,"bestial",-1),a(n,"betray",-1),a(n,"betrayal",-1),a(n,"betrayals",-1),a(n,"betrayer",-1),a(n,"betraying",-1),a(n,"betrays",-1),a(n,"bewail",-1),a(n,"beware",-2),a(n,"bewilder",-1),a(n,"bewildered",-1),a(n,"bewildering",-1),a(n,"bewilderingly",-1),a(n,"bewilderment",-1),a(n,"bewitch",-1),a(n,"bias",-3),a(n,"biased",-1),a(n,"biases",-1),a(n,"bicker",-1),a(n,"bickering",-1),a(n,"bid-rigging",-1),a(n,"bigotries",-1),a(n,"bigotry",-4),a(n,"bitch",-5),a(n,"bitchy",-5),a(n,"biting",-5),a(n,"bitingly",-5),a(n,"bitter",-5),a(n,"bitterly",-5),a(n,"bitterness",-5),a(n,"bizarre",-1),a(n,"blab",-1),a(n,"blabber",-1),a(n,"blackmail",-1),a(n,"blah",-1),a(n,"blame",-3),a(n,"blameworthy",-1),a(n,"bland",-1),a(n,"blandish",-1),a(n,"blaspheme",-1),a(n,"blasphemous",-1),a(n,"blasphemy",-1),a(n,"blasted",-1),a(n,"blatant",-1),a(n,"blatantly",-1),a(n,"blather",-1),a(n,"bleak",-1),a(n,"bleakly",-1),a(n,"bleakness",-1),a(n,"bleed",-2),a(n,"bleeding",-3),a(n,"bleeds",-3),a(n,"blemish",-1),a(n,"blind",-2),a(n,"blinding",-1),a(n,"blindingly",-1),a(n,"blindside",-1),a(n,"blister",-1),a(n,"blistering",-1),a(n,"bloated",-1),a(n,"blockage",-1),a(n,"blockhead",-1),a(n,"bloodshed",-1),a(n,"bloodthirsty",-1),a(n,"bloody",-1),a(n,"blotchy",-1),a(n,"blow",-3),a(n,"blunder",-1),a(n,"blundering",-1),a(n,"blunders",-1),a(n,"blunt",-1),a(n,"blur",-1),a(n,"bluring",-1),a(n,"blurred",-1),a(n,"blurring",-1),a(n,"blurry",-1),a(n,"blurs",-1),a(n,"blurt",-1),a(n,"boastful",-1),a(n,"boggle",-3),a(n,"bogus",-2),a(n,"boil",-2),a(n,"boiling",-3),a(n,"boisterous",-2),a(n,"bomb",-4),a(n,"bombard",-2),a(n,"bombardment",-1),a(n,"bombastic",-1),a(n,"bondage",-1),a(n,"bonkers",-4),a(n,"bore",-1),a(n,"bored",-1),a(n,"boredom",-2),a(n,"bores",-2),a(n,"boring",-1),a(n,"botch",-1),a(n,"bother",-1),a(n,"bothered",-1),a(n,"bothering",-1),a(n,"bothers",-1),a(n,"bothersome",-1),a(n,"bowdlerize",-1),a(n,"boycott",-3),a(n,"braggart",-3),a(n,"bragger",-2),a(n,"brainless",-3),a(n,"brainwash",-1),a(n,"brash",-1),a(n,"brashly",-1),a(n,"brashness",-1),a(n,"brat",-1),a(n,"bravado",-1),a(n,"brazen",-1),a(n,"brazenly",-2),a(n,"brazenness",-2),a(n,"breach",-3),a(n,"break",-2),a(n,"break-up",-2),a(n,"break-ups",-1),a(n,"breakdown",-4),a(n,"breaking",-1),a(n,"breaks",-2),a(n,"breakup",-2),a(n,"breakups",-2),a(n,"bribery",-2),a(n,"brimstone",-2),a(n,"bristle",-2),a(n,"brittle",-3),a(n,"broke",-3),a(n,"broken",-3),a(n,"broken-hearted",-3),a(n,"brood",-3),a(n,"browbeat",-3),a(n,"bruise",-3),a(n,"bruised",-2),a(n,"bruises",-2),a(n,"bruising",-2),a(n,"brusque",-3),a(n,"brutal",-3),a(n,"brutalising",-3),a(n,"brutalities",-2),a(n,"brutality",-2),a(n,"brutalize",-2),a(n,"brutalizing",-2),a(n,"brutally",-2),a(n,"brute",-2),a(n,"brutish",-1),a(n,"bs",-3),a(n,"buckle",-1),a(n,"bug",-2),a(n,"bugging",-5),a(n,"buggy",-3),a(n,"bugs",-2),a(n,"bulkier",-2),a(n,"bulkiness",-1),a(n,"bulky",-3),a(n,"bulkyness",-1),a(n,"bull****",-3),a(n,"bull----",-3),a(n,"bullies",-2),a(n,"bullshit",-5),a(n,"bullshyt",-1),a(n,"bully",-2),a(n,"bullying",-1),a(n,"bullyingly",-1),a(n,"bum",-1),a(n,"bump",-1),a(n,"bumped",-3),a(n,"bumping",-1),a(n,"bumpping",-1),a(n,"bumps",-1),a(n,"bumpy",-1),a(n,"bungle",-1),a(n,"bungler",-1),a(n,"bungling",-1),a(n,"bunk",-1),a(n,"burden",-4),a(n,"burdensome",-1),a(n,"burdensomely",-1),a(n,"burn",-5),a(n,"burned",-4),a(n,"burning",-1),a(n,"burns",-1),a(n,"bust",-1),a(n,"busts",-1),a(n,"busybody",-1),a(n,"butcher",-1),a(n,"butchery",-1),a(n,"buzzing",-1),a(n,"byzantine",-1),a(n,"cackle",-1),a(n,"calamities",-3),a(n,"calamitous",-3),a(n,"calamitously",-3),a(n,"calamity",-4),a(n,"callous",-2),a(n,"calumniate",-1),a(n,"calumniation",-1),a(n,"calumnies",-1),a(n,"calumnious",-1),a(n,"calumniously",-1),a(n,"calumny",-1),a(n,"cancer",-5),a(n,"cancerous",-1),a(n,"cannibal",-1),a(n,"cannibalize",-5),a(n,"capitulate",-1),a(n,"capricious",-1),a(n,"capriciously",-1),a(n,"capriciousness",-1),a(n,"capsize",-1),a(n,"careless",-4),a(n,"carelessness",-5),a(n,"caricature",-1),a(n,"carnage",-1),a(n,"carp",-1),a(n,"cartoonish",-1),a(n,"cash-strapped",-1),a(n,"castigate",-1),a(n,"castrated",-1),a(n,"casualty",-3),a(n,"cataclysm",-2),a(n,"cataclysmal",-2),a(n,"cataclysmic",-2),a(n,"cataclysmically",-1),a(n,"catastrophe",-4),a(n,"catastrophes",-4),a(n,"catastrophic",-4),a(n,"catastrophically",-1),a(n,"catastrophies",-1),a(n,"caustic",-1),a(n,"caustically",-1),a(n,"cautionary",-3),a(n,"cave",-1),a(n,"censure",-1),a(n,"chafe",-1),a(n,"chaff",-1),a(n,"chagrin",-1),a(n,"challenging",-3),a(n,"chaos",-5),a(n,"chaotic",-1),a(n,"chasten",-1),a(n,"chastise",-1),a(n,"chastisement",-1),a(n,"chatter",-1),a(n,"chatterbox",-1),a(n,"cheap",-3),a(n,"cheapen",-1),a(n,"cheaply",-1),a(n,"cheat",-2),a(n,"cheated",-3),a(n,"cheater",-2),a(n,"cheating",-1),a(n,"cheats",-1),a(n,"checkered",-1),a(n,"cheerless",-1),a(n,"cheesy",-1),a(n,"chide",-1),a(n,"childish",-1),a(n,"chill",-1),a(n,"chilly",-1),a(n,"chintzy",-1),a(n,"choke",-1),a(n,"choleric",-1),a(n,"choppy",-1),a(n,"chore",-1),a(n,"chronic",-1),a(n,"chunky",-1),a(n,"clamor",-1),a(n,"clamorous",-1),a(n,"clash",-1),a(n,"cliche",-1),a(n,"cliched",-1),a(n,"clique",-1),a(n,"clog",-1),a(n,"clogged",-1),a(n,"clogs",-1),a(n,"cloud",-1),a(n,"clouding",-1),a(n,"cloudy",-1),a(n,"clueless",-1),a(n,"clumsy",-3),a(n,"clunky",-3),a(n,"coarse",-3),a(n,"cocky",-1),a(n,"coerce",-2),a(n,"coercion",-2),a(n,"coercive",-2),a(n,"cold",-3),a(n,"coldly",-1),a(n,"collapse",-1),a(n,"collude",-1),a(n,"collusion",-1),a(n,"combative",-1),a(n,"combust",-2),a(n,"comical",-2),a(n,"commiserate",-2),a(n,"commonplace",-2),a(n,"commotion",-3),a(n,"commotions",-3),a(n,"complacent",-3),a(n,"complain",-3),a(n,"complained",-4),a(n,"complaining",-4),a(n,"complains",-4),a(n,"complaint",-4),a(n,"complaints",-2),a(n,"complex",-2),a(n,"complicated",-4),a(n,"complication",-4),a(n,"complicit",-4),a(n,"compulsion",-4),a(n,"compulsive",-1),a(n,"concede",-1),a(n,"conceded",-1),a(n,"conceit",-1),a(n,"conceited",-1),a(n,"concen",-1),a(n,"concens",-2),a(n,"concern",-1),a(n,"concerned",-1),a(n,"concerns",-1),a(n,"concession",-1),a(n,"concessions",-1),a(n,"condemn",-1),a(n,"condemnable",-1),a(n,"condemnation",-1),a(n,"condemned",-1),a(n,"condemns",-1),a(n,"condescend",-1),a(n,"condescending",-1),a(n,"condescendingly",-1),a(n,"condescension",-1),a(n,"confess",-1),a(n,"confession",-4),a(n,"confessions",-2),a(n,"confined",-2),a(n,"conflict",-2),a(n,"conflicted",-2),a(n,"conflicting",-2),a(n,"conflicts",-2),a(n,"confound",-2),a(n,"confounded",-2),a(n,"confounding",-2),a(n,"confront",-3),a(n,"confrontation",-3),a(n,"confrontational",-3),a(n,"confuse",-5),a(n,"confused",-4),a(n,"confuses",-4),a(n,"confusing",-4),a(n,"confusion",-4),a(n,"confusions",-4),a(n,"congested",-4),a(n,"congestion",-4),a(n,"cons",-5),a(n,"conscons",-2),a(n,"conservative",-1),a(n,"conspicuous",-1),a(n,"conspicuously",-1),a(n,"conspiracies",-1),a(n,"conspiracy",-4),a(n,"conspirator",-1),a(n,"conspiratorial",-1),a(n,"conspire",-5),a(n,"consternation",-1),a(n,"contagious",-3),a(n,"contaminate",-3),a(n,"contaminated",-3),a(n,"contaminates",-2),a(n,"contaminating",-2),a(n,"contamination",-1),a(n,"contempt",-1),a(n,"contemptible",-1),a(n,"contemptuous",-2),a(n,"contemptuously",-2),a(n,"contend",-2),a(n,"contention",-2),a(n,"contentious",-2),a(n,"contort",-3),a(n,"contortions",-3),a(n,"contradict",-3),a(n,"contradiction",-3),a(n,"contradictory",-3),a(n,"contrariness",-3),a(n,"contravene",-3),a(n,"contrive",-3),a(n,"contrived",-3),a(n,"controversial",-3),a(n,"controversy",-2),a(n,"convoluted",-2),a(n,"corrode",-2),a(n,"corrosion",-3),a(n,"corrosions",-3),a(n,"corrosive",-3),a(n,"corrupt",-4),a(n,"corrupted",-4),a(n,"corrupting",-4),a(n,"corruption",-4),a(n,"corrupts",-4),a(n,"corruptted",-4),a(n,"costlier",-3),a(n,"costly",-3),a(n,"counter-productive",-3),a(n,"counterproductive",-3),a(n,"coupists",-1),a(n,"covetous",-2),a(n,"coward",-4),a(n,"cowardly",-5),a(n,"crabby",-2),a(n,"crack",-2),a(n,"cracked",-2),a(n,"cracks",-1),a(n,"craftily",-1),a(n,"craftly",-1),a(n,"crafty",-1),a(n,"cramp",-1),a(n,"cramped",-1),a(n,"cramping",-1),a(n,"cranky",-1),a(n,"crap",-4),a(n,"crappy",-5),a(n,"craps",-3),a(n,"crash",-3),a(n,"crashed",-2),a(n,"crashes",-2),a(n,"crashing",-1),a(n,"crass",-1),a(n,"craven",-1),a(n,"cravenly",-1),a(n,"craze",-1),a(n,"crazily",-1),a(n,"craziness",-1),a(n,"crazy",-2),a(n,"creak",-3),a(n,"creaking",-3),a(n,"creaks",-1),a(n,"credulous",-1),a(n,"creep",-1),a(n,"creeping",-1),a(n,"creeps",-1),a(n,"creepy",-1),a(n,"crept",-1),a(n,"crime",-4),a(n,"criminal",-4),a(n,"cringe",-2),a(n,"cringed",-2),a(n,"cringes",-2),a(n,"cripple",-2),a(n,"crippled",-3),a(n,"cripples",-3),a(n,"crippling",-4),a(n,"crisis",-4),a(n,"critic",-4),a(n,"critical",-1),a(n,"criticism",-1),a(n,"criticisms",-1),a(n,"criticize",-1),a(n,"criticized",-1),a(n,"criticizing",-1),a(n,"critics",-3),a(n,"cronyism",-3),a(n,"crook",-3),a(n,"crooked",-3),a(n,"crooks",-1),a(n,"crowded",-1),a(n,"crowdedness",-1),a(n,"crude",-1),a(n,"cruel",-5),a(n,"crueler",-5),a(n,"cruelest",-5),a(n,"cruelly",-5),a(n,"cruelness",-4),a(n,"cruelties",-4),a(n,"cruelty",-4),a(n,"crumble",-3),a(n,"crumbling",-3),a(n,"crummy",-2),a(n,"crumple",-2),a(n,"crumpled",-2),a(n,"crumples",-1),a(n,"crush",-3),a(n,"crushed",-1),a(n,"crushing",-1),a(n,"cry",-3),a(n,"culpable",-1),a(n,"culprit",-3),a(n,"cumbersome",-1),a(n,"cunt",-5),a(n,"cunts",-5),a(n,"cuplrit",-1),a(n,"curse",-3),a(n,"cursed",-3),a(n,"curses",-4),a(n,"curt",-1),a(n,"cuss",-3),a(n,"cussed",-3),a(n,"cutthroat",-2),a(n,"cynical",-3),a(n,"cynicism",-3),a(n,"d*mn",-3),a(n,"damage",-3),a(n,"damaged",-3),a(n,"damages",-3),a(n,"damaging",-3),a(n,"damn",-4),a(n,"damnable",-5),a(n,"damnably",-5),a(n,"damnation",-5),a(n,"damned",-5),a(n,"damning",-5),a(n,"damper",-2),a(n,"danger",-2),a(n,"dangerous",-2),a(n,"dangerousness",-3),a(n,"dark",-3),a(n,"darken",-2),a(n,"darkened",-2),a(n,"darker",-2),a(n,"darkness",-2),a(n,"dastard",-1),a(n,"dastardly",-1),a(n,"daunt",-1),a(n,"daunting",-2),a(n,"dauntingly",-2),a(n,"dawdle",-1),a(n,"daze",-1),a(n,"dazed",-1),a(n,"dead",-5),a(n,"deadbeat",-5),a(n,"deadlock",-3),a(n,"deadly",-4),a(n,"deadweight",-3),a(n,"deaf",-3),a(n,"dearth",-1),a(n,"death",-4),a(n,"debacle",-1),a(n,"debase",-1),a(n,"debasement",-1),a(n,"debaser",-1),a(n,"debatable",-1),a(n,"debauch",-1),a(n,"debaucher",-1),a(n,"debauchery",-1),a(n,"debilitate",-1),a(n,"debilitating",-1),a(n,"debility",-1),a(n,"debt",-2),a(n,"debts",-2),a(n,"decadence",-1),a(n,"decadent",-1),a(n,"decay",-4),a(n,"decayed",-4),a(n,"deceit",-3),a(n,"deceitful",-3),a(n,"deceitfully",-3),a(n,"deceitfulness",-3),a(n,"deceive",-3),a(n,"deceiver",-3),a(n,"deceivers",-3),a(n,"deceiving",-3),a(n,"deception",-4),a(n,"deceptive",-4),a(n,"deceptively",-5),a(n,"declaim",-3),a(n,"decline",-2),a(n,"declines",-2),a(n,"declining",-2),a(n,"decrement",-2),a(n,"decrepit",-2),a(n,"decrepitude",-1),a(n,"decry",-1),a(n,"defamation",-3),a(n,"defamations",-3),a(n,"defamatory",-3),a(n,"defame",-3),a(n,"defect",-4),a(n,"defective",-4),a(n,"defects",-4),a(n,"defensive",-3),a(n,"defiance",-3),a(n,"defiant",-3),a(n,"defiantly",-3),a(n,"deficiencies",-3),a(n,"deficiency",-3),a(n,"deficient",-3),a(n,"defile",-3),a(n,"defiler",-3),a(n,"deform",-3),a(n,"deformed",-3),a(n,"defrauding",-4),a(n,"defunct",-2),a(n,"defy",-1),a(n,"degenerate",-2),a(n,"degenerately",-2),a(n,"degeneration",-2),a(n,"degradation",-3),a(n,"degrade",-3),a(n,"degrading",-3),a(n,"degradingly",-3),a(n,"dehumanization",-2),a(n,"dehumanize",-2),a(n,"deign",-1),a(n,"deject",-1),a(n,"dejected",-1),a(n,"dejectedly",-1),a(n,"dejection",-1),a(n,"delay",-1),a(n,"delayed",-1),a(n,"delaying",-1),a(n,"delays",-1),a(n,"delinquency",-1),a(n,"delinquent",-1),a(n,"delirious",-1),a(n,"delirium",-1),a(n,"delude",-1),a(n,"deluded",-1),a(n,"deluge",-1),a(n,"delusion",-1),a(n,"delusional",-1),a(n,"delusions",-1),a(n,"demean",-2),a(n,"demeaning",-1),a(n,"demise",-3),a(n,"demolish",-3),a(n,"demolisher",-3),a(n,"demon",-4),a(n,"demonic",-4),a(n,"demonize",-4),a(n,"demonized",-4),a(n,"demonizes",-4),a(n,"demonizing",-4),a(n,"demoralize",-1),a(n,"demoralizing",-1),a(n,"demoralizingly",-1),a(n,"denial",-2),a(n,"denied",-2),a(n,"denies",-1),a(n,"denigrate",-1),a(n,"denounce",-1),a(n,"dense",-1),a(n,"dent",-1),a(n,"dented",-1),a(n,"dents",-1),a(n,"denunciate",-1),a(n,"denunciation",-1),a(n,"denunciations",-1),a(n,"deny",-2),a(n,"denying",-2),a(n,"deplete",-1),a(n,"deplorable",-1),a(n,"deplorably",-1),a(n,"deplore",-1),a(n,"deploring",-1),a(n,"deploringly",-1),a(n,"deprave",-1),a(n,"depraved",-1),a(n,"depravedly",-1),a(n,"deprecate",-1),a(n,"depress",-4),a(n,"depressed",-3),a(n,"depressing",-4),a(n,"depressingly",-3),a(n,"depression",-4),a(n,"depressions",-4),a(n,"deprive",-3),a(n,"deprived",-3),a(n,"deride",-1),a(n,"derision",-1),a(n,"derisive",-1),a(n,"derisively",-1),a(n,"derisiveness",-1),a(n,"derogatory",-3),a(n,"desecrate",-1),a(n,"desert",-2),a(n,"desertion",-1),a(n,"desiccate",-1),a(n,"desiccated",-1),a(n,"desititute",-1),a(n,"desolate",-1),a(n,"desolately",-1),a(n,"desolation",-1),a(n,"despair",-1),a(n,"despairing",-1),a(n,"despairingly",-1),a(n,"desperate",-2),a(n,"desperately",-2),a(n,"desperation",-1),a(n,"despicable",-2),a(n,"despicably",-1),a(n,"despise",-1),a(n,"despised",-1),a(n,"despoil",-1),a(n,"despoiler",-1),a(n,"despondence",-1),a(n,"despondency",-1),a(n,"despondent",-1),a(n,"despondently",-1),a(n,"despot",-1),a(n,"despotic",-1),a(n,"despotism",-1),a(n,"destabilisation",-1),a(n,"destains",-1),a(n,"destitute",-1),a(n,"destitution",-1),a(n,"destroy",-5),a(n,"destroyer",-5),a(n,"destruction",-5),a(n,"destructive",-5),a(n,"desultory",-1),a(n,"deter",-2),a(n,"deteriorate",-5),a(n,"deteriorating",-5),a(n,"deterioration",-5),a(n,"deterrent",-5),a(n,"detest",-3),a(n,"detestable",-3),a(n,"detestably",-3),a(n,"detested",-3),a(n,"detesting",-3),a(n,"detests",-3),a(n,"detract",-3),a(n,"detracted",-2),a(n,"detracting",-2),a(n,"detraction",-2),a(n,"detracts",-2),a(n,"detriment",-2),a(n,"detrimental",-2),a(n,"devastate",-5),a(n,"devastated",-5),a(n,"devastates",-5),a(n,"devastating",-5),a(n,"devastatingly",-5),a(n,"devastation",-5),a(n,"deviate",-2),a(n,"deviation",-2),a(n,"devil",-2),a(n,"devilish",-2),a(n,"devilishly",-2),a(n,"devilment",-2),a(n,"devilry",-2),a(n,"devious",-3),a(n,"deviously",-3),a(n,"deviousness",-3),a(n,"devoid",-2),a(n,"diabolic",-2),a(n,"diabolical",-2),a(n,"diabolically",-2),a(n,"diametrically",-1),a(n,"diappointed",-5),a(n,"diatribe",-1),a(n,"diatribes",-1),a(n,"dick",-5),a(n,"dictator",-4),a(n,"dictatorial",-3),a(n,"die",-5),a(n,"die-hard",-2),a(n,"died",-4),a(n,"dies",-3),a(n,"difficult",-2),a(n,"difficulties",-2),a(n,"difficulty",-2),a(n,"diffidence",-1),a(n,"dilapidated",-1),a(n,"dilemma",-1),a(n,"dilly-dally",-1),a(n,"dim",-1),a(n,"dimmer",-1),a(n,"din",-1),a(n,"ding",-1),a(n,"dings",-1),a(n,"dinky",-1),a(n,"dire",-1),a(n,"direly",-1),a(n,"direness",-1),a(n,"dirt",-2),a(n,"dirtbag",-1),a(n,"dirtbags",-1),a(n,"dirts",-2),a(n,"dirty",-2),a(n,"disable",-1),a(n,"disabled",-1),a(n,"disaccord",-1),a(n,"disadvantage",-1),a(n,"disadvantaged",-1),a(n,"disadvantageous",-1),a(n,"disadvantages",-1),a(n,"disaffect",-1),a(n,"disaffected",-1),a(n,"disaffirm",-1),a(n,"disagree",-2),a(n,"disagreeable",-1),a(n,"disagreeably",-1),a(n,"disagreed",-2),a(n,"disagreeing",-1),a(n,"disagreement",-1),a(n,"disagrees",-1),a(n,"disallow",-4),a(n,"disapointed",-5),a(n,"disapointing",-5),a(n,"disapointment",-5),a(n,"disappoint",-5),a(n,"disappointed",-4),a(n,"disappointing",-4),a(n,"disappointingly",-4),a(n,"disappointment",-4),a(n,"disappointments",-4),a(n,"disappoints",-3),a(n,"disapprobation",-1),a(n,"disapproval",-2),a(n,"disapprove",-2),a(n,"disapproving",-2),a(n,"disarm",-2),a(n,"disarray",-1),a(n,"disaster",-1),a(n,"disasterous",-2),a(n,"disastrous",-2),a(n,"disastrously",-1),a(n,"disavow",-3),a(n,"disavowal",-3),a(n,"disbelief",-2),a(n,"disbelieve",-2),a(n,"disbeliever",-2),a(n,"disclaim",-1),a(n,"discombobulate",-1),a(n,"discomfit",-3),a(n,"discomfititure",-1),a(n,"discomfort",-1),a(n,"discompose",-1),a(n,"disconcert",-1),a(n,"disconcerted",-1),a(n,"disconcerting",-1),a(n,"disconcertingly",-1),a(n,"disconsolate",-1),a(n,"disconsolately",-1),a(n,"disconsolation",-1),a(n,"discontent",-2),a(n,"discontented",-2),a(n,"discontentedly",-2),a(n,"discontinued",-2),a(n,"discontinuity",-1),a(n,"discontinuous",-1),a(n,"discord",-1),a(n,"discordance",-1),a(n,"discordant",-1),a(n,"discountenance",-1),a(n,"discourage",-1),a(n,"discouragement",-1),a(n,"discouraging",-1),a(n,"discouragingly",-1),a(n,"discourteous",-1),a(n,"discourteously",-1),a(n,"discoutinous",-1),a(n,"discredit",-1),a(n,"discrepant",-1),a(n,"discriminate",-2),a(n,"discrimination",-2),a(n,"discriminatory",-2),a(n,"disdain",-1),a(n,"disdained",-1),a(n,"disdainful",-1),a(n,"disdainfully",-1),a(n,"disfavor",-1),a(n,"disgrace",-5),a(n,"disgraced",-5),a(n,"disgraceful",-5),a(n,"disgracefully",-5),a(n,"disgruntle",-3),a(n,"disgruntled",-3),a(n,"disgust",-5),a(n,"disgusted",-5),a(n,"disgustedly",-5),a(n,"disgustful",-5),a(n,"disgustfully",-5),a(n,"disgusting",-5),a(n,"disgustingly",-5),a(n,"dishearten",-4),a(n,"disheartening",-4),a(n,"dishearteningly",-4),a(n,"dishonest",-3),a(n,"dishonestly",-3),a(n,"dishonesty",-3),a(n,"dishonor",-3),a(n,"dishonorable",-3),a(n,"dishonorablely",-3),a(n,"disillusion",-2),a(n,"disillusioned",-2),a(n,"disillusionment",-2),a(n,"disillusions",-2),a(n,"disinclination",-2),a(n,"disinclined",-2),a(n,"disingenuous",-2),a(n,"disingenuously",-2),a(n,"disintegrate",-2),a(n,"disintegrated",-2),a(n,"disintegrates",-2),a(n,"disintegration",-2),a(n,"disinterest",-2),a(n,"disinterested",-2),a(n,"dislike",-3),a(n,"disliked",-3),a(n,"dislikes",-3),a(n,"disliking",-3),a(n,"dislocated",-3),a(n,"disloyal",-3),a(n,"disloyalty",-3),a(n,"dismal",-1),a(n,"dismally",-1),a(n,"dismalness",-1),a(n,"dismay",-3),a(n,"dismayed",-3),a(n,"dismaying",-3),a(n,"dismayingly",-3),a(n,"dismissive",-2),a(n,"dismissively",-2),a(n,"disobedience",-2),a(n,"disobedient",-2),a(n,"disobey",-1),a(n,"disoobedient",-1),a(n,"disorder",-1),a(n,"disordered",-1),a(n,"disorderly",-1),a(n,"disorganized",-1),a(n,"disorient",-1),a(n,"disoriented",-1),a(n,"disown",-1),a(n,"disparage",-1),a(n,"disparaging",-1),a(n,"disparagingly",-1),a(n,"dispensable",-1),a(n,"dispirit",-1),a(n,"dispirited",-1),a(n,"dispiritedly",-1),a(n,"dispiriting",-1),a(n,"displace",-1),a(n,"displaced",-1),a(n,"displease",-1),a(n,"displeased",-1),a(n,"displeasing",-1),a(n,"displeasure",-1),a(n,"disproportionate",-1),a(n,"disprove",-2),a(n,"disputable",-1),a(n,"dispute",-3),a(n,"disputed",-3),a(n,"disquiet",-1),a(n,"disquieting",-1),a(n,"disquietingly",-1),a(n,"disquietude",-1),a(n,"disregard",-3),a(n,"disregardful",-1),a(n,"disreputable",-1),a(n,"disrepute",-2),a(n,"disrespect",-1),a(n,"disrespectable",-1),a(n,"disrespectablity",-1),a(n,"disrespectful",-1),a(n,"disrespectfully",-1),a(n,"disrespectfulness",-1),a(n,"disrespecting",-1),a(n,"disrupt",-4),a(n,"disruption",-4),a(n,"disruptive",-4),a(n,"diss",-1),a(n,"dissapointed",-5),a(n,"dissappointed",-5),a(n,"dissappointing",-5),a(n,"dissatisfaction",-4),a(n,"dissatisfactory",-4),a(n,"dissatisfied",-4),a(n,"dissatisfies",-4),a(n,"dissatisfy",-4),a(n,"dissatisfying",-4),a(n,"dissed",-1),a(n,"dissemble",-1),a(n,"dissembler",-1),a(n,"dissension",-1),a(n,"dissent",-1),a(n,"dissenter",-1),a(n,"dissention",-1),a(n,"disservice",-1),a(n,"disses",-1),a(n,"dissidence",-1),a(n,"dissident",-1),a(n,"dissidents",-1),a(n,"dissing",-1),a(n,"dissocial",-1),a(n,"dissolute",-1),a(n,"dissolution",-1),a(n,"dissonance",-1),a(n,"dissonant",-1),a(n,"dissonantly",-1),a(n,"dissuade",-1),a(n,"dissuasive",-1),a(n,"distains",-1),a(n,"distaste",-1),a(n,"distasteful",-1),a(n,"distastefully",-1),a(n,"distort",-1),a(n,"distorted",-1),a(n,"distortion",-1),a(n,"distorts",-1),a(n,"distract",-1),a(n,"distracting",-1),a(n,"distraction",-1),a(n,"distraught",-1),a(n,"distraughtly",-1),a(n,"distraughtness",-1),a(n,"distress",-2),a(n,"distressed",-2),a(n,"distressing",-2),a(n,"distressingly",-1),a(n,"distrust",-3),a(n,"distrustful",-3),a(n,"distrusting",-3),a(n,"disturb",-3),a(n,"disturbance",-3),a(n,"disturbed",-3),a(n,"disturbing",-3),a(n,"disturbingly",-3),a(n,"disunity",-2),a(n,"disvalue",-2),a(n,"divergent",-2),a(n,"divisive",-2),a(n,"divisively",-2),a(n,"divisiveness",-2),a(n,"dizzing",-2),a(n,"dizzingly",-2),a(n,"dizzy",-2),a(n,"doddering",-2),a(n,"dodgey",-2),a(n,"dogged",-2),a(n,"doggedly",-2),a(n,"dogmatic",-2),a(n,"doldrums",-2),a(n,"domineer",-2),a(n,"domineering",-2),a(n,"donside",-2),a(n,"doom",-4),a(n,"doomed",-4),a(n,"doomsday",-3),a(n,"dope",-1),a(n,"doubt",-2),a(n,"doubtful",-1),a(n,"doubtfully",-1),a(n,"doubts",-2),a(n,"douchbag",-5),a(n,"douchebag",-5),a(n,"douchebags",-5),a(n,"downbeat",-3),a(n,"downcast",-1),a(n,"downer",-1),a(n,"downfall",-1),a(n,"downfallen",-1),a(n,"downgrade",-1),a(n,"downhearted",-1),a(n,"downheartedly",-1),a(n,"downhill",-1),a(n,"downside",-3),a(n,"downsides",-1),a(n,"downturn",-1),a(n,"downturns",-1),a(n,"drab",-1),a(n,"draconian",-1),a(n,"draconic",-1),a(n,"drag",-2),a(n,"dragged",-1),a(n,"dragging",-1),a(n,"dragoon",-1),a(n,"drags",-1),a(n,"drain",-3),a(n,"drained",-3),a(n,"draining",-3),a(n,"drains",-1),a(n,"drastic",-1),a(n,"drastically",-1),a(n,"drawback",-1),a(n,"drawbacks",-1),a(n,"dread",-4),a(n,"dreadful",-4),a(n,"dreadfully",-4),a(n,"dreadfulness",-4),a(n,"dreary",-2),a(n,"dripped",-2),a(n,"dripping",-2),a(n,"drippy",-2),a(n,"drips",-2),a(n,"drones",-2),a(n,"droop",-2),a(n,"droops",-2),a(n,"drop-out",-3),a(n,"drop-outs",-3),a(n,"dropout",-3),a(n,"dropouts",-2),a(n,"drought",-2),a(n,"drowning",-3),a(n,"drunk",-3),a(n,"drunkard",-1),a(n,"drunken",-1),a(n,"dubious",-1),a(n,"dubiously",-1),a(n,"dubitable",-1),a(n,"dud",-1),a(n,"dull",-1),a(n,"dullard",-1),a(n,"dumb",-2),a(n,"dumbfound",-2),a(n,"dump",-2),a(n,"dumped",-3),a(n,"dumping",-3),a(n,"dumps",-3),a(n,"dunce",-1),a(n,"dungeon",-1),a(n,"dungeons",-1),a(n,"dupe",-2),a(n,"dust",-2),a(n,"dusty",-2),a(n,"dwindling",-1),a(n,"dying",-1),a(n,"earsplitting",-1),a(n,"eccentric",-1),a(n,"eccentricity",-1),a(n,"effigy",-1),a(n,"effrontery",-1),a(n,"egocentric",-2),a(n,"egomania",-3),a(n,"egotism",-1),a(n,"egotistical",-1),a(n,"egotistically",-1),a(n,"egregious",-1),a(n,"egregiously",-1),a(n,"election-rigger",-1),a(n,"elimination",-1),a(n,"emaciated",-1),a(n,"emasculate",-1),a(n,"embarrass",-1),a(n,"embarrassing",-1),a(n,"embarrassingly",-1),a(n,"embarrassment",-1),a(n,"embattled",-1),a(n,"embroil",-1),a(n,"embroiled",-1),a(n,"embroilment",-1),a(n,"emergency",-1),a(n,"emphatic",-1),a(n,"emphatically",-1),a(n,"emptiness",-1),a(n,"encroach",-1),a(n,"encroachment",-1),a(n,"endanger",-3),a(n,"enemies",-2),a(n,"enemy",-2),a(n,"enervate",-1),a(n,"enfeeble",-1),a(n,"enflame",-1),a(n,"engulf",-1),a(n,"enjoin",-1),a(n,"enmity",-1),a(n,"enrage",-1),a(n,"enraged",-1),a(n,"enraging",-1),a(n,"enslave",-3),a(n,"entangle",-1),a(n,"entanglement",-1),a(n,"entrap",-1),a(n,"entrapment",-1),a(n,"envious",-1),a(n,"enviously",-1),a(n,"enviousness",-1),a(n,"epidemic",-4),a(n,"equivocal",-1),a(n,"erase",-3),a(n,"erode",-5),a(n,"erodes",-5),a(n,"erosion",-5),a(n,"err",-1),a(n,"errant",-1),a(n,"erratic",-1),a(n,"erratically",-1),a(n,"erroneous",-1),a(n,"erroneously",-1),a(n,"error",-3),a(n,"errors",-3),a(n,"eruptions",-1),a(n,"escapade",-1),a(n,"eschew",-1),a(n,"estranged",-1),a(n,"evade",-1),a(n,"evasion",-1),a(n,"evasive",-1),a(n,"evil",-1),a(n,"evildoer",-1),a(n,"evils",-1),a(n,"eviscerate",-1),a(n,"exacerbate",-1),a(n,"exagerate",-3),a(n,"exagerated",-3),a(n,"exagerates",-3),a(n,"exaggerate",-3),a(n,"exaggeration",-3),a(n,"exasperate",-3),a(n,"exasperated",-3),a(n,"exasperating",-3),a(n,"exasperatingly",-3),a(n,"exasperation",-3),a(n,"excessive",-3),a(n,"excessively",-2),a(n,"exclusion",-2),a(n,"excoriate",-2),a(n,"excruciating",-2),a(n,"excruciatingly",-1),a(n,"excuse",-2),a(n,"excuses",-2),a(n,"execrate",-3),a(n,"exhaust",-3),a(n,"exhausted",-3),a(n,"exhaustion",-3),a(n,"exhausts",-3),a(n,"exhorbitant",-2),a(n,"exhort",-2),a(n,"exile",-2),a(n,"exorbitant",-2),a(n,"exorbitantance",-2),a(n,"exorbitantly",-2),a(n,"expel",-4),a(n,"expensive",-4),a(n,"expire",-4),a(n,"expired",-4),a(n,"explode",-4),a(n,"exploit",-4),a(n,"exploitation",-3),a(n,"explosive",-3),a(n,"expropriate",-3),a(n,"expropriation",-3),a(n,"expulse",-1),a(n,"expunge",-1),a(n,"exterminate",-3),a(n,"extermination",-3),a(n,"extinguish",-1),a(n,"extort",-5),a(n,"extortion",-5),a(n,"extraneous",-1),a(n,"extravagance",-2),a(n,"extravagant",-1),a(n,"extravagantly",-1),a(n,"extremism",-3),a(n,"extremist",-5),a(n,"extremists",-5),a(n,"eyesore",-3),a(n,"f**k",-5),a(n,"fabricate",-3),a(n,"fabrication",-1),a(n,"facetious",-1),a(n,"facetiously",-1),a(n,"fail",-5),a(n,"failed",-4),a(n,"failing",-4),a(n,"fails",-4),a(n,"failure",-4),a(n,"failures",-4),a(n,"faint",-2),a(n,"fainthearted",-2),a(n,"faithless",-2),a(n,"fake",-2),a(n,"fall",-2),a(n,"fallacies",-2),a(n,"fallacious",-1),a(n,"fallaciously",-1),a(n,"fallaciousness",-1),a(n,"fallacy",-3),a(n,"fallen",-3),a(n,"falling",-3),a(n,"fallout",-4),a(n,"falls",-3),a(n,"false",-1),a(n,"falsehood",-5),a(n,"falsely",-4),a(n,"falsify",-4),a(n,"falter",-1),a(n,"faltered",-1),a(n,"famine",-5),a(n,"famished",-1),a(n,"fanatic",-3),a(n,"fanatical",-3),a(n,"fanatically",-4),a(n,"fanaticism",-2),a(n,"fanatics",-2),a(n,"fanciful",-2),a(n,"far-fetched",-1),a(n,"farce",-1),a(n,"farcical",-1),a(n,"farcical-yet-provocative",-1),a(n,"farcically",-1),a(n,"farfetched",-1),a(n,"fascism",-5),a(n,"fascist",-5),a(n,"fastidious",-1),a(n,"fastidiously",-1),a(n,"fastuous",-1),a(n,"fat",-1),a(n,"fat-cat",-1),a(n,"fat-cats",-1),a(n,"fatal",-4),a(n,"fatalistic",-4),a(n,"fatalistically",-4),a(n,"fatally",-4),a(n,"fatcat",-1),a(n,"fatcats",-1),a(n,"fateful",-3),a(n,"fatefully",-3),a(n,"fathomless",-1),a(n,"fatigue",-4),a(n,"fatigued",-4),a(n,"fatique",-4),a(n,"fatty",-4),a(n,"fatuity",-2),a(n,"fatuous",-2),a(n,"fatuously",-2),a(n,"fault",-4),a(n,"faults",-4),a(n,"faulty",-4),a(n,"fawningly",-1),a(n,"faze",-1),a(n,"fear",-5),a(n,"fearful",-5),a(n,"fearfully",-5),a(n,"fears",-5),a(n,"fearsome",-5),a(n,"feckless",-1),a(n,"feeble",-1),a(n,"feeblely",-1),a(n,"feebleminded",-1),a(n,"feign",-1),a(n,"feint",-1),a(n,"fell",-1),a(n,"felon",-1),a(n,"felonious",-1),a(n,"ferociously",-1),a(n,"ferocity",-1),a(n,"fetid",-1),a(n,"fever",-3),a(n,"feverish",-1),a(n,"fevers",-1),a(n,"fiasco",-1),a(n,"fib",-1),a(n,"fibber",-1),a(n,"fickle",-1),a(n,"fiction",-3),a(n,"fictional",-3),a(n,"fictitious",-3),a(n,"fidget",-1),a(n,"fidgety",-1),a(n,"fiend",-1),a(n,"fiendish",-1),a(n,"fierce",-1),a(n,"figurehead",-1),a(n,"filth",-2),a(n,"filthy",-2),a(n,"finagle",-2),a(n,"finicky",-2),a(n,"fissures",-2),a(n,"fist",-1),a(n,"flabbergast",-1),a(n,"flabbergasted",-1),a(n,"flagging",-1),a(n,"flagrant",-1),a(n,"flagrantly",-1),a(n,"flair",-1),a(n,"flairs",-1),a(n,"flak",-1),a(n,"flake",-1),a(n,"flakey",-1),a(n,"flakieness",-1),a(n,"flaking",-1),a(n,"flaky",-1),a(n,"flare",-1),a(n,"flares",-1),a(n,"flareup",-1),a(n,"flareups",-1),a(n,"flat-out",-1),a(n,"flaunt",-1),a(n,"flaw",-5),a(n,"flawed",-5),a(n,"flaws",-5),a(n,"flee",-2),a(n,"fleed",-2),a(n,"fleeing",-2),a(n,"fleer",-2),a(n,"flees",-2),a(n,"fleeting",-3),a(n,"flicering",-3),a(n,"flicker",-3),a(n,"flickering",-3),a(n,"flickers",-2),a(n,"flighty",-2),a(n,"flimflam",-2),a(n,"flimsy",-3),a(n,"flirt",-3),a(n,"flirty",-3),a(n,"floored",-3),a(n,"flounder",-3),a(n,"floundering",-3),a(n,"flout",-3),a(n,"fluster",-2),a(n,"foe",-4),a(n,"fool",-3),a(n,"fooled",-3),a(n,"foolhardy",-3),a(n,"foolish",-3),a(n,"foolishly",-3),a(n,"foolishness",-3),a(n,"forbid",-3),a(n,"forbidden",-2),a(n,"forbidding",-2),a(n,"forceful",-2),a(n,"foreboding",-1),a(n,"forebodingly",-1),a(n,"forfeit",-1),a(n,"forged",-1),a(n,"forgetful",-1),a(n,"forgetfully",-1),a(n,"forgetfulness",-1),a(n,"forlorn",-1),a(n,"forlornly",-1),a(n,"forsake",-2),a(n,"forsaken",-2),a(n,"forswear",-2),a(n,"foul",-5),a(n,"foully",-5),a(n,"foulness",-5),a(n,"fractious",-3),a(n,"fractiously",-3),a(n,"fracture",-3),a(n,"fragile",-3),a(n,"fragmented",-3),a(n,"frail",-3),a(n,"frantic",-3),a(n,"frantically",-3),a(n,"franticly",-3),a(n,"fraud",-3),a(n,"fraudulent",-3),a(n,"fraught",-3),a(n,"frazzle",-2),a(n,"frazzled",-2),a(n,"freak",-2),a(n,"freaking",-3),a(n,"freakish",-3),a(n,"freakishly",-3),a(n,"freaks",-2),a(n,"freeze",-2),a(n,"freezes",-2),a(n,"freezing",-2),a(n,"frenetic",-2),a(n,"frenetically",-3),a(n,"frenzied",-3),a(n,"frenzy",-3),a(n,"fret",-3),a(n,"fretful",-3),a(n,"frets",-3),a(n,"friction",-3),a(n,"frictions",-3),a(n,"fried",-3),a(n,"friggin",-3),a(n,"frigging",-3),a(n,"fright",-3),a(n,"frighten",-2),a(n,"frightening",-2),a(n,"frighteningly",-2),a(n,"frightful",-2),a(n,"frightfully",-2),a(n,"frigid",-3),a(n,"frost",-3),a(n,"frown",-3),a(n,"froze",-3),a(n,"frozen",-2),a(n,"fruitless",-2),a(n,"fruitlessly",-2),a(n,"frustrate",-2),a(n,"frustrated",-5),a(n,"frustrates",-5),a(n,"frustrating",-5),a(n,"frustratingly",-5),a(n,"frustration",-5),a(n,"frustrations",-5),a(n,"fuck",-5),a(n,"fucking",-5),a(n,"fudge",-2),a(n,"fugitive",-2),a(n,"full-blown",-3),a(n,"fulminate",-3),a(n,"fumble",-3),a(n,"fume",-3),a(n,"fumes",-3),a(n,"fundamentalism",-2),a(n,"funky",-2),a(n,"funnily",-2),a(n,"funny",-1),a(n,"furious",-2),a(n,"furiously",-2),a(n,"furor",-2),a(n,"fury",-3),a(n,"fuss",-3),a(n,"fussy",-3),a(n,"fustigate",-3),a(n,"fusty",-3),a(n,"futile",-3),a(n,"futilely",-3),a(n,"futility",-3),a(n,"fuzzy",-3),a(n,"gabble",-2),a(n,"gaff",-2),a(n,"gaffe",-2),a(n,"gainsay",-2),a(n,"gainsayer",-2),a(n,"gall",-2),a(n,"galling",-2),a(n,"gallingly",-2),a(n,"galls",-2),a(n,"gangster",-5),a(n,"gape",-5),a(n,"garbage",-5),a(n,"garish",-1),a(n,"gasp",-1),a(n,"gauche",-1),a(n,"gaudy",-1),a(n,"gawk",-1),a(n,"gawky",-3),a(n,"geezer",-1),a(n,"genocide",-3),a(n,"get-rich",-1),a(n,"ghastly",-1),a(n,"ghetto",-1),a(n,"ghosting",-1),a(n,"gibber",-1),a(n,"gibberish",-1),a(n,"gibe",-1),a(n,"giddy",-1),a(n,"gimmick",-3),a(n,"gimmicked",-3),a(n,"gimmicking",-3),a(n,"gimmicks",-3),a(n,"gimmicky",-3),a(n,"glare",-1),a(n,"glaringly",-1),a(n,"glib",-1),a(n,"glibly",-1),a(n,"glitch",-1),a(n,"glitches",-1),a(n,"gloatingly",-1),a(n,"gloom",-1),a(n,"gloomy",-1),a(n,"glower",-1),a(n,"glum",-1),a(n,"glut",-1),a(n,"gnawing",-1),a(n,"goad",-1),a(n,"goading",-1),a(n,"god-awful",-1),a(n,"goof",-1),a(n,"goofy",-1),a(n,"goon",-1),a(n,"gossip",-1),a(n,"graceless",-1),a(n,"gracelessly",-1),a(n,"graft",-1),a(n,"grainy",-1),a(n,"grapple",-1),a(n,"grate",-1),a(n,"grating",-1),a(n,"gravely",-1),a(n,"greasy",-1),a(n,"greed",-4),a(n,"greedy",-4),a(n,"grief",-5),a(n,"grievance",-5),a(n,"grievances",-5),a(n,"grieve",-5),a(n,"grieving",-5),a(n,"grievous",-5),a(n,"grievously",-5),a(n,"grim",-2),a(n,"grimace",-2),a(n,"grind",-1),a(n,"gripe",-1),a(n,"gripes",-1),a(n,"grisly",-1),a(n,"gritty",-1),a(n,"gross",-2),a(n,"grossly",-2),a(n,"grotesque",-1),a(n,"grouch",-1),a(n,"grouchy",-1),a(n,"groundless",-1),a(n,"grouse",-1),a(n,"growl",-3),a(n,"grudge",-4),a(n,"grudges",-4),a(n,"grudging",-4),a(n,"grudgingly",-4),a(n,"gruesome",-5),a(n,"gruesomely",-5),a(n,"gruff",-1),a(n,"grumble",-1),a(n,"grumpier",-1),a(n,"grumpiest",-1),a(n,"grumpily",-1),a(n,"grumpish",-1),a(n,"grumpy",-1),a(n,"guile",-1),a(n,"guilt",-3),a(n,"guiltily",-3),a(n,"guilty",-3),a(n,"gullible",-3),a(n,"gutless",-1),a(n,"gutter",-1),a(n,"hack",-2),a(n,"hacks",-2),a(n,"haggard",-2),a(n,"haggle",-2),a(n,"hairloss",-1),a(n,"halfhearted",-1),a(n,"halfheartedly",-1),a(n,"hallucinate",-1),a(n,"hallucination",-1),a(n,"hamper",-1),a(n,"hampered",-1),a(n,"handicapped",-1),a(n,"hang",-1),a(n,"hangs",-1),a(n,"haphazard",-1),a(n,"hapless",-1),a(n,"harangue",-1),a(n,"harass",-3),a(n,"harassed",-3),a(n,"harasses",-3),a(n,"harassment",-3),a(n,"harboring",-1),a(n,"harbors",-1),a(n,"hard",-4),a(n,"hard-hit",-3),a(n,"hard-line",-3),a(n,"hard-liner",-3),a(n,"hardball",-3),a(n,"harden",-3),a(n,"hardened",-3),a(n,"hardheaded",-3),a(n,"hardhearted",-3),a(n,"hardliner",-3),a(n,"hardliners",-3),a(n,"hardship",-5),a(n,"hardships",-5),a(n,"harm",-5),a(n,"harmed",-5),a(n,"harmful",-5),a(n,"harms",-5),a(n,"harpy",-1),a(n,"harridan",-1),a(n,"harried",-1),a(n,"harrow",-1),a(n,"harsh",-1),a(n,"harshly",-1),a(n,"hasseling",-1),a(n,"hassle",-3),a(n,"hassled",-3),a(n,"hassles",-3),a(n,"haste",-5),a(n,"hastily",-1),a(n,"hasty",-1),a(n,"hate",-5),a(n,"hated",-5),a(n,"hateful",-5),a(n,"hatefully",-5),a(n,"hatefulness",-5),a(n,"hater",-5),a(n,"haters",-5),a(n,"hates",-5),a(n,"hating",-5),a(n,"hatred",-5),a(n,"haughtily",-1),a(n,"haughty",-1),a(n,"haunt",-3),a(n,"haunting",-3),a(n,"havoc",-1),a(n,"hawkish",-1),a(n,"haywire",-1),a(n,"hazard",-3),a(n,"hazardous",-3),a(n,"haze",-1),a(n,"hazy",-1),a(n,"head-aches",-1),a(n,"headache",-2),a(n,"headaches",-2),a(n,"heartbreaker",-4),a(n,"heartbreaking",-4),a(n,"heartbreakingly",-4),a(n,"heartless",-4),a(n,"heathen",-1),a(n,"heavy-handed",-2),a(n,"heavyhearted",-2),a(n,"heck",-1),a(n,"heckle",-1),a(n,"heckled",-1),a(n,"heckles",-1),a(n,"hectic",-1),a(n,"hedge",-1),a(n,"hedonistic",-1),a(n,"heedless",-1),a(n,"hefty",-1),a(n,"hegemonism",-1),a(n,"hegemonistic",-1),a(n,"hegemony",-1),a(n,"heinous",-1),a(n,"hell",-2),a(n,"hell-bent",-2),a(n,"hellion",-1),a(n,"hells",-1),a(n,"helpless",-3),a(n,"helplessly",-3),a(n,"helplessness",-1),a(n,"heresy",-1),a(n,"heretic",-1),a(n,"heretical",-1),a(n,"hesitant",-1),a(n,"hestitant",-1),a(n,"hideous",-1),a(n,"hideously",-1),a(n,"hideousness",-1),a(n,"high-priced",-1),a(n,"hiliarious",-1),a(n,"hinder",-1),a(n,"hindrance",-1),a(n,"hiss",-1),a(n,"hissed",-1),a(n,"hissing",-1),a(n,"ho-hum",-1),a(n,"hoard",-1),a(n,"hoax",-5),a(n,"hobble",-5),a(n,"hogs",-1),a(n,"hollow",-1),a(n,"hoodium",-1),a(n,"hoodwink",-1),a(n,"hooligan",-1),a(n,"hopeless",-2),a(n,"hopelessly",-2),a(n,"hopelessness",-2),a(n,"horde",-2),a(n,"horrendous",-1),a(n,"horrendously",-1),a(n,"horrible",-1),a(n,"horrid",-1),a(n,"horrific",-1),a(n,"horrified",-1),a(n,"horrifies",-1),a(n,"horrify",-1),a(n,"horrifying",-1),a(n,"horrifys",-1),a(n,"hostage",-1),a(n,"hostile",-1),a(n,"hostilities",-1),a(n,"hostility",-1),a(n,"hotbeds",-1),a(n,"hothead",-1),a(n,"hotheaded",-1),a(n,"hothouse",-1),a(n,"hubris",-1),a(n,"huckster",-1),a(n,"hum",-1),a(n,"humid",-1),a(n,"humiliate",-3),a(n,"humiliating",-3),a(n,"humiliation",-3),a(n,"humming",-1),a(n,"hung",-3),a(n,"hurt",-5),a(n,"hurted",-5),a(n,"hurtful",-5),a(n,"hurting",-5),a(n,"hurts",-4),a(n,"hustler",-1),a(n,"hype",-1),a(n,"hypocricy",-3),a(n,"hypocrisy",-3),a(n,"hypocrite",-3),a(n,"hypocrites",-3),a(n,"hypocritical",-3),a(n,"hypocritically",-3),a(n,"hysteria",-2),a(n,"hysteric",-2),a(n,"hysterical",-2),a(n,"hysterically",-2),a(n,"hysterics",-2),a(n,"idiocies",-1),a(n,"idiocy",-1),a(n,"idiot",-3),a(n,"idiotic",-3),a(n,"idiotically",-3),a(n,"idiots",-3),a(n,"idle",-1),a(n,"ignoble",-1),a(n,"ignominious",-3),a(n,"ignominiously",-3),a(n,"ignominy",-3),a(n,"ignorance",-5),a(n,"ignorant",-5),a(n,"ignore",-5),a(n,"ill-advised",-2),a(n,"ill-conceived",-2),a(n,"ill-defined",-2),a(n,"ill-designed",-2),a(n,"ill-fated",-2),a(n,"ill-favored",-2),a(n,"ill-formed",-2),a(n,"ill-mannered",-2),a(n,"ill-natured",-2),a(n,"ill-sorted",-2),a(n,"ill-tempered",-2),a(n,"ill-treated",-2),a(n,"ill-treatment",-2),a(n,"ill-usage",-2),a(n,"ill-used",-2),a(n,"illegal",-4),a(n,"illegally",-4),a(n,"illegitimate",-1),a(n,"illicit",-1),a(n,"illiterate",-1),a(n,"illness",-1),a(n,"illogic",-1),a(n,"illogical",-1),a(n,"illogically",-1),a(n,"illusion",-1),a(n,"illusions",-1),a(n,"illusory",-1),a(n,"imaginary",-1),a(n,"imbalance",-1),a(n,"imbecile",-1),a(n,"imbroglio",-1),a(n,"immaterial",-1),a(n,"immature",-1),a(n,"imminence",-1),a(n,"imminently",-1),a(n,"immobilized",-1),a(n,"immoderate",-1),a(n,"immoderately",-1),a(n,"immodest",-1),a(n,"immoral",-1),a(n,"immorality",-1),a(n,"immorally",-1),a(n,"immovable",-1),a(n,"impair",-3),a(n,"impaired",-1),a(n,"impasse",-1),a(n,"impatience",-2),a(n,"impatient",-1),a(n,"impatiently",-1),a(n,"impeach",-1),a(n,"impedance",-1),a(n,"impede",-1),a(n,"impediment",-1),a(n,"impending",-1),a(n,"impenitent",-1),a(n,"imperfect",-1),a(n,"imperfection",-1),a(n,"imperfections",-1),a(n,"imperfectly",-3),a(n,"imperialist",-2),a(n,"imperil",-2),a(n,"imperious",-1),a(n,"imperiously",-1),a(n,"impermissible",-1),a(n,"impersonal",-1),a(n,"impertinent",-1),a(n,"impetuous",-1),a(n,"impetuously",-1),a(n,"impiety",-1),a(n,"impinge",-1),a(n,"impious",-1),a(n,"implacable",-1),a(n,"implausible",-1),a(n,"implausibly",-1),a(n,"implicate",-1),a(n,"implication",-1),a(n,"implode",-2),a(n,"impolite",-1),a(n,"impolitely",-1),a(n,"impolitic",-1),a(n,"importunate",-1),a(n,"importune",-1),a(n,"impose",-1),a(n,"imposers",-1),a(n,"imposing",-1),a(n,"imposition",-1),a(n,"impossible",-3),a(n,"impossiblity",-3),a(n,"impossibly",-1),a(n,"impotent",-2),a(n,"impoverish",-1),a(n,"impoverished",-1),a(n,"impractical",-1),a(n,"imprecate",-1),a(n,"imprecise",-2),a(n,"imprecisely",-1),a(n,"imprecision",-1),a(n,"imprison",-1),a(n,"imprisonment",-1),a(n,"improbability",-1),a(n,"improbable",-1),a(n,"improbably",-1),a(n,"improper",-1),a(n,"improperly",-1),a(n,"impropriety",-1),a(n,"imprudence",-1),a(n,"imprudent",-1),a(n,"impudence",-1),a(n,"impudent",-1),a(n,"impudently",-1),a(n,"impugn",-1),a(n,"impulsive",-3),a(n,"impulsively",-3),a(n,"impunity",-1),a(n,"impure",-1),a(n,"impurity",-1),a(n,"inability",-1),a(n,"inaccuracies",-1),a(n,"inaccuracy",-1),a(n,"inaccurate",-1),a(n,"inaccurately",-1),a(n,"inaction",-1),a(n,"inactive",-1),a(n,"inadequacy",-1),a(n,"inadequate",-1),a(n,"inadequately",-1),a(n,"inadverent",-1),a(n,"inadverently",-1),a(n,"inadvisable",-1),a(n,"inadvisably",-1),a(n,"inane",-1),a(n,"inanely",-1),a(n,"inappropriate",-1),a(n,"inappropriately",-1),a(n,"inapt",-1),a(n,"inaptitude",-1),a(n,"inarticulate",-1),a(n,"inattentive",-1),a(n,"inaudible",-1),a(n,"incapable",-1),a(n,"incapably",-1),a(n,"incautious",-1),a(n,"incendiary",-1),a(n,"incense",-2),a(n,"incessant",-1),a(n,"incessantly",-1),a(n,"incite",-1),a(n,"incitement",-1),a(n,"incivility",-1),a(n,"inclement",-1),a(n,"incognizant",-1),a(n,"incoherence",-1),a(n,"incoherent",-1),a(n,"incoherently",-1),a(n,"incommensurate",-1),a(n,"incomparable",-1),a(n,"incomparably",-1),a(n,"incompatability",-2),a(n,"incompatibility",-2),a(n,"incompatible",-2),a(n,"incompetence",-2),a(n,"incompetent",-2),a(n,"incompetently",-2),a(n,"incomplete",-3),a(n,"incompliant",-3),a(n,"incomprehensible",-3),a(n,"incomprehension",-3),a(n,"inconceivable",-3),a(n,"inconceivably",-3),a(n,"incongruous",-3),a(n,"incongruously",-3),a(n,"inconsequent",-3),a(n,"inconsequential",-1),a(n,"inconsequentially",-1),a(n,"inconsequently",-1),a(n,"inconsiderate",-1),a(n,"inconsiderately",-1),a(n,"inconsistence",-4),a(n,"inconsistencies",-1),a(n,"inconsistency",-1),a(n,"inconsistent",-4),a(n,"inconsolable",-1),a(n,"inconsolably",-1),a(n,"inconstant",-1),a(n,"inconvenience",-1),a(n,"inconveniently",-1),a(n,"incorrect",-5),a(n,"incorrectly",-1),a(n,"incorrigible",-1),a(n,"incorrigibly",-1),a(n,"incredulous",-1),a(n,"incredulously",-1),a(n,"inculcate",-1),a(n,"indecency",-5),a(n,"indecent",-5),a(n,"indecently",-5),a(n,"indecision",-2),a(n,"indecisive",-2),a(n,"indecisively",-1),a(n,"indecorum",-1),a(n,"indefensible",-1),a(n,"indelicate",-1),a(n,"indeterminable",-1),a(n,"indeterminably",-1),a(n,"indeterminate",-1),a(n,"indifference",-1),a(n,"indifferent",-1),a(n,"indigent",-1),a(n,"indignant",-1),a(n,"indignantly",-1),a(n,"indignation",-1),a(n,"indignity",-1),a(n,"indiscernible",-1),a(n,"indiscreet",-1),a(n,"indiscreetly",-1),a(n,"indiscretion",-1),a(n,"indiscriminate",-2),a(n,"indiscriminately",-2),a(n,"indiscriminating",-2),a(n,"indistinguishable",-2),a(n,"indoctrinate",-1),a(n,"indoctrination",-1),a(n,"indolent",-1),a(n,"indulge",-1),a(n,"ineffective",-1),a(n,"ineffectively",-1),a(n,"ineffectiveness",-1),a(n,"ineffectual",-1),a(n,"ineffectually",-1),a(n,"ineffectualness",-1),a(n,"inefficacious",-1),a(n,"inefficacy",-1),a(n,"inefficiency",-1),a(n,"inefficient",-1),a(n,"inefficiently",-1),a(n,"inelegance",-1),a(n,"inelegant",-1),a(n,"ineligible",-1),a(n,"ineloquent",-1),a(n,"ineloquently",-1),a(n,"inept",-1),a(n,"ineptitude",-1),a(n,"ineptly",-1),a(n,"inequalities",-1),a(n,"inequality",-1),a(n,"inequitable",-1),a(n,"inequitably",-1),a(n,"inequities",-1),a(n,"inescapable",-1),a(n,"inescapably",-1),a(n,"inessential",-1),a(n,"inevitable",-1),a(n,"inevitably",-1),a(n,"inexcusable",-1),a(n,"inexcusably",-1),a(n,"inexorable",-1),a(n,"inexorably",-1),a(n,"inexperience",-1),a(n,"inexperienced",-1),a(n,"inexpert",-1),a(n,"inexpertly",-1),a(n,"inexpiable",-1),a(n,"inexplainable",-1),a(n,"inextricable",-1),a(n,"inextricably",-1),a(n,"infamous",-1),a(n,"infamously",-1),a(n,"infamy",-1),a(n,"infected",-4),a(n,"infection",-1),a(n,"infections",-1),a(n,"inferior",-1),a(n,"inferiority",-1),a(n,"infernal",-1),a(n,"infest",-1),a(n,"infested",-1),a(n,"infidel",-1),a(n,"infidels",-1),a(n,"infiltrator",-1),a(n,"infiltrators",-1),a(n,"infirm",-1),a(n,"inflame",-1),a(n,"inflammation",-1),a(n,"inflammatory",-1),a(n,"inflammed",-1),a(n,"inflated",-1),a(n,"inflationary",-1),a(n,"inflexible",-1),a(n,"inflict",-1),a(n,"infraction",-1),a(n,"infringe",-1),a(n,"infringement",-1),a(n,"infringements",-1),a(n,"infuriate",-2),a(n,"infuriated",-2),a(n,"infuriating",-2),a(n,"infuriatingly",-2),a(n,"inglorious",-2),a(n,"ingrate",-2),a(n,"ingratitude",-2),a(n,"inhibit",-2),a(n,"inhibition",-2),a(n,"inhospitable",-2),a(n,"inhospitality",-2),a(n,"inhuman",-1),a(n,"inhumane",-3),a(n,"inhumanity",-3),a(n,"inimical",-1),a(n,"inimically",-1),a(n,"iniquitous",-1),a(n,"iniquity",-1),a(n,"injudicious",-1),a(n,"injure",-3),a(n,"injurious",-3),a(n,"injury",-3),a(n,"injustice",-3),a(n,"injustices",-1),a(n,"innuendo",-1),a(n,"inoperable",-1),a(n,"inopportune",-1),a(n,"inordinate",-1),a(n,"inordinately",-1),a(n,"insane",-3),a(n,"insanely",-3),a(n,"insanity",-3),a(n,"insatiable",-1),a(n,"insecure",-1),a(n,"insecurity",-1),a(n,"insensible",-2),a(n,"insensitive",-2),a(n,"insensitively",-3),a(n,"insensitivity",-3),a(n,"insidious",-3),a(n,"insidiously",-2),a(n,"insignificance",-3),a(n,"insignificant",-3),a(n,"insignificantly",-3),a(n,"insincere",-4),a(n,"insincerely",-4),a(n,"insincerity",-4),a(n,"insinuate",-2),a(n,"insinuating",-1),a(n,"insinuation",-1),a(n,"insociable",-1),a(n,"insolence",-1),a(n,"insolent",-1),a(n,"insolently",-1),a(n,"insolvent",-1),a(n,"insouciance",-1),a(n,"instability",-1),a(n,"instable",-2),a(n,"instigate",-2),a(n,"instigator",-2),a(n,"instigators",-2),a(n,"insubordinate",-4),a(n,"insubstantial",-4),a(n,"insubstantially",-4),a(n,"insufferable",-2),a(n,"insufferably",-2),a(n,"insufficiency",-2),a(n,"insufficient",-2),a(n,"insufficiently",-2),a(n,"insular",-1),a(n,"insult",-5),a(n,"insulted",-1),a(n,"insulting",-1),a(n,"insultingly",-1),a(n,"insults",-1),a(n,"insupportable",-1),a(n,"insupportably",-1),a(n,"insurmountable",-1),a(n,"insurmountably",-1),a(n,"insurrection",-1),a(n,"intefere",-1),a(n,"inteferes",-1),a(n,"intense",-1),a(n,"interfere",-1),a(n,"interference",-1),a(n,"interferes",-1),a(n,"intermittent",-1),a(n,"interrupt",-1),a(n,"interruption",-1),a(n,"interruptions",-1),a(n,"intimidate",-1),a(n,"intimidating",-1),a(n,"intimidatingly",-1),a(n,"intimidation",-1),a(n,"intolerable",-1),a(n,"intolerablely",-1),a(n,"intolerance",-1),a(n,"intoxicate",-1),a(n,"intractable",-1),a(n,"intransigence",-1),a(n,"intransigent",-1),a(n,"intrude",-4),a(n,"intrusion",-4),a(n,"intrusive",-1),a(n,"inundate",-1),a(n,"inundated",-1),a(n,"invader",-1),a(n,"invalid",-5),a(n,"invalidate",-1),a(n,"invalidity",-1),a(n,"invasive",-1),a(n,"invective",-1),a(n,"inveigle",-1),a(n,"invidious",-1),a(n,"invidiously",-1),a(n,"invidiousness",-1),a(n,"invisible",-4),a(n,"involuntarily",-1),a(n,"involuntary",-1),a(n,"irascible",-1),a(n,"irate",-1),a(n,"irately",-1),a(n,"ire",-1),a(n,"irk",-1),a(n,"irked",-1),a(n,"irking",-1),a(n,"irks",-1),a(n,"irksome",-1),a(n,"irksomely",-1),a(n,"irksomeness",-1),a(n,"irksomenesses",-1),a(n,"ironic",-3),a(n,"ironical",-3),a(n,"ironically",-3),a(n,"ironies",-3),a(n,"irony",-3),a(n,"irragularity",-1),a(n,"irrational",-1),a(n,"irrationalities",-1),a(n,"irrationality",-1),a(n,"irrationally",-1),a(n,"irrationals",-1),a(n,"irreconcilable",-1),a(n,"irrecoverable",-1),a(n,"irrecoverableness",-1),a(n,"irrecoverablenesses",-1),a(n,"irrecoverably",-1),a(n,"irredeemable",-1),a(n,"irredeemably",-1),a(n,"irreformable",-1),a(n,"irregular",-2),a(n,"irregularity",-2),a(n,"irrelevance",-2),a(n,"irrelevant",-2),a(n,"irreparable",-2),a(n,"irreplacible",-2),a(n,"irrepressible",-2),a(n,"irresolute",-2),a(n,"irresolvable",-2),a(n,"irresponsible",-2),a(n,"irresponsibly",-1),a(n,"irretating",-1),a(n,"irretrievable",-1),a(n,"irreversible",-1),a(n,"irritable",-1),a(n,"irritably",-1),a(n,"irritant",-1),a(n,"irritate",-1),a(n,"irritated",-1),a(n,"irritating",-1),a(n,"irritation",-1),a(n,"irritations",-1),a(n,"isolate",-2),a(n,"isolated",-2),a(n,"isolation",-2),a(n,"issue",-2),a(n,"issues",-1),a(n,"itch",-1),a(n,"itching",-3),a(n,"itchy",-1),a(n,"jabber",-1),a(n,"jaded",-1),a(n,"jagged",-1),a(n,"jam",-1),a(n,"jarring",-1),a(n,"jaundiced",-1),a(n,"jealous",-2),a(n,"jealously",-2),a(n,"jealousness",-2),a(n,"jealousy",-2),a(n,"jeer",-1),a(n,"jeering",-1),a(n,"jeeringly",-1),a(n,"jeers",-1),a(n,"jeopardize",-1),a(n,"jeopardy",-1),a(n,"jerk",-1),a(n,"jerky",-1),a(n,"jitter",-1),a(n,"jitters",-1),a(n,"jittery",-1),a(n,"job-killing",-1),a(n,"jobless",-3),a(n,"joke",-1),a(n,"joker",-1),a(n,"jolt",-3),a(n,"judder",-1),a(n,"juddering",-1),a(n,"judders",-1),a(n,"jumpy",-1),a(n,"junk",-3),a(n,"junky",-1),a(n,"junkyard",-1),a(n,"jutter",-1),a(n,"jutters",-1),a(n,"kaput",-1),a(n,"kill",-5),a(n,"killed",-5),a(n,"killer",-4),a(n,"killing",-4),a(n,"killjoy",-4),a(n,"kills",-4),a(n,"knave",-1),a(n,"knife",-1),a(n,"knock",-2),a(n,"knotted",-1),a(n,"kook",-1),a(n,"kooky",-1),a(n,"lack",-3),a(n,"lackadaisical",-1),a(n,"lacked",-1),a(n,"lackey",-1),a(n,"lackeys",-1),a(n,"lacking",-1),a(n,"lackluster",-1),a(n,"lacks",-1),a(n,"laconic",-1),a(n,"lag",-1),a(n,"lagged",-1),a(n,"lagging",-1),a(n,"laggy",-1),a(n,"lags",-1),a(n,"laid-off",-1),a(n,"lambast",-1),a(n,"lambaste",-1),a(n,"lame",-1),a(n,"lame-duck",-1),a(n,"lament",-1),a(n,"lamentable",-1),a(n,"lamentably",-1),a(n,"languid",-1),a(n,"languish",-1),a(n,"languor",-1),a(n,"languorous",-1),a(n,"languorously",-1),a(n,"lanky",-1),a(n,"lapse",-1),a(n,"lapsed",-1),a(n,"lapses",-1),a(n,"lascivious",-1),a(n,"last-ditch",-1),a(n,"latency",-1),a(n,"laughable",-1),a(n,"laughably",-1),a(n,"laughingstock",-1),a(n,"lawbreaker",-1),a(n,"lawbreaking",-1),a(n,"lawless",-1),a(n,"lawlessness",-1),a(n,"layoff",-1),a(n,"layoff-happy",-1),a(n,"lazy",-3),a(n,"leak",-1),a(n,"leakage",-1),a(n,"leakages",-1),a(n,"leaking",-1),a(n,"leaks",-1),a(n,"leaky",-1),a(n,"lech",-1),a(n,"lecher",-1),a(n,"lecherous",-1),a(n,"lechery",-1),a(n,"leech",-1),a(n,"leer",-1),a(n,"leery",-1),a(n,"left-leaning",-1),a(n,"lemon",-1),a(n,"lengthy",-1),a(n,"less-developed",-1),a(n,"lesser-known",-1),a(n,"letch",-1),a(n,"lethal",-1),a(n,"lethargic",-1),a(n,"lethargy",-1),a(n,"lewd",-1),a(n,"lewdly",-1),a(n,"lewdness",-1),a(n,"liability",-1),a(n,"liable",-2),a(n,"liar",-3),a(n,"liars",-4),a(n,"licentious",-1),a(n,"licentiously",-1),a(n,"licentiousness",-1),a(n,"lie",-3),a(n,"lied",-3),a(n,"lier",-3),a(n,"lies",-3),a(n,"life-threatening",-4),a(n,"lifeless",-4),a(n,"limit",-3),a(n,"limitation",-3),a(n,"limitations",-3),a(n,"limited",-3),a(n,"limits",-3),a(n,"limp",-1),a(n,"listless",-1),a(n,"litigious",-1),a(n,"little-known",-1),a(n,"livid",-1),a(n,"lividly",-1),a(n,"loath",-1),a(n,"loathe",-1),a(n,"loathing",-4),a(n,"loathly",-4),a(n,"loathsome",-1),a(n,"loathsomely",-1),a(n,"lone",-1),a(n,"loneliness",-1),a(n,"lonely",-1),a(n,"loner",-1),a(n,"lonesome",-1),a(n,"long-time",-1),a(n,"long-winded",-1),a(n,"longing",-3),a(n,"longingly",-3),a(n,"loophole",-2),a(n,"loopholes",-2),a(n,"loose",-3),a(n,"loot",-1),a(n,"lorn",-1),a(n,"lose",-5),a(n,"loser",-5),a(n,"losers",-5),a(n,"loses",-5),a(n,"losing",-5),a(n,"loss",-5),a(n,"losses",-5),a(n,"lost",-5),a(n,"loud",-2),a(n,"louder",-2),a(n,"lousy",-2),a(n,"loveless",-2),a(n,"lovelorn",-2),a(n,"low-rated",-2),a(n,"lowly",-2),a(n,"ludicrous",-2),a(n,"ludicrously",-2),a(n,"lugubrious",-2),a(n,"lukewarm",-2),a(n,"lull",-2),a(n,"lumpy",-2),a(n,"lunatic",-2),a(n,"lunaticism",-2),a(n,"lurch",-2),a(n,"lure",-1),a(n,"lurid",-1),a(n,"lurk",-1),a(n,"lurking",-1),a(n,"lying",-1),a(n,"macabre",-1),a(n,"mad",-1),a(n,"madden",-1),a(n,"maddening",-1),a(n,"maddeningly",-1),a(n,"madder",-1),a(n,"madly",-3),a(n,"madman",-3),a(n,"madness",-3),a(n,"maladjusted",-3),a(n,"maladjustment",-3),a(n,"malady",-3),a(n,"malaise",-3),a(n,"malcontent",-3),a(n,"malcontented",-1),a(n,"maledict",-1),a(n,"malevolence",-1),a(n,"malevolent",-1),a(n,"malevolently",-1),a(n,"malice",-1),a(n,"malicious",-1),a(n,"maliciously",-1),a(n,"maliciousness",-1),a(n,"malign",-2),a(n,"malignant",-2),a(n,"malodorous",-2),a(n,"maltreatment",-2),a(n,"mangle",-2),a(n,"mangled",-2),a(n,"mangles",-2),a(n,"mangling",-2),a(n,"mania",-3),a(n,"maniac",-3),a(n,"maniacal",-3),a(n,"manic",-3),a(n,"manipulate",-3),a(n,"manipulation",-3),a(n,"manipulative",-3),a(n,"manipulators",-3),a(n,"mar",-1),a(n,"marginal",-1),a(n,"marginally",-1),a(n,"martyrdom",-1),a(n,"martyrdom-seeking",-1),a(n,"mashed",-1),a(n,"massacre",-1),a(n,"massacres",-1),a(n,"matte",-1),a(n,"mawkish",-1),a(n,"mawkishly",-1),a(n,"mawkishness",-1),a(n,"meager",-1),a(n,"meaningless",-4),a(n,"meanness",-2),a(n,"measly",-2),a(n,"meddle",-2),a(n,"meddlesome",-2),a(n,"mediocre",-2),a(n,"mediocrity",-2),a(n,"melancholy",-2),a(n,"melodramatic",-2),a(n,"melodramatically",-1),a(n,"meltdown",-2),a(n,"menace",-2),a(n,"menacing",-2),a(n,"menacingly",-2),a(n,"mendacious",-2),a(n,"mendacity",-2),a(n,"menial",-2),a(n,"merciless",-2),a(n,"mercilessly",-1),a(n,"mess",-1),a(n,"messed",-1),a(n,"messes",-1),a(n,"messing",-1),a(n,"messy",-1),a(n,"midget",-1),a(n,"miff",-1),a(n,"militancy",-1),a(n,"mindless",-1),a(n,"mindlessly",-1),a(n,"mirage",-1),a(n,"mire",-1),a(n,"misalign",-1),a(n,"misaligned",-1),a(n,"misaligns",-1),a(n,"misapprehend",-1),a(n,"misbecome",-1),a(n,"misbecoming",-1),a(n,"misbegotten",-1),a(n,"misbehave",-1),a(n,"misbehavior",-1),a(n,"miscalculate",-1),a(n,"miscalculation",-1),a(n,"miscellaneous",-1),a(n,"mischief",-1),a(n,"mischievous",-1),a(n,"mischievously",-1),a(n,"misconception",-1),a(n,"misconceptions",-3),a(n,"miscreant",-3),a(n,"miscreants",-3),a(n,"misdirection",-3),a(n,"miser",-3),a(n,"miserable",-3),a(n,"miserableness",-3),a(n,"miserably",-3),a(n,"miseries",-2),a(n,"miserly",-2),a(n,"misery",-2),a(n,"misfit",-1),a(n,"misfortune",-5),a(n,"misgiving",-3),a(n,"misgivings",-3),a(n,"misguidance",-3),a(n,"misguide",-3),a(n,"misguided",-3),a(n,"mishandle",-3),a(n,"mishap",-4),a(n,"misinform",-2),a(n,"misinformed",-2),a(n,"misinterpret",-2),a(n,"misjudge",-2),a(n,"misjudgment",-3),a(n,"mislead",-3),a(n,"misleading",-3),a(n,"misleadingly",-3),a(n,"mislike",-4),a(n,"mismanage",-2),a(n,"mispronounce",-2),a(n,"mispronounced",-2),a(n,"mispronounces",-2),a(n,"misread",-3),a(n,"misreading",-3),a(n,"misrepresent",-2),a(n,"misrepresentation",-2),a(n,"miss",-1),a(n,"missed",-1),a(n,"misses",-1),a(n,"misstatement",-1),a(n,"mist",-1),a(n,"mistake",-3),a(n,"mistaken",-3),a(n,"mistakenly",-3),a(n,"mistakes",-3),a(n,"mistified",-1),a(n,"mistress",-1),a(n,"mistrust",-1),a(n,"mistrustful",-1),a(n,"mistrustfully",-1),a(n,"mists",-1),a(n,"misunderstand",-2),a(n,"misunderstanding",-2),a(n,"misunderstandings",-2),a(n,"misunderstood",-2),a(n,"misuse",-3),a(n,"moan",-1),a(n,"mobster",-1),a(n,"mock",-3),a(n,"mocked",-3),a(n,"mockeries",-1),a(n,"mockery",-1),a(n,"mocking",-1),a(n,"mockingly",-1),a(n,"mocks",-1),a(n,"molest",-5),a(n,"molestation",-5),a(n,"monotonous",-2),a(n,"monotony",-2),a(n,"monster",-5),a(n,"monstrosities",-2),a(n,"monstrosity",-2),a(n,"monstrous",-3),a(n,"monstrously",-3),a(n,"moody",-4),a(n,"moot",-1),a(n,"mope",-1),a(n,"morbid",-3),a(n,"morbidly",-3),a(n,"mordant",-2),a(n,"mordantly",-1),a(n,"moribund",-1),a(n,"moron",-4),a(n,"moronic",-4),a(n,"morons",-4),a(n,"mortification",-1),a(n,"mortified",-1),a(n,"mortify",-3),a(n,"mortifying",-1),a(n,"motionless",-1),a(n,"motley",-1),a(n,"mourn",-4),a(n,"mourner",-3),a(n,"mournful",-3),a(n,"mournfully",-3),a(n,"muddle",-1),a(n,"muddy",-1),a(n,"mudslinger",-1),a(n,"mudslinging",-1),a(n,"mulish",-1),a(n,"multi-polarization",-1),a(n,"mundane",-1),a(n,"murder",-3),a(n,"murderer",-1),a(n,"murderous",-1),a(n,"murderously",-1),a(n,"murky",-1),a(n,"muscle-flexing",-1),a(n,"mushy",-1),a(n,"musty",-1),a(n,"mysterious",-3),a(n,"mysteriously",-3),a(n,"mystery",-3),a(n,"mystify",-3),a(n,"myth",-2),a(n,"nag",-1),a(n,"nagging",-2),a(n,"naive",-5),a(n,"naively",-5),a(n,"narrower",-1),a(n,"nastily",-1),a(n,"nastiness",-1),a(n,"nasty",-3),a(n,"naughty",-4),a(n,"nauseate",-1),a(n,"nauseates",-1),a(n,"nauseating",-1),a(n,"nauseatingly",-1),a(n,"naïve",-3),a(n,"nebulous",-1),a(n,"nebulously",-1),a(n,"needless",-1),a(n,"needlessly",-1),a(n,"needy",-3),a(n,"nefarious",-1),a(n,"nefariously",-1),a(n,"negate",-1),a(n,"negation",-1),a(n,"negative",-5),a(n,"negatives",-4),a(n,"negativity",-4),a(n,"neglect",-4),a(n,"neglected",-3),a(n,"negligence",-3),a(n,"negligent",-3),a(n,"nemesis",-2),a(n,"nepotism",-1),a(n,"nervous",-4),a(n,"nervously",-4),a(n,"nervousness",-4),a(n,"nettle",-1),a(n,"nettlesome",-1),a(n,"neurotic",-1),a(n,"neurotically",-1),a(n,"niggle",-1),a(n,"niggles",-1),a(n,"nightmare",-4),a(n,"nightmarish",-4),a(n,"nightmarishly",-3),a(n,"nitpick",-1),a(n,"nitpicking",-1),a(n,"noise",-3),a(n,"noises",-3),a(n,"noisier",-1),a(n,"noisy",-2),a(n,"non-confidence",-1),a(n,"nonexistent",-1),a(n,"nonresponsive",-1),a(n,"nonsense",-4),a(n,"nosey",-3),a(n,"notoriety",-1),a(n,"notorious",-1),a(n,"notoriously",-1),a(n,"noxious",-1),a(n,"nuisance",-1),a(n,"numb",-3),a(n,"obese",-1),a(n,"object",-1),a(n,"objection",-1),a(n,"objectionable",-1),a(n,"objections",-1),a(n,"oblique",-1),a(n,"obliterate",-1),a(n,"obliterated",-1),a(n,"oblivious",-1),a(n,"obnoxious",-1),a(n,"obnoxiously",-1),a(n,"obscene",-5),a(n,"obscenely",-5),a(n,"obscenity",-5),a(n,"obscure",-1),a(n,"obscured",-1),a(n,"obscures",-1),a(n,"obscurity",-1),a(n,"obsess",-4),a(n,"obsessive",-1),a(n,"obsessively",-1),a(n,"obsessiveness",-1),a(n,"obsolete",-1),a(n,"obstacle",-1),a(n,"obstinate",-1),a(n,"obstinately",-1),a(n,"obstruct",-1),a(n,"obstructed",-1),a(n,"obstructing",-1),a(n,"obstruction",-1),a(n,"obstructs",-1),a(n,"obtrusive",-1),a(n,"obtuse",-1),a(n,"occlude",-1),a(n,"occluded",-1),a(n,"occludes",-1),a(n,"occluding",-1),a(n,"odd",-3),a(n,"odder",-3),a(n,"oddest",-1),a(n,"oddities",-1),a(n,"oddity",-1),a(n,"oddly",-2),a(n,"odor",-1),a(n,"offence",-3),a(n,"offend",-3),a(n,"offender",-3),a(n,"offending",-3),a(n,"offenses",-3),a(n,"offensive",-3),a(n,"offensively",-3),a(n,"offensiveness",-1),a(n,"officious",-1),a(n,"ominous",-1),a(n,"ominously",-1),a(n,"omission",-1),a(n,"omit",-1),a(n,"one-sided",-1),a(n,"onerous",-1),a(n,"onerously",-1),a(n,"onslaught",-1),a(n,"opinionated",-1),a(n,"opponent",-1),a(n,"opportunistic",-1),a(n,"oppose",-1),a(n,"opposition",-1),a(n,"oppositions",-1),a(n,"oppress",-1),a(n,"oppression",-5),a(n,"oppressive",-5),a(n,"oppressively",-5),a(n,"oppressiveness",-5),a(n,"oppressors",-5),a(n,"ordeal",-3),a(n,"orphan",-2),a(n,"ostracize",-1),a(n,"outbreak",-1),a(n,"outburst",-3),a(n,"outbursts",-3),a(n,"outcast",-2),a(n,"outcry",-3),a(n,"outlaw",-4),a(n,"outmoded",-2),a(n,"outrage",-5),a(n,"outraged",-5),a(n,"outrageous",-5),a(n,"outrageously",-5),a(n,"outrageousness",-5),a(n,"outrages",-1),a(n,"outsider",-1),a(n,"over-acted",-1),a(n,"over-awe",-1),a(n,"over-balanced",-1),a(n,"over-hyped",-1),a(n,"over-priced",-1),a(n,"over-valuation",-1),a(n,"overact",-2),a(n,"overacted",-2),a(n,"overawe",-1),a(n,"overbalance",-1),a(n,"overbalanced",-1),a(n,"overbearing",-1),a(n,"overbearingly",-1),a(n,"overblown",-1),a(n,"overdo",-1),a(n,"overdone",-1),a(n,"overdue",-1),a(n,"overemphasize",-1),a(n,"overheat",-1),a(n,"overkill",-1),a(n,"overloaded",-1),a(n,"overlook",-1),a(n,"overpaid",-1),a(n,"overpayed",-1),a(n,"overplay",-1),a(n,"overpower",-1),a(n,"overpriced",-1),a(n,"overrated",-1),a(n,"overreach",-1),a(n,"overrun",-3),a(n,"overshadow",-3),a(n,"oversight",-1),a(n,"oversights",-1),a(n,"oversimplification",-1),a(n,"oversimplified",-1),a(n,"oversimplify",-1),a(n,"oversize",-3),a(n,"overstate",-1),a(n,"overstated",-1),a(n,"overstatement",-1),a(n,"overstatements",-1),a(n,"overstates",-1),a(n,"overtaxed",-1),a(n,"overthrow",-1),a(n,"overthrows",-1),a(n,"overturn",-2),a(n,"overweight",-1),a(n,"overwhelm",-1),a(n,"overwhelmed",-1),a(n,"overwhelming",-1),a(n,"overwhelmingly",-1),a(n,"overwhelms",-1),a(n,"overzealous",-1),a(n,"overzealously",-1),a(n,"overzelous",-1),a(n,"pain",-4),a(n,"painful",-4),a(n,"painfull",-4),a(n,"painfully",-4),a(n,"pains",-4),a(n,"pale",-2),a(n,"pales",-2),a(n,"paltry",-1),a(n,"pan",-1),a(n,"pandemonium",-1),a(n,"pander",-1),a(n,"pandering",-1),a(n,"panders",-1),a(n,"panic",-1),a(n,"panick",-3),a(n,"panicked",-3),a(n,"panicking",-3),a(n,"panicky",-1),a(n,"paradoxical",-1),a(n,"paradoxically",-1),a(n,"paralize",-2),a(n,"paralyzed",-2),a(n,"paranoia",-3),a(n,"paranoid",-3),a(n,"parasite",-3),a(n,"pariah",-1),a(n,"parody",-4),a(n,"partiality",-1),a(n,"partisan",-1),a(n,"partisans",-1),a(n,"passe",-1),a(n,"passive",-1),a(n,"passiveness",-1),a(n,"pathetic",-1),a(n,"pathetically",-1),a(n,"patronize",-1),a(n,"paucity",-1),a(n,"pauper",-1),a(n,"paupers",-1),a(n,"payback",-1),a(n,"peculiar",-1),a(n,"peculiarly",-1),a(n,"pedantic",-1),a(n,"peeled",-1),a(n,"peeve",-1),a(n,"peeved",-1),a(n,"peevish",-1),a(n,"peevishly",-1),a(n,"penalize",-3),a(n,"penalty",-3),a(n,"perfidious",-1),a(n,"perfidity",-1),a(n,"perfunctory",-1),a(n,"peril",-1),a(n,"perilous",-1),a(n,"perilously",-1),a(n,"perish",-1),a(n,"pernicious",-1),a(n,"perplex",-1),a(n,"perplexed",-1),a(n,"perplexing",-1),a(n,"perplexity",-1),a(n,"persecute",-1),a(n,"persecution",-1),a(n,"pertinacious",-1),a(n,"pertinaciously",-1),a(n,"pertinacity",-1),a(n,"perturb",-1),a(n,"perturbed",-1),a(n,"pervasive",-2),a(n,"perverse",-2),a(n,"perversely",-1),a(n,"perversion",-1),a(n,"perversity",-1),a(n,"pervert",-1),a(n,"perverted",-1),a(n,"perverts",-1),a(n,"pessimism",-3),a(n,"pessimistic",-3),a(n,"pessimistically",-3),a(n,"pest",-1),a(n,"pestilent",-1),a(n,"petrified",-1),a(n,"petrify",-1),a(n,"pettifog",-1),a(n,"petty",-1),a(n,"phobia",-2),a(n,"phobic",-1),a(n,"phony",-1),a(n,"picket",-1),a(n,"picketed",-1),a(n,"picketing",-1),a(n,"pickets",-1),a(n,"picky",-1),a(n,"pig",-3),a(n,"pigs",-3),a(n,"pillage",-1),a(n,"pillory",-1),a(n,"pimple",-2),a(n,"pinch",-1),a(n,"pique",-1),a(n,"pitiable",-1),a(n,"pitiful",-1),a(n,"pitifully",-1),a(n,"pitiless",-1),a(n,"pitilessly",-1),a(n,"pittance",-1),a(n,"pity",-3),a(n,"plagiarize",-1),a(n,"plague",-1),a(n,"plasticky",-1),a(n,"plaything",-1),a(n,"plea",-1),a(n,"pleas",-1),a(n,"plebeian",-1),a(n,"plight",-1),a(n,"plot",-1),a(n,"plotters",-1),a(n,"ploy",-1),a(n,"plunder",-1),a(n,"plunderer",-1),a(n,"pointless",-1),a(n,"pointlessly",-1),a(n,"poison",-2),a(n,"poisonous",-2),a(n,"poisonously",-2),a(n,"pokey",-1),a(n,"poky",-1),a(n,"polarisation",-3),a(n,"polemize",-1),a(n,"pollute",-2),a(n,"polluter",-2),a(n,"polluters",-2),a(n,"polution",-2),a(n,"pompous",-1),a(n,"poor",-2),a(n,"poorer",-2),a(n,"poorest",-2),a(n,"poorly",-2),a(n,"posturing",-1),a(n,"pout",-1),a(n,"poverty",-4),a(n,"powerless",-4),a(n,"prate",-1),a(n,"pratfall",-1),a(n,"prattle",-1),a(n,"precarious",-1),a(n,"precariously",-1),a(n,"precipitate",-1),a(n,"precipitous",-1),a(n,"predatory",-1),a(n,"predicament",-1),a(n,"prejudge",-2),a(n,"prejudice",-2),a(n,"prejudices",-2),a(n,"prejudicial",-2),a(n,"premeditated",-1),a(n,"preoccupy",-1),a(n,"preposterous",-1),a(n,"preposterously",-1),a(n,"presumptuous",-1),a(n,"presumptuously",-1),a(n,"pretence",-1),a(n,"pretend",-1),a(n,"pretense",-1),a(n,"pretentious",-1),a(n,"pretentiously",-1),a(n,"prevaricate",-1),a(n,"pricey",-1),a(n,"pricier",-1),a(n,"prick",-1),a(n,"prickle",-1),a(n,"prickles",-1),a(n,"prideful",-1),a(n,"prik",-1),a(n,"primitive",-1),a(n,"prison",-1),a(n,"prisoner",-1),a(n,"problem",-3),a(n,"problematic",-3),a(n,"problems",-3),a(n,"procrastinate",-2),a(n,"procrastinates",-2),a(n,"procrastination",-2),a(n,"profane",-1),a(n,"profanity",-1),a(n,"prohibit",-3),a(n,"prohibitive",-3),a(n,"prohibitively",-3),a(n,"propaganda",-1),a(n,"propagandize",-1),a(n,"proprietary",-1),a(n,"prosecute",-1),a(n,"protest",-3),a(n,"protested",-3),a(n,"protesting",-1),a(n,"protests",-1),a(n,"protracted",-1),a(n,"provocation",-1),a(n,"provocative",-1),a(n,"provoke",-1),a(n,"pry",-1),a(n,"pugnacious",-1),a(n,"pugnaciously",-1),a(n,"pugnacity",-1),a(n,"punch",-1),a(n,"punish",-3),a(n,"punishable",-3),a(n,"punitive",-3),a(n,"punk",-2),a(n,"puny",-2),a(n,"puppet",-1),a(n,"puppets",-1),a(n,"puzzled",-1),a(n,"puzzlement",-1),a(n,"puzzling",-1),a(n,"quack",-1),a(n,"qualm",-1),a(n,"qualms",-1),a(n,"quandary",-1),a(n,"quarrel",-3),a(n,"quarrellous",-1),a(n,"quarrellously",-1),a(n,"quarrels",-1),a(n,"quarrelsome",-1),a(n,"quash",-1),a(n,"queer",-1),a(n,"questionable",-1),a(n,"quibble",-1),a(n,"quibbles",-1),a(n,"quitter",-1),a(n,"rabid",-1),a(n,"racism",-1),a(n,"racist",-5),a(n,"racists",-5),a(n,"racy",-2),a(n,"radical",-4),a(n,"radicalization",-5),a(n,"radically",-5),a(n,"radicals",-5),a(n,"rage",-4),a(n,"ragged",-3),a(n,"raging",-3),a(n,"rail",-1),a(n,"raked",-1),a(n,"rampage",-3),a(n,"rampant",-3),a(n,"ramshackle",-1),a(n,"rancor",-1),a(n,"randomly",-2),a(n,"rankle",-1),a(n,"rant",-1),a(n,"ranted",-1),a(n,"ranting",-1),a(n,"rantingly",-1),a(n,"rants",-1),a(n,"rape",-5),a(n,"raped",-5),a(n,"raping",-5),a(n,"rascal",-4),a(n,"rascals",-4),a(n,"rash",-3),a(n,"rattle",-2),a(n,"rattled",-2),a(n,"rattles",-2),a(n,"ravage",-3),a(n,"raving",-2),a(n,"reactionary",-1),a(n,"rebellious",-3),a(n,"rebuff",-1),a(n,"rebuke",-1),a(n,"recalcitrant",-1),a(n,"recant",-1),a(n,"recession",-1),a(n,"recessionary",-1),a(n,"reckless",-4),a(n,"recklessly",-4),a(n,"recklessness",-4),a(n,"recoil",-1),a(n,"recourses",-1),a(n,"redundancy",-1),a(n,"redundant",-1),a(n,"refusal",-1),a(n,"refuse",-4),a(n,"refused",-2),a(n,"refuses",-2),a(n,"refusing",-2),a(n,"refutation",-1),a(n,"refute",-1),a(n,"refuted",-1),a(n,"refutes",-1),a(n,"refuting",-1),a(n,"regress",-1),a(n,"regression",-1),a(n,"regressive",-1),a(n,"regret",-4),a(n,"regreted",-4),a(n,"regretful",-4),a(n,"regretfully",-4),a(n,"regrets",-4),a(n,"regrettable",-4),a(n,"regrettably",-4),a(n,"regretted",-4),a(n,"reject",-5),a(n,"rejected",-5),a(n,"rejecting",-5),a(n,"rejection",-5),a(n,"rejects",-5),a(n,"relapse",-5),a(n,"relentless",-3),a(n,"relentlessly",-3),a(n,"relentlessness",-3),a(n,"reluctance",-2),a(n,"reluctant",-2),a(n,"reluctantly",-2),a(n,"remorse",-4),a(n,"remorseful",-4),a(n,"remorsefully",-4),a(n,"remorseless",-4),a(n,"remorselessly",-4),a(n,"remorselessness",-4),a(n,"renounce",-1),a(n,"renunciation",-1),a(n,"repel",-1),a(n,"repetitive",-3),a(n,"reprehensible",-1),a(n,"reprehensibly",-1),a(n,"reprehension",-1),a(n,"reprehensive",-1),a(n,"repress",-1),a(n,"repression",-1),a(n,"repressive",-1),a(n,"reprimand",-1),a(n,"reproach",-1),a(n,"reproachful",-1),a(n,"reprove",-1),a(n,"reprovingly",-1),a(n,"repudiate",-1),a(n,"repudiation",-1),a(n,"repugn",-1),a(n,"repugnance",-1),a(n,"repugnant",-1),a(n,"repugnantly",-1),a(n,"repulse",-3),a(n,"repulsed",-2),a(n,"repulsing",-2),a(n,"repulsive",-3),a(n,"repulsively",-1),a(n,"repulsiveness",-1),a(n,"resent",-1),a(n,"resentful",-1),a(n,"resentment",-1),a(n,"resignation",-1),a(n,"resigned",-1),a(n,"resistance",-1),a(n,"restless",-3),a(n,"restlessness",-3),a(n,"restrict",-3),a(n,"restricted",-3),a(n,"restriction",-3),a(n,"restrictive",-3),a(n,"resurgent",-1),a(n,"retaliate",-2),a(n,"retaliatory",-2),a(n,"retard",-3),a(n,"retarded",-3),a(n,"retardedness",-3),a(n,"retards",-3),a(n,"reticent",-2),a(n,"retract",-2),a(n,"retreat",-2),a(n,"retreated",-2),a(n,"revenge",-5),a(n,"revengeful",-5),a(n,"revengefully",-5),a(n,"revert",-4),a(n,"revile",-3),a(n,"reviled",-3),a(n,"revoke",-3),a(n,"revolt",-4),a(n,"revolting",-4),a(n,"revoltingly",-4),a(n,"revulsion",-3),a(n,"revulsive",-3),a(n,"rhapsodize",-1),a(n,"rhetoric",-3),a(n,"rhetorical",-3),a(n,"ricer",-2),a(n,"ridicule",-2),a(n,"ridicules",-2),a(n,"ridiculous",-3),a(n,"ridiculously",-2),a(n,"rife",-1),a(n,"rift",-5),a(n,"rifts",-5),a(n,"rigid",-3),a(n,"rigidity",-2),a(n,"rigidness",-2),a(n,"rile",-1),a(n,"riled",-1),a(n,"rip",-4),a(n,"rip-off",-3),a(n,"ripoff",-3),a(n,"ripped",-3),a(n,"risk",-4),a(n,"risks",-4),a(n,"risky",-4),a(n,"rival",-5),a(n,"rivalry",-5),a(n,"roadblocks",-3),a(n,"rocky",-1),a(n,"rogue",-3),a(n,"rollercoaster",-2),a(n,"rot",-2),a(n,"rotten",-2),a(n,"rough",-2),a(n,"rremediable",-1),a(n,"rubbish",-2),a(n,"rude",-4),a(n,"rue",-1),a(n,"ruffian",-1),a(n,"ruffle",-1),a(n,"ruin",-3),a(n,"ruined",-3),a(n,"ruining",-3),a(n,"ruinous",-3),a(n,"ruins",-3),a(n,"rumbling",-2),a(n,"rumor",-2),a(n,"rumors",-2),a(n,"rumours",-2),a(n,"rumple",-1),a(n,"run-down",-2),a(n,"runaway",-2),a(n,"rupture",-4),a(n,"rust",-3),a(n,"rusts",-3),a(n,"rusty",-3),a(n,"rut",-2),a(n,"ruthless",-2),a(n,"ruthlessly",-1),a(n,"ruthlessness",-1),a(n,"ruts",-1),a(n,"sabotage",-3),a(n,"sack",-1),a(n,"sacrificed",-3),a(n,"sad",-4),a(n,"sadden",-4),a(n,"sadly",-4),a(n,"sadness",-4),a(n,"sag",-1),a(n,"sagged",-1),a(n,"sagging",-1),a(n,"saggy",-1),a(n,"sags",-1),a(n,"salacious",-1),a(n,"sanctimonious",-1),a(n,"sap",-1),a(n,"sarcasm",-2),a(n,"sarcastic",-2),a(n,"sarcastically",-2),a(n,"sardonic",-4),a(n,"sardonically",-4),a(n,"sass",-1),a(n,"satirical",-1),a(n,"satirize",-1),a(n,"savage",-3),a(n,"savaged",-3),a(n,"savagery",-4),a(n,"savages",-4),a(n,"scaly",-1),a(n,"scam",-5),a(n,"scams",-5),a(n,"scandal",-5),a(n,"scandalize",-5),a(n,"scandalized",-5),a(n,"scandalous",-5),a(n,"scandalously",-5),a(n,"scandals",-5),a(n,"scandel",-1),a(n,"scandels",-1),a(n,"scant",-1),a(n,"scapegoat",-1),a(n,"scar",-1),a(n,"scarce",-1),a(n,"scarcely",-4),a(n,"scarcity",-4),a(n,"scare",-5),a(n,"scared",-5),a(n,"scarier",-4),a(n,"scariest",-5),a(n,"scarily",-4),a(n,"scarred",-1),a(n,"scars",-1),a(n,"scary",-4),a(n,"scathing",-1),a(n,"scathingly",-1),a(n,"sceptical",-1),a(n,"scoff",-1),a(n,"scoffingly",-1),a(n,"scold",-2),a(n,"scolded",-1),a(n,"scolding",-1),a(n,"scoldingly",-1),a(n,"scorching",-1),a(n,"scorchingly",-1),a(n,"scorn",-1),a(n,"scornful",-1),a(n,"scornfully",-1),a(n,"scoundrel",-1),a(n,"scourge",-1),a(n,"scowl",-1),a(n,"scramble",-1),a(n,"scrambled",-1),a(n,"scrambles",-1),a(n,"scrambling",-1),a(n,"scrap",-3),a(n,"scratch",-3),a(n,"scratched",-1),a(n,"scratches",-1),a(n,"scratchy",-1),a(n,"scream",-1),a(n,"screech",-1),a(n,"screw-up",-1),a(n,"screwed",-1),a(n,"screwed-up",-1),a(n,"screwy",-1),a(n,"scuff",-1),a(n,"scuffs",-1),a(n,"scum",-2),a(n,"scummy",-1),a(n,"second-class",-1),a(n,"second-tier",-1),a(n,"secretive",-1),a(n,"sedentary",-3),a(n,"seedy",-1),a(n,"seethe",-1),a(n,"seething",-1),a(n,"self-coup",-1),a(n,"self-criticism",-1),a(n,"self-defeating",-1),a(n,"self-destructive",-1),a(n,"self-humiliation",-1),a(n,"self-interest",-1),a(n,"self-interested",-1),a(n,"self-serving",-1),a(n,"selfinterested",-1),a(n,"selfish",-4),a(n,"selfishly",-4),a(n,"selfishness",-4),a(n,"semi-retarded",-1),a(n,"senile",-5),a(n,"sensationalize",-1),a(n,"senseless",-3),a(n,"senselessly",-3),a(n,"seriousness",-1),a(n,"sermonize",-1),a(n,"servitude",-1),a(n,"set-up",-1),a(n,"setback",-3),a(n,"setbacks",-3),a(n,"sever",-2),a(n,"severe",-2),a(n,"severity",-2),a(n,"sh*t",-5),a(n,"shabby",-1),a(n,"shadowy",-1),a(n,"shady",-2),a(n,"shake",-2),a(n,"shaky",-2),a(n,"shallow",-2),a(n,"sham",-3),a(n,"shambles",-3),a(n,"shame",-3),a(n,"shameful",-2),a(n,"shamefully",-1),a(n,"shamefulness",-1),a(n,"shameless",-3),a(n,"shamelessly",-3),a(n,"shamelessness",-3),a(n,"shark",-2),a(n,"sharply",-2),a(n,"shatter",-1),a(n,"shemale",-1),a(n,"shimmer",-1),a(n,"shimmy",-1),a(n,"shipwreck",-2),a(n,"shirk",-2),a(n,"shirker",-1),a(n,"shit",-5),a(n,"shiver",-1),a(n,"shock",-3),a(n,"shocked",-3),a(n,"shocking",-3),a(n,"shockingly",-3),a(n,"shoddy",-1),a(n,"short-lived",-1),a(n,"shortage",-3),a(n,"shortchange",-1),a(n,"shortcoming",-1),a(n,"shortcomings",-1),a(n,"shortness",-2),a(n,"shortsighted",-4),a(n,"shortsightedness",-2),a(n,"showdown",-2),a(n,"shrew",-1),a(n,"shriek",-1),a(n,"shrill",-1),a(n,"shrilly",-1),a(n,"shrivel",-1),a(n,"shroud",-1),a(n,"shrouded",-1),a(n,"shrug",-1),a(n,"shun",-1),a(n,"shunned",-1),a(n,"sick",-3),a(n,"sicken",-3),a(n,"sickening",-3),a(n,"sickeningly",-1),a(n,"sickly",-1),a(n,"sickness",-1),a(n,"sidetrack",-1),a(n,"sidetracked",-1),a(n,"siege",-1),a(n,"sillily",-1),a(n,"silly",-1),a(n,"simplistic",-3),a(n,"simplistically",-1),a(n,"sin",-3),a(n,"sinful",-3),a(n,"sinfully",-3),a(n,"sinister",-3),a(n,"sinisterly",-1),a(n,"sink",-2),a(n,"sinking",-1),a(n,"skeletons",-2),a(n,"skeptic",-3),a(n,"skeptical",-3),a(n,"skeptically",-3),a(n,"skepticism",-3),a(n,"sketchy",-4),a(n,"skimpy",-2),a(n,"skinny",-2),a(n,"skittish",-1),a(n,"skittishly",-1),a(n,"skulk",-1),a(n,"slack",-1),a(n,"slander",-3),a(n,"slanderer",-3),a(n,"slanderous",-3),a(n,"slanderously",-3),a(n,"slanders",-1),a(n,"slap",-2),a(n,"slashing",-1),a(n,"slaughter",-5),a(n,"slaughtered",-5),a(n,"slave",-4),a(n,"slaves",-4),a(n,"sleazy",-3),a(n,"slime",-1),a(n,"slog",-1),a(n,"slogged",-1),a(n,"slogging",-1),a(n,"slogs",-1),a(n,"sloooooooooooooow",-1),a(n,"sloooow",-1),a(n,"slooow",-1),a(n,"sloow",-1),a(n,"sloppily",-1),a(n,"sloppy",-1),a(n,"sloth",-1),a(n,"slothful",-1),a(n,"slow",-1),a(n,"slow-moving",-1),a(n,"slowed",-1),a(n,"slower",-1),a(n,"slowest",-1),a(n,"slowly",-1),a(n,"sloww",-1),a(n,"slowww",-1),a(n,"slowwww",-1),a(n,"slug",-1),a(n,"sluggish",-1),a(n,"slump",-1),a(n,"slumping",-1),a(n,"slumpping",-1),a(n,"slur",-1),a(n,"slut",-5),a(n,"sluts",-5),a(n,"sly",-1),a(n,"smack",-2),a(n,"smallish",-2),a(n,"smash",-2),a(n,"smear",-1),a(n,"smell",-1),a(n,"smelled",-1),a(n,"smelling",-1),a(n,"smells",-1),a(n,"smelly",-1),a(n,"smelt",-1),a(n,"smoke",-2),a(n,"smokescreen",-1),a(n,"smolder",-1),a(n,"smoldering",-1),a(n,"smother",-1),a(n,"smoulder",-1),a(n,"smouldering",-1),a(n,"smudge",-1),a(n,"smudged",-1),a(n,"smudges",-1),a(n,"smudging",-1),a(n,"smug",-1),a(n,"smugly",-1),a(n,"smut",-1),a(n,"smuttier",-1),a(n,"smuttiest",-1),a(n,"smutty",-1),a(n,"snag",-1),a(n,"snagged",-1),a(n,"snagging",-1),a(n,"snags",-1),a(n,"snappish",-1),a(n,"snappishly",-1),a(n,"snare",-1),a(n,"snarky",-1),a(n,"snarl",-1),a(n,"sneak",-2),a(n,"sneakily",-2),a(n,"sneaky",-2),a(n,"sneer",-1),a(n,"sneering",-1),a(n,"sneeringly",-1),a(n,"snob",-1),a(n,"snobbish",-1),a(n,"snobby",-1),a(n,"snobish",-1),a(n,"snobs",-1),a(n,"snub",-1),a(n,"so-cal",-1),a(n,"soapy",-1),a(n,"sob",-1),a(n,"sober",-1),a(n,"sobering",-1),a(n,"solemn",-1),a(n,"solicitude",-1),a(n,"somber",-1),a(n,"sore",-1),a(n,"sorely",-1),a(n,"soreness",-1),a(n,"sorrow",-1),a(n,"sorrowful",-1),a(n,"sorrowfully",-1),a(n,"sorry",-1),a(n,"sour",-2),a(n,"sourly",-1),a(n,"spade",-1),a(n,"spank",-3),a(n,"spendy",-1),a(n,"spew",-1),a(n,"spewed",-1),a(n,"spewing",-1),a(n,"spews",-1),a(n,"spilling",-1),a(n,"spinster",-1),a(n,"spiritless",-3),a(n,"spite",-1),a(n,"spiteful",-1),a(n,"spitefully",-1),a(n,"spitefulness",-1),a(n,"splatter",-1),a(n,"split",-2),a(n,"splitting",-1),a(n,"spoil",-2),a(n,"spoilage",-1),a(n,"spoilages",-1),a(n,"spoiled",-1),a(n,"spoilled",-1),a(n,"spoils",-2),a(n,"spook",-1),a(n,"spookier",-1),a(n,"spookiest",-1),a(n,"spookily",-1),a(n,"spooky",-1),a(n,"spoon-fed",-1),a(n,"spoon-feed",-1),a(n,"spoonfed",-2),a(n,"sporadic",-1),a(n,"spotty",-1),a(n,"spurious",-1),a(n,"spurn",-1),a(n,"sputter",-1),a(n,"squabble",-1),a(n,"squabbling",-1),a(n,"squander",-1),a(n,"squash",-1),a(n,"squeak",-1),a(n,"squeaks",-1),a(n,"squeaky",-1),a(n,"squeal",-1),a(n,"squealing",-1),a(n,"squeals",-1),a(n,"squirm",-1),a(n,"stab",-2),a(n,"stagnant",-1),a(n,"stagnate",-1),a(n,"stagnation",-1),a(n,"staid",-1),a(n,"stain",-1),a(n,"stains",-1),a(n,"stale",-1),a(n,"stalemate",-1),a(n,"stall",-1),a(n,"stalls",-1),a(n,"stammer",-1),a(n,"stampede",-1),a(n,"standstill",-1),a(n,"stark",-2),a(n,"starkly",-2),a(n,"startle",-1),a(n,"startling",-1),a(n,"startlingly",-1),a(n,"starvation",-1),a(n,"starve",-2),a(n,"static",-1),a(n,"steal",-3),a(n,"stealing",-3),a(n,"steals",-3),a(n,"steep",-1),a(n,"steeply",-1),a(n,"stench",-1),a(n,"stereotype",-1),a(n,"stereotypical",-1),a(n,"stereotypically",-1),a(n,"stern",-1),a(n,"stew",-1),a(n,"sticky",-2),a(n,"stiff",-1),a(n,"stiffness",-1),a(n,"stifle",-1),a(n,"stifling",-1),a(n,"stiflingly",-1),a(n,"stigma",-1),a(n,"stigmatize",-1),a(n,"sting",-1),a(n,"stinging",-1),a(n,"stingingly",-1),a(n,"stingy",-1),a(n,"stink",-2),a(n,"stinks",-2),a(n,"stodgy",-2),a(n,"stole",-2),a(n,"stolen",-2),a(n,"stooge",-2),a(n,"stooges",-2),a(n,"stormy",-2),a(n,"straggle",-2),a(n,"straggler",-2),a(n,"strain",-2),a(n,"strained",-1),a(n,"straining",-1),a(n,"strange",-3),a(n,"strangely",-3),a(n,"stranger",-1),a(n,"strangest",-1),a(n,"strangle",-1),a(n,"streaky",-1),a(n,"strenuous",-1),a(n,"stress",-3),a(n,"stresses",-1),a(n,"stressful",-1),a(n,"stressfully",-1),a(n,"stricken",-1),a(n,"strict",-3),a(n,"strictly",-3),a(n,"strident",-1),a(n,"stridently",-1),a(n,"strife",-1),a(n,"strike",-1),a(n,"stringent",-1),a(n,"stringently",-1),a(n,"struck",-3),a(n,"struggle",-1),a(n,"struggled",-1),a(n,"struggles",-1),a(n,"struggling",-1),a(n,"strut",-1),a(n,"stubborn",-4),a(n,"stubbornly",-4),a(n,"stubbornness",-4),a(n,"stuck",-3),a(n,"stuffy",-1),a(n,"stumble",-1),a(n,"stumbled",-1),a(n,"stumbles",-1),a(n,"stump",-1),a(n,"stumped",-1),a(n,"stumps",-1),a(n,"stun",-2),a(n,"stunt",-3),a(n,"stunted",-3),a(n,"stupid",-1),a(n,"stupidest",-1),a(n,"stupidity",-1),a(n,"stupidly",-1),a(n,"stupified",-1),a(n,"stupify",-1),a(n,"stupor",-1),a(n,"stutter",-1),a(n,"stuttered",-1),a(n,"stuttering",-1),a(n,"stutters",-1),a(n,"sty",-1),a(n,"stymied",-1),a(n,"sub-par",-3),a(n,"subdued",-1),a(n,"subjected",-1),a(n,"subjection",-1),a(n,"subjugate",-1),a(n,"subjugation",-1),a(n,"submissive",-3),a(n,"subordinate",-1),a(n,"subpoena",-1),a(n,"subpoenas",-1),a(n,"subservience",-1),a(n,"subservient",-1),a(n,"substandard",-1),a(n,"subtract",-3),a(n,"subversion",-1),a(n,"subversive",-1),a(n,"subversively",-1),a(n,"subvert",-1),a(n,"succumb",-2),a(n,"suck",-4),a(n,"sucked",-3),a(n,"sucker",-3),a(n,"sucks",-3),a(n,"sucky",-2),a(n,"sue",-3),a(n,"sued",-3),a(n,"sueing",-3),a(n,"sues",-1),a(n,"suffer",-1),a(n,"suffered",-1),a(n,"sufferer",-1),a(n,"sufferers",-1),a(n,"suffering",-1),a(n,"suffers",-1),a(n,"suffocate",-1),a(n,"sugar-coat",-1),a(n,"sugar-coated",-1),a(n,"sugarcoated",-1),a(n,"suicidal",-5),a(n,"suicide",-5),a(n,"sulk",-4),a(n,"sullen",-1),a(n,"sully",-1),a(n,"sunder",-1),a(n,"sunk",-3),a(n,"sunken",-3),a(n,"superficial",-1),a(n,"superficiality",-1),a(n,"superficially",-1),a(n,"superfluous",-1),a(n,"superstition",-3),a(n,"superstitious",-3),a(n,"suppress",-1),a(n,"suppression",-1),a(n,"surrender",-1),a(n,"susceptible",-1),a(n,"suspect",-2),a(n,"suspicion",-2),a(n,"suspicions",-2),a(n,"suspicious",-1),a(n,"suspiciously",-1),a(n,"swagger",-1),a(n,"swamped",-1),a(n,"sweaty",-2),a(n,"swelled",-1),a(n,"swelling",-1),a(n,"swindle",-1),a(n,"swipe",-3),a(n,"swollen",-1),a(n,"symptom",-1),a(n,"symptoms",-1),a(n,"syndrome",-1),a(n,"taboo",-1),a(n,"tacky",-1),a(n,"taint",-1),a(n,"tainted",-1),a(n,"tamper",-1),a(n,"tangle",-1),a(n,"tangled",-1),a(n,"tangles",-1),a(n,"tank",-1),a(n,"tanked",-1),a(n,"tanks",-1),a(n,"tantrum",-1),a(n,"tardy",-1),a(n,"tarnish",-2),a(n,"tarnished",-1),a(n,"tarnishes",-1),a(n,"tarnishing",-1),a(n,"tattered",-1),a(n,"taunt",-1),a(n,"taunting",-1),a(n,"tauntingly",-1),a(n,"taunts",-3),a(n,"taut",-1),a(n,"tawdry",-1),a(n,"taxing",-1),a(n,"tease",-1),a(n,"teasingly",-1),a(n,"tedious",-1),a(n,"tediously",-1),a(n,"temerity",-1),a(n,"temper",-3),a(n,"tempest",-2),a(n,"temptation",-1),a(n,"tenderness",-1),a(n,"tense",-1),a(n,"tension",-1),a(n,"tentative",-1),a(n,"tentatively",-1),a(n,"tenuous",-1),a(n,"tenuously",-1),a(n,"tepid",-1),a(n,"terrible",-5),a(n,"terribleness",-5),a(n,"terribly",-4),a(n,"terror",-4),a(n,"terror-genic",-1),a(n,"terrorism",-5),a(n,"terrorize",-5),a(n,"testily",-1),a(n,"testy",-1),a(n,"tetchily",-1),a(n,"tetchy",-1),a(n,"thankless",-2),a(n,"thicker",-1),a(n,"thirst",-1),a(n,"thorny",-4),a(n,"thoughtless",-3),a(n,"thoughtlessly",-3),a(n,"thoughtlessness",-3),a(n,"thrash",-4),a(n,"threat",-4),a(n,"threaten",-4),a(n,"threatening",-4),a(n,"threats",-4),a(n,"threesome",-3),a(n,"throb",-2),a(n,"throbbed",-2),a(n,"throbbing",-2),a(n,"throbs",-2),a(n,"throttle",-1),a(n,"thug",-4),a(n,"thumb-down",-3),a(n,"thumbs-down",-3),a(n,"thwart",-2),a(n,"time-consuming",-1),a(n,"timid",-3),a(n,"timidity",-3),a(n,"timidly",-3),a(n,"timidness",-3),a(n,"tin-y",-1),a(n,"tingled",-1),a(n,"tingling",-1),a(n,"tired",-2),a(n,"tiresome",-2),a(n,"tiring",-1),a(n,"tiringly",-1),a(n,"toil",-1),a(n,"toll",-1),a(n,"top-heavy",-2),a(n,"topple",-1),a(n,"torment",-5),a(n,"tormented",-5),a(n,"torrent",-2),a(n,"tortuous",-1),a(n,"torture",-4),a(n,"tortured",-4),a(n,"tortures",-4),a(n,"torturing",-4),a(n,"torturous",-4),a(n,"torturously",-4),a(n,"totalitarian",-2),a(n,"touchy",-1),a(n,"toughness",-1),a(n,"tout",-1),a(n,"touted",-1),a(n,"touts",-1),a(n,"toxic",-4),a(n,"traduce",-1),a(n,"tragedy",-5),a(n,"tragic",-5),a(n,"tragically",-5),a(n,"traitor",-4),a(n,"traitorous",-1),a(n,"traitorously",-1),a(n,"tramp",-1),a(n,"trample",-1),a(n,"transgress",-2),a(n,"transgression",-2),a(n,"trap",-4),a(n,"traped",-4),a(n,"trapped",-4),a(n,"trash",-1),a(n,"trashed",-1),a(n,"trashy",-1),a(n,"trauma",-2),a(n,"traumatic",-2),a(n,"traumatically",-1),a(n,"traumatize",-1),a(n,"traumatized",-1),a(n,"travesties",-1),a(n,"travesty",-1),a(n,"treacherous",-1),a(n,"treacherously",-1),a(n,"treachery",-1),a(n,"treason",-1),a(n,"treasonous",-1),a(n,"trick",-1),a(n,"tricked",-1),a(n,"trickery",-1),a(n,"tricky",-1),a(n,"trivial",-1),a(n,"trivialize",-1),a(n,"trouble",-2),a(n,"troubled",-2),a(n,"troublemaker",-1),a(n,"troubles",-1),a(n,"troublesome",-1),a(n,"troublesomely",-1),a(n,"troubling",-1),a(n,"troublingly",-1),a(n,"truant",-1),a(n,"tumble",-1),a(n,"tumbled",-1),a(n,"tumbles",-1),a(n,"tumultuous",-1),a(n,"turbulent",-1),a(n,"turmoil",-1),a(n,"twist",-1),a(n,"twisted",-1),a(n,"twists",-1),a(n,"two-faced",-1),a(n,"two-faces",-1),a(n,"tyrannical",-4),a(n,"tyrannically",-4),a(n,"tyranny",-4),a(n,"tyrant",-4),a(n,"ugh",-1),a(n,"uglier",-4),a(n,"ugliest",-5),a(n,"ugliness",-4),a(n,"ugly",-3),a(n,"ulterior",-3),a(n,"ultimatum",-3),a(n,"ultimatums",-3),a(n,"ultra-hardline",-1),a(n,"un-viewable",-1),a(n,"unable",-1),a(n,"unacceptable",-2),a(n,"unacceptablely",-2),a(n,"unacceptably",-2),a(n,"unaccessible",-2),a(n,"unaccustomed",-2),a(n,"unachievable",-2),a(n,"unaffordable",-2),a(n,"unappealing",-4),a(n,"unattractive",-3),a(n,"unauthentic",-3),a(n,"unavailable",-3),a(n,"unavoidably",-3),a(n,"unbearable",-3),a(n,"unbearablely",-3),a(n,"unbelievable",-3),a(n,"unbelievably",-3),a(n,"uncaring",-3),a(n,"uncertain",-1),a(n,"uncivil",-1),a(n,"uncivilized",-1),a(n,"unclean",-2),a(n,"unclear",-2),a(n,"uncollectible",-2),a(n,"uncomfortable",-2),a(n,"uncomfortably",-2),a(n,"uncomfy",-2),a(n,"uncompetitive",-2),a(n,"uncompromising",-1),a(n,"uncompromisingly",-1),a(n,"unconfirmed",-1),a(n,"unconstitutional",-1),a(n,"uncontrolled",-2),a(n,"unconvincing",-2),a(n,"unconvincingly",-2),a(n,"uncooperative",-2),a(n,"uncouth",-1),a(n,"uncreative",-1),a(n,"undecided",-1),a(n,"undefined",-3),a(n,"undependability",-1),a(n,"undependable",-1),a(n,"undercut",-2),a(n,"undercuts",-1),a(n,"undercutting",-1),a(n,"underdog",-1),a(n,"underestimate",-1),a(n,"underlings",-1),a(n,"undermine",-3),a(n,"undermined",-3),a(n,"undermines",-3),a(n,"undermining",-3),a(n,"underpaid",-3),a(n,"underpowered",-2),a(n,"undersized",-2),a(n,"undesirable",-3),a(n,"undetermined",-1),a(n,"undid",-1),a(n,"undignified",-1),a(n,"undissolved",-1),a(n,"undocumented",-1),a(n,"undone",-1),a(n,"undue",-1),a(n,"unease",-1),a(n,"uneasily",-1),a(n,"uneasiness",-1),a(n,"uneasy",-1),a(n,"uneconomical",-2),a(n,"unemployed",-3),a(n,"unequal",-1),a(n,"unethical",-3),a(n,"uneven",-1),a(n,"uneventful",-1),a(n,"unexpected",-1),a(n,"unexpectedly",-1),a(n,"unexplained",-1),a(n,"unfairly",-1),a(n,"unfaithful",-1),a(n,"unfaithfully",-1),a(n,"unfamiliar",-1),a(n,"unfavorable",-1),a(n,"unfeeling",-1),a(n,"unfinished",-1),a(n,"unfit",-2),a(n,"unforeseen",-3),a(n,"unforgiving",-1),a(n,"unfortunate",-5),a(n,"unfortunately",-5),a(n,"unfounded",-1),a(n,"unfriendly",-2),a(n,"unfulfilled",-1),a(n,"unfunded",-1),a(n,"ungovernable",-1),a(n,"ungrateful",-1),a(n,"unhappily",-4),a(n,"unhappiness",-4),a(n,"unhappy",-4),a(n,"unhealthy",-4),a(n,"unhelpful",-3),a(n,"unilateralism",-1),a(n,"unimaginable",-1),a(n,"unimaginably",-1),a(n,"unimportant",-1),a(n,"uninformed",-1),a(n,"uninsured",-1),a(n,"unintelligible",-1),a(n,"unintelligile",-1),a(n,"unipolar",-1),a(n,"unjust",-1),a(n,"unjustifiable",-1),a(n,"unjustifiably",-1),a(n,"unjustified",-1),a(n,"unjustly",-1),a(n,"unkind",-1),a(n,"unkindly",-1),a(n,"unknown",-1),a(n,"unlamentable",-1),a(n,"unlamentably",-1),a(n,"unlawful",-2),a(n,"unlawfully",-2),a(n,"unlawfulness",-2),a(n,"unleash",-1),a(n,"unlicensed",-1),a(n,"unlikely",-1),a(n,"unlucky",-1),a(n,"unmoved",-3),a(n,"unnatural",-2),a(n,"unnaturally",-2),a(n,"unnecessary",-4),a(n,"unneeded",-1),a(n,"unnerve",-1),a(n,"unnerved",-1),a(n,"unnerving",-1),a(n,"unnervingly",-1),a(n,"unnoticed",-2),a(n,"unobserved",-3),a(n,"unorthodox",-3),a(n,"unorthodoxy",-3),a(n,"unpleasant",-1),a(n,"unpleasantries",-2),a(n,"unpopular",-2),a(n,"unpredictable",-1),a(n,"unprepared",-1),a(n,"unproductive",-1),a(n,"unprofitable",-1),a(n,"unprove",-1),a(n,"unproved",-1),a(n,"unproven",-1),a(n,"unproves",-1),a(n,"unproving",-1),a(n,"unqualified",-1),a(n,"unravel",-1),a(n,"unraveled",-1),a(n,"unreachable",-1),a(n,"unreadable",-1),a(n,"unrealistic",-1),a(n,"unreasonable",-1),a(n,"unreasonably",-1),a(n,"unrelenting",-2),a(n,"unrelentingly",-2),a(n,"unreliability",-2),a(n,"unreliable",-2),a(n,"unresolved",-2),a(n,"unresponsive",-3),a(n,"unrest",-3),a(n,"unruly",-1),a(n,"unsafe",-1),a(n,"unsatisfactory",-1),a(n,"unsavory",-1),a(n,"unscrupulous",-1),a(n,"unscrupulously",-1),a(n,"unsecure",-2),a(n,"unseemly",-1),a(n,"unsettle",-3),a(n,"unsettled",-3),a(n,"unsettling",-3),a(n,"unsettlingly",-1),a(n,"unskilled",-4),a(n,"unsophisticated",-1),a(n,"unsound",-1),a(n,"unspeakable",-1),a(n,"unspeakablely",-1),a(n,"unspecified",-1),a(n,"unstable",-1),a(n,"unsteadily",-1),a(n,"unsteadiness",-1),a(n,"unsteady",-1),a(n,"unsuccessful",-1),a(n,"unsuccessfully",-1),a(n,"unsupported",-1),a(n,"unsupportive",-1),a(n,"unsure",-1),a(n,"unsuspecting",-1),a(n,"unsustainable",-1),a(n,"untenable",-1),a(n,"untested",-1),a(n,"unthinkable",-1),a(n,"unthinkably",-1),a(n,"untimely",-1),a(n,"untouched",-1),a(n,"untrue",-1),a(n,"untrustworthy",-1),a(n,"untruthful",-1),a(n,"unusable",-1),a(n,"unusably",-1),a(n,"unuseable",-1),a(n,"unuseably",-1),a(n,"unusual",-1),a(n,"unusually",-1),a(n,"unviewable",-1),a(n,"unwanted",-1),a(n,"unwarranted",-1),a(n,"unwatchable",-1),a(n,"unwelcome",-1),a(n,"unwell",-1),a(n,"unwieldy",-1),a(n,"unwilling",-1),a(n,"unwillingly",-1),a(n,"unwillingness",-1),a(n,"unwise",-1),a(n,"unwisely",-1),a(n,"unworkable",-1),a(n,"unworthy",-1),a(n,"unyielding",-1),a(n,"upbraid",-1),a(n,"upheaval",-1),a(n,"uprising",-1),a(n,"uproar",-3),a(n,"uproarious",-1),a(n,"uproariously",-1),a(n,"uproarous",-1),a(n,"uproarously",-1),a(n,"uproot",-2),a(n,"upset",-1),a(n,"upseting",-1),a(n,"upsets",-1),a(n,"upsetting",-1),a(n,"upsettingly",-1),a(n,"urgent",-1),a(n,"useless",-2),a(n,"usurp",-1),a(n,"usurper",-1),a(n,"utterly",-1),a(n,"vagrant",-1),a(n,"vague",-2),a(n,"vagueness",-1),a(n,"vain",-1),a(n,"vainly",-1),a(n,"vanity",-1),a(n,"vehement",-1),a(n,"vehemently",-1),a(n,"vengeance",-4),a(n,"vengeful",-4),a(n,"vengefully",-4),a(n,"vengefulness",-4),a(n,"venom",-3),a(n,"venomous",-3),a(n,"venomously",-3),a(n,"vent",-3),a(n,"vestiges",-1),a(n,"vex",-1),a(n,"vexation",-1),a(n,"vexing",-1),a(n,"vexingly",-1),a(n,"vibrate",-1),a(n,"vibrated",-1),a(n,"vibrates",-1),a(n,"vibrating",-1),a(n,"vibration",-1),a(n,"vice",-1),a(n,"vicious",-1),a(n,"viciously",-1),a(n,"viciousness",-1),a(n,"victimize",-1),a(n,"vile",-1),a(n,"vileness",-1),a(n,"vilify",-1),a(n,"villainous",-1),a(n,"villainously",-1),a(n,"villains",-1),a(n,"villian",-1),a(n,"villianous",-1),a(n,"villianously",-1),a(n,"villify",-1),a(n,"vindictive",-1),a(n,"vindictively",-1),a(n,"vindictiveness",-1),a(n,"violate",-1),a(n,"violation",-1),a(n,"violator",-1),a(n,"violators",-1),a(n,"violent",-1),a(n,"violently",-1),a(n,"viper",-1),a(n,"virulence",-1),a(n,"virulent",-1),a(n,"virulently",-1),a(n,"virus",-3),a(n,"vociferous",-1),a(n,"vociferously",-1),a(n,"volatile",-1),a(n,"volatility",-1),a(n,"vomit",-1),a(n,"vomited",-1),a(n,"vomiting",-1),a(n,"vomits",-1),a(n,"vulgar",-1),a(n,"vulnerable",-1),a(n,"wack",-1),a(n,"wail",-1),a(n,"wallow",-1),a(n,"wane",-1),a(n,"waning",-1),a(n,"wanton",-1),a(n,"war-like",-3),a(n,"warily",-3),a(n,"wariness",-3),a(n,"warlike",-3),a(n,"warned",-2),a(n,"warning",-2),a(n,"warp",-1),a(n,"warped",-1),a(n,"wary",-1),a(n,"washed-out",-1),a(n,"waste",-1),a(n,"wasted",-1),a(n,"wasteful",-1),a(n,"wastefulness",-1),a(n,"wasting",-1),a(n,"water-down",-1),a(n,"watered-down",-1),a(n,"wayward",-1),a(n,"weak",-4),a(n,"weaken",-4),a(n,"weakening",-3),a(n,"weaker",-3),a(n,"weakness",-3),a(n,"weaknesses",-3),a(n,"weariness",-1),a(n,"wearisome",-1),a(n,"weary",-1),a(n,"wedge",-1),a(n,"weed",-1),a(n,"weep",-1),a(n,"weird",-1),a(n,"weirdly",-1),a(n,"wheedle",-1),a(n,"whimper",-1),a(n,"whine",-3),a(n,"whining",-1),a(n,"whiny",-1),a(n,"whips",-1),a(n,"whore",-1),a(n,"whores",-1),a(n,"wicked",-1),a(n,"wickedly",-1),a(n,"wickedness",-1),a(n,"wild",-1),a(n,"wildly",-1),a(n,"wiles",-1),a(n,"wilt",-1),a(n,"wily",-1),a(n,"wimpy",-1),a(n,"wince",-1),a(n,"wobble",-1),a(n,"wobbled",-1),a(n,"wobbles",-1),a(n,"woe",-1),a(n,"woebegone",-1),a(n,"woeful",-1),a(n,"woefully",-1),a(n,"womanizer",-1),a(n,"womanizing",-1),a(n,"worn",-1),a(n,"worried",-1),a(n,"worriedly",-1),a(n,"worrier",-1),a(n,"worries",-1),a(n,"worrisome",-1),a(n,"worry",-1),a(n,"worrying",-1),a(n,"worryingly",-1),a(n,"worse",-5),a(n,"worsen",-5),a(n,"worsening",-5),a(n,"worst",-5),a(n,"worthless",-3),a(n,"worthlessly",-3),a(n,"worthlessness",-3),a(n,"wound",-3),a(n,"wounds",-3),a(n,"wrangle",-2),a(n,"wrath",-3),a(n,"wreak",-3),a(n,"wreaked",-3),a(n,"wreaks",-3),a(n,"wreck",-3),a(n,"wrest",-2),a(n,"wrestle",-2),a(n,"wretch",-3),a(n,"wretched",-3),a(n,"wretchedly",-2),a(n,"wretchedness",-2),a(n,"wrinkle",-3),a(n,"wrinkled",-3),a(n,"wrinkles",-3),a(n,"wrip",-1),a(n,"wripped",-1),a(n,"wripping",-1),a(n,"writhe",-1),a(n,"wrong",-3),a(n,"wrongful",-3),a(n,"wrongly",-3),a(n,"wrought",-3),a(n,"yawn",-2),a(n,"zap",-2),a(n,"zapped",-2),a(n,"zaps",-1),a(n,"zealot",-3),a(n,"zealous",-3),a(n,"zealously",-3),a(n,"zombie",-4),n)},u=0!==i.analyze(e.getLower("title"),r).score;return this.announce(u,u?1:0)}},{key:"isApplicable",value:function(){return"en"===rankMath.locale}}]),t}();t.default=l},function(e,t,n){var i,r,o,u;i=n(397),r=n(398),o=n(399),(u=function(e){this.options=e}).prototype.registerLanguage=function(e,t){o.addLanguage(e,t)},u.prototype.analyze=function(e,t,n){void 0===e&&(e=""),"function"==typeof t&&(n=t,t={});var u=(t=t||{}).language||"en",a=o.getLabels(u);"object"==typeof t.extras&&(a=Object.assign(a,t.extras));for(var s=r(e),l=0,c=[],d=[],f=[],p=s.length;p--;){var h=s[p];if(a.hasOwnProperty(h)){c.push(h);var g=a[h];(g=o.applyScoringStrategy(u,s,p,g))>0&&d.push(h),0>g&&f.push(h),l+=g}}var y={score:l,comparative:s.length>0?l/s.length:0,tokens:s,words:c,positive:d,negative:f};if("function"!=typeof n)return y;i.nextTick(function(){n(null,y)})},e.exports=u},function(e,t){var n,i,r=e.exports={};function o(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:u}catch(e){i=u}}();var s,l=[],c=!1,d=-1;function f(){c&&s&&(c=!1,s.length?l=s.concat(l):d=-1,l.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=l.length;t;){for(s=l,l=[];++d<t;)s&&s[d].run();d=-1,t=l.length}s=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===u||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;arguments.length>n;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t){e.exports=function(e){return e.toLowerCase().replace(/\n/g," ").replace(/[.,\/#!$%\^&\*;:{}=_`\"~()]/g,"").split(" ")}},function(e,t,n){var i=n(400),r=n(304);Object.assign(r.labels,i);var o={en:r};e.exports={addLanguage:function(e,t){if(!t.labels)throw Error("language.labels must be defined!");Object.assign(t.labels,i),o[e]=t},getLanguage:function(e){if(!e)return o.en;if(!o[e])try{var t=n(404)("./"+e+"/index");this.addLanguage(e,t)}catch(t){throw Error("No language found: "+e)}return o[e]},getLabels:function(e){return this.getLanguage(e).labels},applyScoringStrategy:function(e,t,n,i){return(this.getLanguage(e).scoringStrategy||u).apply(t,n,i)}};var u={apply:function(e,t,n){return n}}},function(e){e.exports={"😂":1,"❤":3,"♥":3,"😍":3,"😭":-1,"😘":3,"😊":3,"👌":2,"💕":3,"👏":2,"😁":2,"☺":3,"♡":3,"👍":2,"😩":-2,"🙏":2,"✌":2,"😏":1,"😉":2,"🙌":2,"🙈":2,"💪":2,"😄":2,"😒":-2,"💃":3,"💖":3,"😃":2,"😔":-1,"🎉":3,"😜":2,"🌸":3,"💜":3,"💙":3,"✨":1,"💗":3,"★":1,"█":-1,"☀":2,"😡":-1,"😎":2,"💋":3,"😋":3,"🙊":2,"😴":-1,"🎶":2,"💞":3,"😌":2,"🔫":-1,"💛":3,"💁":1,"💚":3,"♫":1,"😞":-1,"😆":2,"😝":2,"😪":-1,"😫":-1,"👊":1,"💀":-2,"😀":2,"😚":3,"😻":3,"💘":3,"☕":1,"👋":2,"🎊":3,"🍕":2,"❄":2,"😕":-2,"💔":-1,"😤":-2,"😈":1,"✈":2,"🔝":2,"😰":-1,"⚽":3,"😑":-2,"👑":3,"👉":1,"🍃":1,"🎁":3,"😠":-2,"🐧":2,"☆":2,"🍀":1,"🎈":3,"🎅":1,"😓":-1,"😣":-2,"😐":-2,"✊":2,"😨":-1,"😖":-1,"💤":1,"💓":3,"👎":-1,"💦":2,"✔":1,"😷":-1,"🙋":2,"🎄":2,"💩":-1,"🎵":2,"😛":3,"👯":2,"💎":2,"🌿":1,"🎂":3,"🌟":1,"🔮":1,"👫":1,"🏆":3,"✖":1,"☝":1,"😙":3,"⛄":2,"👅":2,"♪":2,"🍂":2,"💏":1,"🌴":2,"👈":2,"🌹":3,"🙆":2,"👻":1,"💰":1,"🍻":2,"🙅":-2,"🌞":2,"🍁":2,"⭐":2,"▪":1,"🎀":3,"🐷":1,"🙉":1,"🌺":2,"💅":1,"🐶":2,"🌚":2,"👽":1,"🎤":2,"👭":2,"🎧":2,"👆":1,"🍸":2,"🍷":2,"®":1,"🍉":3,"😇":3,"🏃":2,"😿":-2,"│":1,"🍺":2,"▶":1,"😲":-1,"🎸":2,"🍹":3,"💫":2,"📚":1,"😶":-1,"🌷":2,"💝":3,"💨":1,"🏈":2,"💍":2,"☔":1,"👸":3,"🇪":3,"░":-1,"🍩":1,"👾":1,"☁":1,"🌻":2,"↿":3,"🐯":2,"👼":1,"🍔":1,"😸":2,"👶":2,"↾":3,"💐":3,"🌊":2,"🍦":2,"🍓":3,"👇":1,"💆":1,"🍴":2,"😧":-1,"🇸":2,"😮":1,"🚫":-3,"😽":2,"🌈":2,"🙀":1,"⚠":-1,"🎮":2,"╯":-1,"🍆":2,"🍰":2,"✓":1,"👐":-1,"🍟":1,"🍌":2,"💑":3,"👬":-1,"🐣":2,"🎃":3,"▬":2,"":-3,"🐾":3,"🎓":2,"🏊":2,"📷":2,"👄":2,"🌼":4,"🚶":-1,"🐱":2,"🐸":-1,"🇺":2,"👿":-3,"🚬":2,"✿":1,"🐒":2,"🌍":3,"┊":5,"🐥":3,"🐼":1,"🎥":1,"💄":2,"⛔":2,"🏀":1,"💉":1,"💟":3,"🚗":1,"📝":1,"♦":2,"💭":1,"🌙":3,"🐟":3,"👣":1,"✂":-3,"🗿":2,"👪":-1,"🍭":1,"🌃":2,"❌":1,"🐰":3,"💊":2,"🚨":3,"😦":-2,"🍪":1,"🍣":-2,"✧":1,"🎆":3,"🎎":4,"🇩":3,"✅":2,"📱":1,"🙍":-2,"🍑":1,"🎼":1,"🔊":2,"🌌":2,"🍎":1,"🐻":2,"╰":-1,"💇":1,"♬":1,"🔴":2,"🍱":-2,"🍊":2,"🍒":1,"🐭":3,"👟":2,"🌎":1,"🍍":2,"🐮":3,"📲":1,"☼":1,"🌅":1,"🇷":3,"👠":1,"🌽":2,"💧":-1,"🍬":1,"😺":2,"🚀":2,"¦":3,"💢":1,"🎬":1,"🍧":1,"🍜":2,"🐏":3,"🏄":2,"➤":1,"⬆":1,"🍋":1,"🆗":2,"⚪":2,"📺":2,"🍅":1,"⛅":2,"🐢":1,"👙":2,"🏡":2,"🌾":2,"◉":1,"✏":1,"🐬":2,"🇹":3,"♣":1,"🐝":1,"🌝":1,"🇮":3,"🔋":-3,"🐍":1,"♔":2,"🔵":1,"😾":-2,"🌕":3,"🐨":2,"🔐":1,"💿":3,"🌳":2,"👰":2,"❀":2,"⚓":3,"🚴":3,"▀":-1,"👗":1,"➕":2,"💬":2,"▒":-1,"🔜":1,"🍨":1,"💲":1,"🍙":1,"🍥":-4,"▸":1,"♛":1,"😼":1,"🐙":2,"👨":2,"🍚":2,"♨":4,"🎹":1,"♕":2,"▃":5,"🇬":1,"🇧":1,"☠":-1,"🐠":2,"🚹":3,"💵":2,"✰":4,"╠":1,"👛":2,"🌱":3,"💻":1,"🌏":1,"▄":-1,"👓":1,"◄":1,"⚾":-1,"🌲":2,"👴":1,"🏠":2,"🍇":1,"🍘":2,"🐇":1,"🔞":-1,"👵":2,"◀":1,"🔙":1,"🌵":1,"🍮":-1,"🎇":3,"🐎":2,"➔":-1,"🐤":2,"╩":1,"🌑":2,"🚲":2,"🐑":-1,"🏁":2,"🎾":3,"╚":1,"🈹":1,"👮":-2,"☹":-3,"🐵":2,"✪":1,"◕":2,"🗼":3,"▐":-1,"♠":1,"┳":-2,"👺":-2,"🐚":1,"👂":-1,"🗽":1,"🍵":2,"🆒":2,"🐺":1,"⇨":2,"🌓":3,"🔒":1,"╬":-1,"👳":3,"🌂":1,"🚌":1,"♩":3,"🍡":-1,"❥":1,"🎡":1,"💌":2,"🐩":2,"🌜":2,"⌚":1,"🚿":3,"🔆":3,"🌛":3,"💂":-1,"🐔":1,"🙎":-1,"🏩":2,"🇫":2,"🔨":-1,"📢":2,"🐦":2,"🐲":-1,"♻":2,"🌘":3,"🌔":3,"👖":2,"😗":3,"🐄":1,"◟":-1,"🍢":-1,"🎨":1,"⬇":2,"🚼":3,"🇴":2,"🌗":3,"🌖":3,"🔅":5,"👜":1,"🐌":3,"💼":3,"🐹":1,"🌠":3,"🐈":1,"🌁":1,"⚫":1,"♧":2,"🏰":1,"🚵":2,"🎢":2,"🎷":3,"🎐":1,"┈":-4,"╗":2,"🌇":3,"⏰":2,"🚂":1,"◠":2,"🎿":2,"🆔":4,"🌒":3,"🐪":3,"╔":1,"╝":2,"👔":2,"🆓":1,"🐋":1,"▽":2,"🐛":1,"👕":2,"💳":2,"🏧":5,"💡":3,"⬅":2,"🐫":2,"🇱":2,"📹":2,"👞":2,"👚":3,"□":-2,"🚣":3,"🏉":3,"🗻":3,"╦":2,"⛺":3,"🐕":1,"🏂":2,"👡":2,"📻":2,"✒":1,"🌰":3,"🏢":1,"🎒":3,"⌒":3,"🏫":-2,"📴":4,"🚢":1,"🚚":-1,"🐉":1,"❒":1,"🔔":5,"◢":4,"🏥":1,"🚖":-1,"▌":-2,"☛":2,"💒":3,"🚤":2,"🐐":2,"■":-2,"🔚":2,"🎻":2,"🔷":1,"🎽":2,"📅":1,"🎺":3,"🍈":-3,"✉":1,"◤":5,"○":3,"🍼":3,"🚛":-2,"📓":1,"☉":1,"💴":-2,"➰":-1,"🔌":-1,"📕":1,"📣":2,"🚓":1,"🐗":3,"⛳":4,"┻":-3,"┛":3,"┃":2,"💺":1,"🏇":-1,"☻":1,"📞":2,"Ⓐ":-1,"🌉":3,"🚩":-2,"✎":3,"📃":2,"🏨":1,"📌":-3,"♎":-1,"💷":2,"🚄":3,"▲":3,"⛵":3,"🔸":1,"🚜":5,"🐆":2,"👒":1,"❕":1,"🔛":2,"♢":2,"🇲":2,"❅":4,"👝":2,"✞":2,"◡":1,"🎋":3,"👥":1,"🐡":1,"◆":4,"🔭":2,"🎪":1,"🐜":3,"♌":4,"☐":-5,"👷":1,"🔈":1,"📄":5,"🚐":4,"🌋":3,"📡":1,"🚳":5,"✘":4,"🅰":1,"🇼":2,"┓":3,"┣":3,"Ⓛ":2,"Ⓔ":2,"👤":4,"🚁":1,"🎠":3,"🐁":-2,"📗":1,"┐":-1,"♂":1,"📯":-1,"🔩":1,"👢":4,"◂":2,"📰":1,"📶":2,"🌄":1,"🗾":2,"🔶":2,"🏤":2,"🎩":2,"Ⓜ":1,"🔧":-4,"🐅":1,"♮":1,"🅾":-1,"📦":1,"🚊":1,"🔲":3,"△":1,"📆":5,"❛":2,"📉":2,"▵":2,"🔎":3,"☜":1,"🇯":2,"🇵":2,"📘":1,"ⓔ":3,"🔑":1,"⭕":2,"🔘":1,"🚭":5,"🚉":3,"🚪":3,"➳":2,"🚃":3,"┯":-3,"🆙":2,"🆖":1,"┗":5,"Ⓞ":2,"❇":3,"✴":3,"☊":5,"🔕":-2,"⬛":-2,"🚞":3,"🍶":3,"🌐":3,"♀":1,"🚅":3,"🚒":-2,"♋":1,"♍":3,"🕝":-2,"ⓐ":5,"📙":1,"Ⓢ":1,"📋":3,"🎱":1,"🐞":1,"🔺":1,"ⓡ":5,"♤":3,"🎯":3,"🔉":3,"↩":5,"🚾":1,"🎣":-4,"🔣":1,"❎":-5,"➥":1,"🎌":5,"◣":1,"⏬":5,"♭":1,"ⓞ":5,"🔳":2,"🏭":2,"🎳":-3,"☚":5,"➽":2,"➫":2,"➖":-5,"꒰":2,"꒱":2,"◝":-3,"📑":5,"ⓧ":5,"🔟":5,"〓":5,"ⓜ":2,"➠":5,"🚆":2,"℅":-5,"☃":2,"🚽":5,"ⓝ":5,"⇦":5,"👲":2,"🚡":-3,"🔬":5,"➗":-3,"📈":2,"⏪":2,"◎":5,"꒦":-5,"📎":5,"⑅":5,"✭":5,"♓":2,"┏":5,"☇":5,"࿎":-5,"👘":5,"↙":5,"Ⓕ":2,"Ⓦ":2,"Ⓟ":2,"🕑":2,"🕛":5,"♈":-5,"↬":5,"✍":5,"🏦":5,"🔻":5,"ⓟ":5,"ⓕ":5,"ⓘ":5,"♿":5,"⇗":5,"⇘":5,"ⓨ":5,"ⓙ":5,"▫":5,"🔇":5,"⌃":-5,"🔖":5,"📜":5,"🚝":5,"┘":-5,"✝":-5,"⍣":-5,"📮":-5,"🕕":-5,"🔯":5,"➸":5,"꒵":5,"🕥":-5,"✽":5,"📼":5,"🕐":-5,"🀄":5,"✬":5,"✫":5,"🕔":-5,"❣":5,"📫":5,"🉐":5,"🈂":-5,"🎰":-5,"҂":-5,"╤":-5,"📔":5}},function(e){e.exports={abandon:-2,abandoned:-2,abandons:-2,abducted:-2,abduction:-2,abductions:-2,abhor:-3,abhorred:-3,abhorrent:-3,abhors:-3,abilities:2,ability:2,aboard:1,aborted:-1,aborts:-1,absentee:-1,absentees:-1,absolve:2,absolved:2,absolves:2,absolving:2,absorbed:1,abuse:-3,abused:-3,abuses:-3,abusing:-3,abusive:-3,accept:1,acceptable:1,acceptance:1,accepted:1,accepting:1,accepts:1,accessible:1,accident:-2,accidental:-2,accidentally:-2,accidents:-2,acclaim:2,acclaimed:2,accolade:2,accomplish:2,accomplished:2,accomplishes:2,accomplishment:2,accomplishments:2,accusation:-2,accusations:-2,accuse:-2,accused:-2,accuses:-2,accusing:-2,ache:-2,achievable:1,aching:-2,acquit:2,acquits:2,acquitted:2,acquitting:2,acrimonious:-3,active:1,adequate:1,admire:3,admired:3,admires:3,admiring:3,admit:-1,admits:-1,admitted:-1,admonish:-2,admonished:-2,adopt:1,adopts:1,adorable:3,adoration:3,adore:3,adored:3,adores:3,adoring:3,adoringly:3,advanced:1,advantage:2,advantageous:2,advantageously:2,advantages:2,adventure:2,adventures:2,adventurous:2,adversary:-1,advisable:1,affected:-1,affection:3,affectionate:3,affectionateness:3,afflicted:-1,affordable:2,affronted:-1,aficionados:2,afraid:-2,aggravate:-2,aggravated:-2,aggravates:-2,aggravating:-2,aggression:-2,aggressions:-2,aggressive:-2,aggressiveness:-2,aghast:-2,agog:2,agonise:-3,agonised:-3,agonises:-3,agonising:-3,agonize:-3,agonized:-3,agonizes:-3,agonizing:-3,agree:1,agreeable:2,agreed:1,agreement:1,agrees:1,alarm:-2,alarmed:-2,alarmist:-2,alarmists:-2,alas:-1,alert:-1,alienation:-2,alive:1,allegation:-2,allegations:-2,allergic:-2,allow:1,ally:2,alone:-2,altruistic:2,amaze:2,amazed:2,amazes:2,amazing:4,ambitious:2,ambivalent:-1,amicable:2,amuse:3,amused:3,amusement:3,amusements:3,anger:-3,angered:-3,angers:-3,angry:-3,anguish:-3,anguished:-3,animosity:-2,annoy:-2,annoyance:-2,annoyed:-2,annoying:-2,annoys:-2,antagonistic:-2,anti:-1,anticipation:1,anxiety:-2,anxious:-2,apathetic:-3,apathy:-3,apeshit:-3,apocalyptic:-2,apologise:-1,apologised:-1,apologises:-1,apologising:-1,apologize:-1,apologized:-1,apologizes:-1,apologizing:-1,apology:-1,appalled:-2,appalling:-2,appealing:2,appease:2,appeased:2,appeases:2,appeasing:2,applaud:2,applauded:2,applauding:2,applauds:2,applause:2,appreciate:2,appreciated:2,appreciates:2,appreciating:2,appreciation:2,apprehensive:-2,appropriate:2,appropriately:2,approval:2,approved:2,approves:2,ardent:1,arrest:-2,arrested:-3,arrests:-2,arrogant:-2,arsehole:-4,ashame:-2,ashamed:-2,ass:-4,assassination:-3,assassinations:-3,assault:-2,assaults:-2,asset:2,assets:2,assfucking:-4,asshole:-4,astonished:2,astound:3,astounded:3,astounding:3,astoundingly:3,astounds:3,atrocious:-3,atrocity:-3,attack:-1,attacked:-1,attacking:-1,attacks:-1,attract:1,attracted:1,attracting:2,attraction:2,attractions:2,attractive:2,attractively:2,attractiveness:2,attracts:1,audacious:3,aura:1,authority:1,avenge:-2,avenged:-2,avenger:-2,avengers:-2,avenges:-2,avenging:-2,avert:-1,averted:-1,averts:-1,avid:2,avoid:-1,avoided:-1,avoids:-1,await:-1,awaited:-1,awaits:-1,award:3,awarded:3,awards:3,awesome:4,awful:-3,awkward:-2,axe:-1,axed:-1,backed:1,backing:2,backs:1,bad:-3,"bad luck":-2,badass:-3,badly:-3,badness:-3,bailout:-2,balanced:1,bamboozle:-2,bamboozled:-2,bamboozles:-2,ban:-2,banish:-1,bankrupt:-3,bankruptcy:-3,bankster:-3,banned:-2,barbarian:-2,barbaric:-2,barbarous:-2,bargain:2,barrier:-2,bastard:-5,bastards:-5,battle:-1,battled:-1,battles:-1,battling:-2,beaten:-2,beatific:3,beating:-1,beauties:3,beautiful:3,beautifully:3,beautify:3,beauty:3,befit:2,befitting:2,belittle:-2,belittled:-2,beloved:3,benefactor:2,benefactors:2,benefit:2,benefits:2,benefitted:2,benefitting:2,benevolent:3,bereave:-2,bereaved:-2,bereaves:-2,bereaving:-2,best:3,"best damn":4,betray:-3,betrayal:-3,betrayed:-3,betraying:-3,betrays:-3,better:2,bias:-1,biased:-2,big:1,bitch:-5,bitches:-5,bitter:-2,bitterest:-2,bitterly:-2,bizarre:-2,blackmail:-3,blackmailed:-3,blackmailing:-3,blackmails:-3,blah:-2,blame:-2,blamed:-2,blames:-2,blaming:-2,bless:2,blesses:2,blessing:3,blessings:3,blind:-1,bliss:3,blissful:3,blithe:2,bloated:-1,block:-1,blockade:-2,blockbuster:3,blocked:-1,blocking:-1,blocks:-1,bloody:-3,blurry:-2,boastful:-2,bold:2,boldly:2,bomb:-1,boost:1,boosted:1,boosting:1,boosts:1,bore:-2,bored:-2,boring:-3,bother:-2,bothered:-2,bothers:-2,bothersome:-2,boycott:-2,boycotted:-2,boycotting:-2,boycotts:-2,brainwashing:-3,brave:2,braveness:2,bravery:2,bravura:3,breach:-2,breached:-2,breaches:-2,breaching:-2,breakthrough:3,breathtaking:5,bribe:-3,bribed:-3,bribes:-3,bribing:-3,bright:1,brightest:2,brightness:1,brilliant:4,brilliance:3,brilliances:3,brisk:2,broke:-1,broken:-1,brooding:-2,brutal:-3,brutally:-3,bullied:-2,bullshit:-4,bully:-2,bullying:-2,bummer:-2,buoyant:2,burden:-2,burdened:-2,burdening:-2,burdens:-2,burglar:-2,burglary:-2,calm:2,calmed:2,calming:2,calms:2,"can't stand":-3,cancel:-1,cancelled:-1,cancelling:-1,cancels:-1,cancer:-1,capabilities:1,capability:1,capable:1,captivated:3,care:2,carefree:1,careful:2,carefully:2,carefulness:2,careless:-2,cares:2,caring:2,"cashing in":-2,casualty:-2,catastrophe:-3,catastrophic:-4,cautious:-1,celebrate:3,celebrated:3,celebrates:3,celebrating:3,celebration:3,celebrations:3,censor:-2,censored:-2,censors:-2,certain:1,chagrin:-2,chagrined:-2,challenge:-1,champion:2,championed:2,champions:2,chance:2,chances:2,chaos:-2,chaotic:-2,charged:-3,charges:-2,charisma:2,charitable:2,charm:3,charming:3,charmingly:3,charmless:-3,chastise:-3,chastised:-3,chastises:-3,chastising:-3,cheat:-3,cheated:-3,cheater:-3,cheaters:-3,cheating:-3,cheats:-3,cheer:2,cheered:2,cheerful:2,cheerfully:2,cheering:2,cheerless:-2,cheers:2,cheery:3,cherish:2,cherished:2,cherishes:2,cherishing:2,chic:2,chide:-3,chided:-3,chides:-3,chiding:-3,childish:-2,chilling:-1,choke:-2,choked:-2,chokes:-2,choking:-2,clarifies:2,clarity:2,clash:-2,classy:3,clean:2,cleaner:2,clear:1,cleared:1,clearly:1,clears:1,clever:2,clouded:-1,clueless:-2,cock:-5,cocksucker:-5,cocksuckers:-5,cocky:-2,coerced:-2,coercion:-2,collapse:-2,collapsed:-2,collapses:-2,collapsing:-2,collide:-1,collides:-1,colliding:-1,collision:-2,collisions:-2,colluding:-3,combat:-1,combats:-1,comedy:1,comfort:2,comfortable:2,comfortably:2,comforting:2,comforts:2,comic:1,commend:2,commended:2,commit:1,commitment:2,commits:1,committed:1,committing:1,compassion:2,compassionate:2,compelled:1,competencies:1,competent:2,competitive:2,complacent:-2,complain:-2,complained:-2,complaining:-2,complains:-2,complaint:-2,complaints:-2,complicating:-2,compliment:2,complimented:2,compliments:2,comprehensive:2,concerned:-2,conciliate:2,conciliated:2,conciliates:2,conciliating:2,condemn:-2,condemnation:-2,condemned:-2,condemns:-2,confidence:2,confident:2,confidently:2,conflict:-2,conflicting:-2,conflictive:-2,conflicts:-2,confuse:-2,confused:-2,confusing:-2,congrats:2,congratulate:2,congratulation:2,congratulations:2,consent:2,consents:2,consolable:2,conspiracy:-3,constipation:-2,constrained:-2,contagion:-2,contagions:-2,contagious:-1,contaminant:-2,contaminants:-2,contaminate:-2,contaminated:-2,contaminates:-2,contaminating:-2,contamination:-2,contaminations:-2,contempt:-2,contemptible:-2,contemptuous:-2,contemptuously:-2,contend:-1,contender:-1,contending:-1,contentious:-2,contestable:-2,controversial:-2,controversially:-2,controversies:-2,controversy:-2,convicted:-2,convince:1,convinced:1,convinces:1,convivial:2,cool:1,"cool stuff":3,cornered:-2,corpse:-1,corrupt:-3,corrupted:-3,corrupting:-3,corruption:-3,corrupts:-3,costly:-2,courage:2,courageous:2,courageously:2,courageousness:2,courteous:2,courtesy:2,"cover-up":-3,coward:-2,cowardly:-2,coziness:2,cramp:-1,crap:-3,crappy:-3,crash:-2,crazier:-2,craziest:-2,crazy:-2,creative:2,crestfallen:-2,cried:-2,cries:-2,crime:-3,crimes:-3,criminal:-3,criminals:-3,criminate:-3,criminated:-3,criminates:-3,crisis:-3,critic:-2,criticise:-2,criticised:-2,criticises:-2,criticising:-2,criticism:-2,criticize:-2,criticized:-2,criticizes:-2,criticizing:-2,critics:-2,critique:-2,crowding:-1,crude:-1,cruel:-3,cruelty:-3,crush:-1,crushed:-2,crushes:-1,crushing:-1,cry:-1,crying:-2,cunning:2,cunt:-5,curious:1,curse:-1,cut:-1,cutback:-2,cutbacks:-2,cute:2,cuts:-1,cutting:-1,cynic:-2,cynical:-2,cynicism:-2,damage:-3,damaged:-3,damages:-3,damaging:-3,damn:-2,"damn cute":3,"damn good":4,damned:-4,damnit:-4,danger:-2,dangerous:-2,dangerously:-2,daredevil:2,daring:2,darkest:-2,darkness:-1,dauntless:2,dazzling:3,dead:-3,deadening:-2,deadlock:-2,deadly:-3,deafening:-1,dear:2,dearly:3,death:-2,deaths:-2,debonair:2,debt:-2,deceit:-3,deceitful:-3,deceive:-3,deceived:-3,deceives:-3,deceiving:-3,deception:-3,deceptive:-3,decisive:1,dedicated:2,dedication:2,defeat:-2,defeated:-2,defect:-3,defective:-3,defects:-3,defender:2,defenders:2,defenseless:-2,defer:-1,deferring:-1,defiant:-1,deficient:-2,deficiency:-2,deficiencies:-2,deficit:-2,deformed:-2,deformities:-2,deformity:-2,defraud:-3,defrauds:-3,deft:2,defunct:-2,degrade:-2,degraded:-2,degrades:-2,dehumanize:-2,dehumanized:-2,dehumanizes:-2,dehumanizing:-2,deject:-2,dejected:-2,dejecting:-2,dejects:-2,delay:-1,delayed:-1,delectable:3,delicious:3,delight:3,delighted:3,delightful:3,delightfully:3,delighting:3,delights:3,demand:-1,demanded:-1,demanding:-1,demands:-1,demonstration:-1,demoralize:-2,demoralized:-2,demoralizes:-2,demoralizing:-2,denial:-2,denials:-2,denied:-2,denier:-2,deniers:-2,denies:-2,denounce:-2,denounces:-2,dent:-2,deny:-2,denying:-2,deplore:-3,deplored:-3,deplores:-3,deploring:-3,deport:-2,deported:-2,deporting:-2,deports:-2,deportation:-2,deportations:-2,depressed:-2,depressing:-2,deprivation:-3,derail:-2,derailed:-2,derails:-2,derelict:-2,deride:-2,derided:-2,derides:-2,deriding:-2,derision:-2,desirable:2,desire:1,desired:2,desirous:2,despair:-3,despairing:-3,despairs:-3,desperate:-3,desperately:-3,despondent:-3,destroy:-3,destroyed:-3,destroying:-3,destroys:-3,destruction:-3,destructive:-3,detached:-1,detain:-2,detained:-2,detention:-2,deteriorate:-2,deteriorated:-2,deteriorates:-2,deteriorating:-2,determined:2,deterrent:-2,detract:-1,detracted:-1,detracts:-1,devastate:-2,devastated:-2,devastating:-2,devastation:-2,devastations:-2,devoted:3,devotion:2,devotional:2,diamond:1,dick:-4,dickhead:-4,die:-3,died:-3,difficult:-1,diffident:-2,dignity:2,dilemma:-1,dilligence:2,dipshit:-3,dire:-3,direful:-3,dirt:-2,dirtier:-2,dirtiest:-2,dirty:-2,disabilities:-2,disability:-2,disabling:-1,disadvantage:-2,disadvantaged:-2,disagree:-2,disagreeable:-2,disagreement:-2,disappear:-1,disappeared:-1,disappears:-1,disappoint:-2,disappointed:-2,disappointing:-2,disappointment:-2,disappointments:-2,disappoints:-2,disapproval:-2,disapprovals:-2,disapprove:-2,disapproved:-2,disapproves:-2,disapproving:-2,disaster:-2,disasters:-2,disastrous:-3,disbelieve:-2,discard:-1,discarded:-1,discarding:-1,discards:-1,discernment:2,discomfort:-2,disconsolate:-2,disconsolation:-2,discontented:-2,discord:-2,discounted:-1,discouraged:-2,discredited:-2,discriminate:-2,discriminated:-2,discriminates:-2,discriminating:-2,discriminatory:-2,disdain:-2,disease:-1,diseases:-1,disgrace:-2,disgraced:-2,disguise:-1,disguised:-1,disguises:-1,disguising:-1,disgust:-3,disgusted:-3,disgustful:-3,disgusting:-3,disheartened:-2,dishonest:-2,disillusioned:-2,disinclined:-2,disjointed:-2,dislike:-2,disliked:-2,dislikes:-2,dismal:-2,dismayed:-2,dismissed:-2,disorder:-2,disorders:-2,disorganized:-2,disoriented:-2,disparage:-2,disparaged:-2,disparages:-2,disparaging:-2,displeased:-2,displeasure:-2,disproportionate:-2,dispute:-2,disputed:-2,disputes:-2,disputing:-2,disqualified:-2,disquiet:-2,disregard:-2,disregarded:-2,disregarding:-2,disregards:-2,disrespect:-2,disrespected:-2,disrupt:-2,disrupted:-2,disrupting:-2,disruption:-2,disruptions:-2,disruptive:-2,disrupts:-2,dissatisfied:-2,distasteful:-2,distinguished:2,distort:-2,distorted:-2,distorting:-2,distorts:-2,distract:-2,distracted:-2,distraction:-2,distracts:-2,distress:-2,distressed:-2,distresses:-2,distressing:-2,distrust:-3,distrustful:-3,disturb:-2,disturbed:-2,disturbing:-2,disturbs:-2,dithering:-2,diverting:-1,dizzy:-1,dodging:-2,dodgy:-2,"does not work":-3,dolorous:-2,donate:2,donated:2,donates:2,donating:2,donation:2,"dont like":-2,doom:-2,doomed:-2,doubt:-1,doubted:-1,doubtful:-1,doubting:-1,doubts:-1,douche:-3,douchebag:-3,dour:-2,downcast:-2,downer:-2,downhearted:-2,downside:-2,drag:-1,dragged:-1,drags:-1,drained:-2,dread:-2,dreaded:-2,dreadful:-3,dreading:-2,dream:1,dreams:1,dreary:-2,droopy:-2,drop:-1,dropped:-1,drown:-2,drowned:-2,drowns:-2,drudgery:-2,drunk:-2,dubious:-2,dud:-2,dull:-2,dumb:-3,dumbass:-3,dump:-1,dumped:-2,dumps:-1,dupe:-2,duped:-2,dupery:-2,durable:2,dying:-3,dysfunction:-2,eager:2,earnest:2,ease:2,easy:1,ecstatic:4,eerie:-2,eery:-2,effective:2,effectively:2,effectiveness:2,effortlessly:2,elated:3,elation:3,elegant:2,elegantly:2,embarrass:-2,embarrassed:-2,embarrasses:-2,embarrassing:-2,embarrassment:-2,embezzlement:-3,embittered:-2,embrace:1,emergency:-2,empathetic:2,empower:2,empowerment:2,emptiness:-1,empty:-1,enchanted:2,encourage:2,encouraged:2,encouragement:2,encourages:2,encouraging:2,endorse:2,endorsed:2,endorsement:2,endorses:2,enemies:-2,enemy:-2,energetic:2,engage:1,engages:1,engrossed:1,engrossing:3,enjoy:2,enjoyable:2,enjoyed:2,enjoying:2,enjoys:2,enlighten:2,enlightened:2,enlightening:2,enlightens:2,ennui:-2,enrage:-2,enraged:-2,enrages:-2,enraging:-2,enrapture:3,enslave:-2,enslaved:-2,enslaves:-2,ensure:1,ensuring:1,enterprising:1,entertaining:2,enthral:3,enthusiastic:3,entitled:1,entrusted:2,envies:-1,envious:-2,"environment-friendly":2,envy:-1,envying:-1,erroneous:-2,error:-2,errors:-2,escape:-1,escapes:-1,escaping:-1,esteem:2,esteemed:2,ethical:2,euphoria:3,euphoric:4,evacuate:-1,evacuated:-1,evacuates:-1,evacuating:-1,evacuation:-1,evergreen:2,evergreens:2,evergreening:-3,eviction:-1,evil:-3,exacerbate:-2,exacerbated:-2,exacerbates:-2,exacerbating:-2,exaggerate:-2,exaggerated:-2,exaggerates:-2,exaggerating:-2,exasparate:-2,exasperated:-2,exasperates:-2,exasperating:-2,excellence:3,excellent:3,excite:3,excited:3,excitement:3,exciting:3,exclude:-1,excluded:-2,exclusion:-1,exclusive:2,excruciatingly:-1,excuse:-1,exempt:-1,exhausted:-2,exhilarated:3,exhilarates:3,exhilarating:3,exonerate:2,exonerated:2,exonerates:2,exonerating:2,expand:1,expands:1,expel:-2,expelled:-2,expelling:-2,expels:-2,expertly:2,exploit:-2,exploited:-2,exploiting:-2,exploits:-2,exploration:1,explorations:1,expose:-1,exposed:-1,exposes:-1,exposing:-1,exquisite:3,extend:1,extends:1,extremist:-2,extremists:-2,exuberant:4,exultant:3,exultantly:3,fabulous:4,fabulously:4,fad:-2,fag:-3,faggot:-3,faggots:-3,fail:-2,failed:-2,failing:-2,fails:-2,failure:-2,failures:-2,fainthearted:-2,fair:2,fairness:2,faith:1,faithful:3,fake:-3,faker:-3,fakes:-3,faking:-3,fallen:-2,falling:-1,false:-1,falsely:-2,falsified:-3,falsify:-3,fame:1,famine:-2,famous:2,fan:3,fantastic:4,farce:-1,fascinate:3,fascinated:3,fascinates:3,fascinating:3,fascination:3,fascist:-2,fascists:-2,fatal:-3,fatalities:-3,fatality:-3,fatigue:-2,fatigued:-2,fatigues:-2,fatiguing:-2,favor:2,favorable:2,favorably:2,favored:2,favorite:2,favorited:2,favorites:2,favors:2,favour:2,favourable:2,favourably:2,favoured:2,favourite:2,favourited:2,favourites:2,favours:2,fear:-2,fearful:-2,fearfully:-2,fearing:-2,fearless:2,fearlessness:2,fearsome:-2,"fed up":-3,feeble:-2,feeling:1,felonies:-3,felony:-3,fertile:2,fervent:2,fervid:2,festive:2,fever:-2,fiasco:-3,fidgety:-2,fight:-1,fighting:-2,fine:2,fines:-2,finest:3,fire:-2,fired:-2,firing:-2,fit:1,fitness:1,filth:-2,filthy:-2,flagship:2,flaw:-2,flawed:-3,flawless:2,flawlessly:2,flaws:-2,flees:-1,flop:-2,flops:-2,flu:-2,flustered:-2,focused:2,fond:2,fondness:2,fool:-2,foolish:-2,fools:-2,forbid:-1,forbidden:-2,forbidding:-2,forced:-1,foreclosure:-2,foreclosures:-2,forefront:1,forget:-1,forgetful:-2,forgettable:-1,forgive:1,forgiving:1,forgot:-1,forgotten:-1,fortune:2,fortunate:2,fortunately:2,foul:-3,frantic:-1,fraud:-4,frauds:-4,fraudster:-4,fraudsters:-4,fraudulence:-4,fraudulent:-4,freak:-2,free:1,freedom:2,freedoms:2,frenzy:-3,fresh:1,friend:1,friendliness:2,friendly:2,friendship:2,fright:-2,frightened:-2,frightening:-3,frikin:-2,frisky:2,frowning:-1,fruitless:-2,frustrate:-2,frustrated:-2,frustrates:-2,frustrating:-2,frustration:-2,ftw:3,fuck:-4,fucked:-4,fucker:-4,fuckers:-4,fuckface:-4,fuckhead:-4,fuckin:-4,fucking:-4,"fucking amazing":4,"fucking beautiful":4,"fucking cute":4,"fucking fantastic":4,"fucking good":4,"fucking great":4,"fucking hot":2,"fucking love":4,"fucking loves":4,"fucking perfect":4,fucktard:-4,fud:-3,fuked:-4,fuking:-4,fulfill:2,fulfilled:2,fulfillment:2,fulfills:2,fuming:-2,fun:4,funeral:-1,funerals:-1,funky:2,funnier:4,funny:4,furious:-3,futile:-2,gag:-2,gagged:-2,gain:2,gained:2,gaining:2,gains:2,gallant:3,gallantly:3,gallantry:3,"game-changing":3,garbage:-1,gem:3,generous:2,generously:2,genial:3,ghastly:-2,ghost:-1,giddy:-2,gift:2,glad:3,glamorous:3,glamourous:3,glee:3,gleeful:3,gloom:-1,gloomy:-2,glorious:2,glory:2,glum:-2,god:1,goddamn:-3,godsend:4,gold:2,good:3,goodlooking:3,goodmorning:1,goodness:3,goodwill:3,goofiness:-2,goofy:-2,grace:1,graceful:2,gracious:3,grand:3,grant:1,granted:1,granting:1,grants:1,grateful:3,gratification:2,grave:-2,gray:-1,grisly:-2,gr8:3,great:3,greater:3,greatest:3,greed:-3,greedy:-2,"green wash":-3,"green washing":-3,greenwash:-3,greenwasher:-3,greenwashers:-3,greenwashing:-3,greet:1,greeted:1,greeting:1,greetings:2,greets:1,grey:-1,grief:-2,grieved:-2,grim:-2,gripping:2,groan:-2,groaned:-2,groaning:-2,groans:-2,gross:-2,growing:1,growth:2,growths:2,gruesome:-3,guarantee:1,guilt:-3,guilty:-3,gullibility:-2,gullible:-2,gun:-1,ha:2,hacked:-1,haha:3,hahaha:3,hahahah:3,hail:2,hailed:2,hallelujah:3,handpicked:1,handsome:3,hapless:-2,haplessness:-2,happiest:3,happiness:3,happy:3,harass:-3,harassed:-3,harasses:-3,harassing:-3,harassment:-3,hard:-1,hardier:2,hardship:-2,hardy:2,harm:-2,harmed:-2,harmful:-2,harming:-2,harmony:2,harmonious:2,harmoniously:2,harms:-2,harried:-2,harsh:-2,harsher:-2,harshest:-2,harshly:-2,hate:-3,hated:-3,hater:-3,haters:-3,hates:-3,hating:-3,hatred:-3,haunt:-1,haunted:-2,haunting:1,haunts:-1,havoc:-2,hazardous:-3,headache:-2,healthy:2,heartbreaking:-3,heartbroken:-3,heartfelt:3,heartless:-2,heartwarming:3,heaven:2,heavenly:4,heavyhearted:-2,hehe:2,hell:-4,hellish:-2,help:2,helpful:2,helping:2,helpless:-2,helps:2,hero:2,heroes:2,heroic:3,hesitant:-2,hesitate:-2,hid:-1,hide:-1,hideous:-3,hides:-1,hiding:-1,highlight:2,hilarious:2,hinder:-2,hindrance:-2,hoax:-2,hollow:-1,homeless:-2,homesick:-2,homicide:-2,homicides:-2,honest:2,honor:2,honored:2,honoring:2,honour:2,honoured:2,honouring:2,hooligan:-2,hooliganism:-2,hooligans:-2,hope:2,hopeful:2,hopefully:2,hopeless:-2,hopelessness:-2,hopes:2,hoping:2,horrendous:-3,horrid:-3,horrible:-3,horrific:-3,horrified:-3,hospitalized:-2,hostile:-2,huckster:-2,hug:2,huge:1,hugs:2,humane:2,humble:1,humbug:-2,humerous:3,humiliated:-3,humiliation:-3,humor:2,humorous:2,humour:2,humourous:2,hunger:-2,hurrah:5,hurt:-2,hurting:-2,hurts:-2,hypocritical:-2,hysteria:-3,hysterical:-3,hysterics:-3,icky:-3,idiocy:-3,idiot:-3,idiotic:-3,ignorance:-2,ignorant:-2,ignore:-1,ignored:-2,ignores:-1,ill:-2,"ill-fated":-2,illegal:-3,illegally:-3,illegitimate:-3,illiteracy:-2,illness:-2,illnesses:-2,illogical:-2,imaginative:2,imbecile:-3,immobilized:-1,immortal:2,immune:1,impair:-2,impaired:-2,impairing:-2,impairment:-2,impairs:-2,impatient:-2,impeachment:-3,impeachments:-3,impede:-2,impeded:-2,impedes:-2,impeding:-2,impedingly:-2,imperfect:-2,importance:2,important:2,impose:-1,imposed:-1,imposes:-1,imposing:-1,imposter:-2,impotent:-2,impress:3,impressed:3,impresses:3,impressive:3,imprisoned:-2,imprisonment:-2,improper:-2,improperly:-2,improve:2,improved:2,improvement:2,improves:2,improving:2,inability:-2,inaction:-2,inadequate:-2,inadvertently:-2,inappropriate:-2,incapable:-2,incapacitated:-2,incapacitates:-2,incapacitating:-2,incense:-2,incensed:-2,incenses:-2,incensing:-2,incoherent:-2,incompetence:-2,incompetent:-2,incomplete:-1,incomprehensible:-2,inconsiderate:-2,inconvenience:-2,inconvenient:-2,increase:1,increased:1,indecisive:-2,indestructible:2,indicted:-2,indifference:-2,indifferent:-2,indignant:-2,indignation:-2,indoctrinate:-2,indoctrinated:-2,indoctrinates:-2,indoctrinating:-2,inediable:-2,inexorable:-3,inexcusable:-3,ineffective:-2,ineffectively:-2,ineffectual:-2,inefficiency:-2,inefficient:-2,inefficiently:-2,inept:-2,ineptitude:-2,infantile:-2,infantilized:-2,infatuated:2,infatuation:2,infect:-2,infected:-2,infecting:-2,infection:-2,infections:-2,infectious:-2,infects:-2,inferior:-2,infest:-2,infested:-2,infesting:-2,infests:-2,inflamed:-2,inflict:-2,inflicted:-2,inflicting:-2,inflicts:-2,influential:2,infract:-2,infracted:-2,infracting:-2,infracts:-2,infringement:-2,infuriate:-2,infuriated:-2,infuriates:-2,infuriating:-2,inhibit:-1,inhuman:-2,injured:-2,injuries:-2,injury:-2,injustice:-2,innovate:1,innovates:1,innovation:1,innovative:2,inoperative:-2,inquisition:-2,inquisitive:2,insane:-2,insanity:-2,insecure:-2,insensitive:-2,insensitivity:-2,insignificant:-2,insipid:-2,insolvent:-2,insomnia:-2,inspiration:2,inspirational:2,inspire:2,inspired:2,inspires:2,inspiring:3,insufficiency:-2,insufficient:-2,insufficiently:-2,insult:-2,insulted:-2,insulting:-2,insults:-2,intact:2,integrity:2,intelligent:2,intense:1,interest:1,interested:2,interesting:2,interests:1,interrogated:-2,interrupt:-2,interrupted:-2,interrupting:-2,interruption:-2,interrupts:-2,intimacy:2,intimidate:-2,intimidated:-2,intimidates:-2,intimidating:-2,intimidation:-2,intransigence:-2,intransigency:-2,intricate:2,intrigues:1,invasion:-1,invincible:2,invite:1,inviting:1,invulnerable:2,irate:-3,ironic:-1,irony:-1,irrational:-1,irreparable:-2,irreproducible:-2,irresistible:2,irresistibly:2,irresolute:-2,irresponsible:-2,irresponsibly:-2,irreversible:-1,irreversibly:-1,irritate:-3,irritated:-3,irritates:-3,irritating:-3,isolated:-1,itchy:-2,jackass:-4,jackasses:-4,jailed:-2,jaunty:2,jealous:-2,jealousy:-2,jeopardy:-2,jerk:-3,jesus:1,jewel:1,jewels:1,jocular:2,join:1,joke:2,jokes:2,jolly:2,jovial:2,joy:3,joyful:3,joyfully:3,joyless:-2,joyous:3,jubilant:3,jumpy:-1,justice:2,justifiably:2,justified:2,keen:1,kickback:-3,kickbacks:-3,kidnap:-2,kidnapped:-2,kidnapping:-2,kidnappings:-2,kidnaps:-2,kill:-3,killed:-3,killing:-3,kills:-3,kind:2,"kind of":0,kinder:2,kindness:2,kiss:2,kudos:3,lack:-2,lackadaisical:-2,lag:-1,lagged:-2,lagging:-2,lags:-2,lame:-2,landmark:2,lapse:-1,lapsed:-1,laugh:1,laughed:1,laughing:1,laughs:1,laughting:1,launched:1,lawl:3,lawsuit:-2,lawsuits:-2,lazy:-1,leadership:1,leading:2,leak:-1,leaked:-1,leave:-1,legal:1,legally:1,lenient:1,lethal:-2,lethality:-2,lethargic:-2,lethargy:-2,liar:-3,liars:-3,libelous:-2,lied:-2,lifeless:-1,lifesaver:4,lighthearted:1,likable:2,like:2,likeable:2,liked:2,likers:2,likes:2,liking:2,limitation:-1,limited:-1,limits:-1,litigation:-1,litigious:-2,lively:2,livid:-2,lmao:4,lmfao:4,loathe:-3,loathed:-3,loathes:-3,loathing:-3,loathsome:-3,lobbied:-2,lobby:-2,lobbying:-2,lobbyist:-2,lobbyists:-2,lol:3,lolol:4,lololol:4,lolololol:4,lonely:-2,lonesome:-2,longing:-1,lool:3,loom:-1,loomed:-1,looming:-1,looms:-1,loool:3,looool:3,loose:-3,looses:-3,loser:-3,losing:-3,loss:-3,losses:-3,lost:-3,lousy:-2,lovable:3,love:3,loved:3,lovelies:3,lovely:3,loves:3,loving:2,"loving-kindness":3,lowest:-1,loyal:3,loyalty:3,luck:3,luckily:3,lucky:3,lucrative:3,ludicrous:-3,lugubrious:-2,lunatic:-3,lunatics:-3,lurk:-1,lurking:-1,lurks:-1,luxury:2,macabre:-2,mad:-3,maddening:-3,"made-up":-1,madly:-3,madness:-3,magnificent:3,maladaption:-2,maldevelopment:-2,maltreatment:-2,mandatory:-1,manipulated:-1,manipulating:-1,manipulation:-1,manslaughter:-3,marvel:3,marvelous:3,marvels:3,masterpiece:4,masterpieces:4,matter:1,matters:1,mature:2,meaningful:2,meaningless:-2,medal:3,mediocrity:-3,meditative:1,melancholy:-2,memorable:1,memoriam:-2,menace:-2,menaced:-2,menaces:-2,mercy:2,merry:3,mesmerizing:3,mess:-2,messed:-2,"messing up":-2,methodical:2,methodically:2,mindless:-2,miracle:4,mirth:3,mirthful:3,mirthfully:3,misbehave:-2,misbehaved:-2,misbehaves:-2,misbehaving:-2,misbranding:-3,miscast:-2,mischief:-1,mischiefs:-1,misclassified:-2,misclassifies:-2,misclassify:-2,misconduct:-2,misconducted:-2,misconducting:-2,misconducts:-2,miserable:-3,miserably:-3,misery:-2,misfire:-2,misfortune:-2,misgiving:-2,misinformation:-2,misinformed:-2,misinterpreted:-2,mislead:-3,misleaded:-3,misleading:-3,misleads:-3,misplace:-2,misplaced:-2,misplaces:-2,misplacing:-2,mispricing:-3,misread:-1,misreport:-2,misreported:-2,misreporting:-2,misreports:-2,misrepresent:-2,misrepresentation:-2,misrepresentations:-2,misrepresented:-2,misrepresenting:-2,misrepresents:-2,miss:-2,missed:-2,missing:-2,mistake:-2,mistaken:-2,mistakes:-2,mistaking:-2,misunderstand:-2,misunderstanding:-2,misunderstands:-2,misunderstood:-2,misuse:-2,misused:-2,misuses:-2,misusing:-2,moan:-2,moaned:-2,moaning:-2,moans:-2,mock:-2,mocked:-2,mocking:-2,mocks:-2,modernize:2,modernized:2,modernizes:2,modernizing:2,mongering:-2,monopolize:-2,monopolized:-2,monopolizes:-2,monopolizing:-2,monotone:-1,moody:-1,mope:-1,moping:-1,moron:-3,motherfucker:-5,motherfucking:-5,motivate:1,motivated:2,motivating:2,motivation:1,mourn:-2,mourned:-2,mournful:-2,mourning:-2,mourns:-2,muddy:-2,mumpish:-2,murder:-2,murderer:-2,murdering:-3,murderous:-3,murders:-2,murky:-2,myth:-1,n00b:-2,naive:-2,narcissism:-2,nasty:-3,natural:1,"naïve":-2,needy:-2,negative:-2,negativity:-2,neglect:-2,neglected:-2,neglecting:-2,neglects:-2,nerves:-1,nervous:-2,nervously:-2,nice:3,nifty:2,niggas:-5,nigger:-5,no:-1,"no fun":-3,noble:2,noblest:2,noisy:-1,"non-approved":-2,nonsense:-2,noob:-2,nosey:-2,"not good":-2,"not working":-3,notable:2,noticeable:2,notorious:-2,novel:2,numb:-1,nurturing:2,nuts:-3,obliterate:-2,obliterated:-2,obnoxious:-3,obscene:-2,obscenity:-2,obsessed:2,obsolete:-2,obstacle:-2,obstacles:-2,obstinate:-2,obstruct:-2,obstructed:-2,obstructing:-2,obstruction:-2,obstructs:-2,odd:-2,offence:-2,offences:-2,offend:-2,offended:-2,offender:-2,offending:-2,offends:-2,offense:-2,offenses:-2,offensive:-2,offensively:-2,offline:-1,oks:2,ominous:3,"once-in-a-lifetime":3,oops:-2,opportunities:2,opportunity:2,oppressed:-2,oppression:-2,oppressions:-2,oppressive:-2,optimism:2,optimistic:2,optionless:-2,ostracize:-2,ostracized:-2,ostracizes:-2,ouch:-2,outage:-2,outages:-2,outbreak:-2,outbreaks:-2,outcry:-2,outmaneuvered:-2,outnumbered:-2,outrage:-3,outraged:-3,outrageous:-3,outreach:2,outstanding:5,overjoyed:4,overload:-1,overlooked:-1,overprotective:-2,overran:-2,overreact:-2,overreacted:-2,overreacting:-2,overreaction:-2,overreacts:-2,oversell:-2,overselling:-2,oversells:-2,oversight:-1,oversimplification:-2,oversimplified:-2,oversimplifies:-2,oversimplify:-2,oversold:-2,overstatement:-2,overstatements:-2,overweight:-1,overwrought:-3,oxymoron:-1,pain:-2,pained:-2,painful:-2,panic:-3,panicked:-3,panics:-3,paradise:3,paradox:-1,pardon:2,pardoned:2,pardoning:2,pardons:2,parley:-1,passion:1,passionate:2,passive:-1,passively:-1,pathetic:-2,pay:-1,peace:2,peaceful:2,peacefully:2,penalize:-2,penalized:-2,penalizes:-2,penalizing:-2,penalty:-2,pensive:-1,perfect:3,perfected:2,perfection:3,perfectly:3,perfects:2,peril:-2,perjury:-3,perpetrated:-2,perpetrator:-2,perpetrators:-2,perplexed:-2,persecute:-2,persecuted:-2,persecutes:-2,persecuting:-2,perturbed:-2,pervert:-3,pesky:-2,pessimism:-2,pessimistic:-2,petrified:-2,philanthropy:2,phobic:-2,picturesque:2,pileup:-1,pillage:-2,pique:-2,piqued:-2,piss:-4,pissed:-4,pissing:-3,piteous:-2,pitied:-1,pity:-2,plague:-3,plagued:-3,plagues:-3,plaguing:-3,playful:2,pleasant:3,please:1,pleased:3,pleasurable:3,pleasure:3,plodding:-2,poignant:2,pointless:-2,poised:-2,poison:-2,poisoned:-2,poisons:-2,polished:2,polite:2,politeness:2,pollutant:-2,pollute:-2,polluted:-2,polluter:-2,polluters:-2,pollutes:-2,pollution:-2,poor:-2,poorer:-2,poorest:-2,poorly:-2,popular:3,popularity:3,positive:2,positively:2,possessive:-2,"post-traumatic":-2,postpone:-1,postponed:-1,postpones:-1,postponing:-1,poverty:-1,powerful:2,powerless:-2,praise:3,praised:3,praises:3,praising:3,pray:1,praying:1,prays:1,prblm:-2,prblms:-2,predatory:-2,prepared:1,pressure:-1,pressured:-2,pretend:-1,pretending:-1,pretends:-1,pretty:1,prevent:-1,prevented:-1,preventing:-1,prevents:-1,prick:-5,prison:-2,prisoner:-2,prisoners:-2,privileged:2,proactive:2,problem:-2,problems:-2,profit:2,profitable:2,profiteer:-2,profits:2,progress:2,prohibit:-1,prohibits:-1,prominent:2,promise:1,promised:1,promises:1,promote:1,promoted:1,promotes:1,promoting:1,promptly:1,propaganda:-2,prosecute:-1,prosecuted:-2,prosecutes:-1,prosecution:-1,prospect:1,prospects:1,prosperity:3,prosperous:3,protect:1,protected:1,protects:1,protest:-2,protesters:-2,protesting:-2,protests:-2,proud:2,proudly:2,provoke:-1,provoked:-1,provokes:-1,provoking:-1,prudence:2,pseudoscience:-3,psychopathic:-2,punish:-2,punished:-2,punishes:-2,punishing:-2,punitive:-2,pure:1,purest:1,purposeful:2,pushy:-1,puzzled:-2,quaking:-2,qualities:2,quality:2,questionable:-2,questioned:-1,questioning:-1,racism:-3,racist:-3,racists:-3,rage:-2,rageful:-2,rainy:-1,rant:-3,ranter:-3,ranters:-3,rants:-3,rape:-4,raped:-4,rapist:-4,rapture:2,raptured:2,raptures:2,rapturous:4,rash:-2,ratified:2,reach:1,reached:1,reaches:1,reaching:1,reassure:1,reassured:1,reassures:1,reassuring:2,rebel:-2,rebellion:-2,rebels:-2,recession:-2,reckless:-2,recognition:2,recommend:2,recommended:2,recommends:2,redeemed:2,refine:1,refined:1,refines:1,refreshingly:2,refuse:-2,refused:-2,refuses:-2,refusing:-2,regret:-2,regretful:-2,regrets:-2,regretted:-2,regretting:-2,reigning:1,reject:-1,rejected:-1,rejecting:-1,rejection:-2,rejects:-1,rejoice:4,rejoiced:4,rejoices:4,rejoicing:4,relaxed:2,relentless:-1,reliability:2,reliable:2,reliably:2,reliant:2,relieve:1,relieved:2,relieves:1,relieving:2,relishing:2,remarkable:2,remorse:-2,repellent:-2,repercussion:-2,repercussions:-2,reprimand:-2,reprimanded:-2,reprimanding:-2,reprimands:-2,repulse:-1,repulsed:-2,repulsive:-2,rescue:2,rescued:2,rescues:2,resentful:-2,resign:-1,resigned:-1,resigning:-1,resigns:-1,resolute:2,resolution:2,resolve:2,resolved:2,resolves:2,resolving:2,respect:2,respected:2,respects:2,responsibility:1,responsible:2,responsive:2,restful:2,restless:-2,restore:1,restored:1,restores:1,restoring:1,restrict:-2,restricted:-2,restricting:-2,restriction:-2,restrictive:-1,restricts:-2,retained:-1,retard:-2,retarded:-2,retreat:-1,revenge:-2,revengeful:-2,revered:2,revive:2,revives:2,revolting:-2,reward:2,rewarded:2,rewarding:2,rewards:2,rich:2,richly:2,ridiculous:-3,rig:-1,rigged:-1,"right direction":3,righteousness:2,rightful:2,rightfully:2,rigorous:3,rigorously:3,riot:-2,riots:-2,rise:1,rises:1,risk:-2,risks:-2,risky:-2,riveting:3,rob:-2,robber:-2,robed:-2,robing:-2,robs:-2,robust:2,rofl:4,roflcopter:4,roflmao:4,romance:2,romantical:2,romantically:2,rose:1,rotfl:4,rotflmfao:4,rotflol:4,rotten:-3,rude:-2,ruin:-2,ruined:-2,ruining:-2,ruins:-2,sabotage:-2,sad:-2,sadden:-2,saddened:-2,sadly:-2,safe:1,safely:1,safer:2,safety:1,salient:1,salute:2,saluted:2,salutes:2,saluting:2,salvation:2,sappy:-1,sarcastic:-2,satisfied:2,savange:-2,savanges:-2,save:2,saved:2,savings:1,scam:-2,scams:-2,scandal:-3,scandalous:-3,scandals:-3,scapegoat:-2,scapegoats:-2,scare:-2,scared:-2,scar:-2,scars:-2,scary:-2,sceptical:-2,scold:-2,scoop:3,scorn:-2,scornful:-2,scream:-2,screamed:-2,screaming:-2,screams:-2,screwed:-2,"screwed up":-3,scum:-3,scumbag:-4,seamless:2,seamlessly:2,secure:2,secured:2,secures:2,sedition:-2,seditious:-2,seduced:-1,"self-abuse":-2,"self-confident":2,"self-contradictory":-2,"self-deluded":-2,selfish:-3,selfishness:-3,sentence:-2,sentenced:-2,sentences:-2,sentencing:-2,serene:2,settlement:1,settlements:1,severe:-2,severely:-2,sexist:-2,sexistic:-2,sexy:3,shaky:-2,shame:-2,shamed:-2,shameful:-2,share:1,shared:1,shares:1,shattered:-2,shit:-4,shithead:-4,shitty:-3,shock:-2,shocked:-2,shocking:-2,shocks:-2,shoody:-2,shoot:-1,"short-sighted":-2,"short-sightedness":-2,shortage:-2,shortages:-2,shrew:-4,shy:-1,sick:-2,sickness:-2,"side-effect":-2,"side-effects":-2,sigh:-2,significance:1,significant:1,silencing:-1,silly:-1,simplicity:1,sin:-2,sincere:2,sincerely:2,sincerest:2,sincerity:2,sinful:-3,singleminded:-2,sinister:-2,sins:-2,skeptic:-2,skeptical:-2,skepticism:-2,skeptics:-2,slam:-2,slash:-2,slashed:-2,slashes:-2,slashing:-2,slave:-3,slavery:-3,slaves:-3,sleeplessness:-2,slick:2,slicker:2,slickest:2,slip:-1,sloppy:-2,sluggish:-2,slumping:-1,slut:-5,smart:1,smarter:2,smartest:2,smear:-2,smile:2,smiled:2,smiles:2,smiling:2,smog:-2,smuggle:-2,smuggled:-2,smuggling:-2,smuggles:-2,sneaky:-1,sneeze:-2,sneezed:-2,sneezes:-2,sneezing:-2,snub:-2,snubbed:-2,snubbing:-2,snubs:-2,sobering:1,solemn:-1,solid:2,solidarity:2,solidified:2,solidifies:2,solidify:2,solidifying:2,solution:1,solutions:1,solve:1,solved:1,solves:1,solving:1,somber:-2,"some kind":0,"son-of-a-bitch":-5,soothe:3,soothed:3,soothing:3,sophisticated:2,sore:-1,sorrow:-2,sorrowful:-2,sorry:-1,spacious:1,spam:-2,spammer:-3,spammers:-3,spamming:-2,spark:1,sparkle:3,sparkles:3,sparkling:3,spearhead:2,speculative:-2,spirit:1,spirited:2,spiritless:-2,spiteful:-2,splendid:3,spoiled:-2,spoilt:-2,spotless:2,sprightly:2,squander:-2,squandered:-2,squandering:-2,squanders:-2,squelched:-1,stab:-2,stabbed:-2,stable:2,stabs:-2,stall:-2,stalled:-2,stalling:-2,stamina:2,stampede:-2,stank:-2,startled:-2,startling:3,starve:-2,starved:-2,starves:-2,starving:-2,steadfast:2,steal:-2,stealing:-2,steals:-2,stereotype:-2,stereotyped:-2,stifled:-1,stimulate:1,stimulated:1,stimulates:1,stimulating:2,stingy:-2,stink:-2,stinked:-2,stinker:-2,stinking:-2,stinks:-2,stinky:-2,stole:-2,stolen:-2,stop:-1,stopped:-1,stopping:-1,stops:-1,stout:2,straight:1,strange:-1,strangely:-1,strangled:-2,strength:2,strengthen:2,strengthened:2,strengthening:2,strengthens:2,strengths:2,stress:-1,stressed:-2,stressor:-2,stressors:-2,stricken:-2,strike:-1,strikers:-2,strikes:-1,strong:2,stronger:2,strongest:2,struck:-1,struggle:-2,struggled:-2,struggles:-2,struggling:-2,stubborn:-2,stuck:-2,stunned:-2,stunning:4,stupid:-2,stupidity:-3,stupidly:-2,suave:2,subpoena:-2,substantial:1,substantially:1,subversive:-2,succeed:3,succeeded:3,succeeding:3,succeeds:3,success:2,successful:3,successfully:3,suck:-3,sucks:-3,sue:-2,sued:-2,sueing:-2,sues:-2,suffer:-2,suffered:-2,sufferer:-2,sufferers:-2,suffering:-2,suffers:-2,suicidal:-2,suicide:-2,suicides:-2,suing:-2,suitable:2,suited:2,sulking:-2,sulky:-2,sullen:-2,sunshine:2,super:3,superb:5,superior:2,support:2,supported:2,supporter:1,supporters:1,supporting:1,supportive:2,supports:2,supreme:4,survived:2,surviving:2,survivor:2,suspect:-1,suspected:-1,suspecting:-1,suspects:-1,suspend:-1,suspended:-1,suspicious:-2,sustainability:1,sustainable:2,sustainably:2,swear:-2,swearing:-2,swears:-2,sweet:2,sweeter:3,sweetest:3,swift:2,swiftly:2,swindle:-3,swindles:-3,swindling:-3,sympathetic:2,sympathy:2,taint:-2,tainted:-2,talent:2,tard:-2,tarnish:-2,tarnished:-2,tarnishes:-2,tears:-2,tender:2,tenderness:2,tense:-2,tension:-1,terrible:-3,terribly:-3,terrific:4,terrifically:4,terrified:-3,terror:-3,terrorist:-2,terrorists:-2,terrorize:-3,terrorized:-3,terrorizes:-3,thank:2,thankful:2,thanks:2,thorny:-2,thoughtful:2,thoughtless:-2,threat:-2,threaten:-2,threatened:-2,threatening:-2,threatens:-2,threats:-2,thrilled:5,thwart:-2,thwarted:-2,thwarting:-2,thwarts:-2,timid:-2,timorous:-2,tired:-2,tits:-2,tolerance:2,tolerant:2,toothless:-2,top:2,tops:2,torn:-2,torture:-4,tortured:-4,tortures:-4,torturing:-4,totalitarian:-2,totalitarianism:-2,tout:-2,touted:-2,touting:-2,touts:-2,toxic:-3,tragedies:-2,tragedy:-2,tragic:-2,tranquil:2,transgress:-2,transgressed:-2,transgresses:-2,transgressing:-2,trap:-1,trapped:-2,traps:-1,trauma:-3,traumatic:-3,travesty:-2,treason:-3,treasonous:-3,treasure:2,treasures:2,trembling:-2,tremor:-2,tremors:-2,tremulous:-2,tribulation:-2,tribute:2,tricked:-2,trickery:-2,triumph:4,triumphant:4,troll:-2,trouble:-2,troubled:-2,troubles:-2,troubling:-2,true:2,trust:1,trusted:2,trusts:1,tumor:-2,twat:-5,tyran:-3,tyrannic:-3,tyrannical:-3,tyrannically:-3,tyrans:-3,ubiquitous:2,ugh:-2,ugliness:-3,ugly:-3,unable:-2,unacceptable:-2,unappeasable:-2,unappreciated:-2,unapproved:-2,unattractive:-2,unavailable:-1,unavailing:-2,unaware:-2,unbearable:-2,unbelievable:-1,unbelieving:-1,unbiased:2,uncertain:-1,unclear:-1,uncomfortable:-2,unconcerned:-2,unconfirmed:-1,unconvinced:-1,uncredited:-1,undecided:-1,undercooked:-2,underestimate:-1,underestimated:-1,underestimates:-1,underestimating:-1,undermine:-2,undermined:-2,undermines:-2,undermining:-2,underperform:-2,underperformed:-2,underperforming:-2,underperforms:-2,undeserving:-2,undesirable:-2,uneasy:-2,unemployed:-1,unemployment:-2,unequal:-1,unequaled:2,unethical:-2,uneventful:-2,unfair:-2,unfavorable:-2,unfit:-2,unfitted:-2,unfocused:-2,unforgivable:-3,unforgiving:-2,unfulfilled:-2,unfunny:-2,ungenerous:-2,ungrateful:-3,unhappy:-2,unhappiness:-2,unhealthy:-2,unhygienic:-2,unified:1,unimaginative:-2,unimpressed:-2,uninspired:-2,unintelligent:-2,unintentional:-2,uninvolving:-2,united:1,unjust:-2,unlikely:-1,unlovable:-2,unloved:-2,unmatched:1,unmotivated:-2,unoriginal:-2,unparliamentary:-2,unpleasant:-2,unpleasantness:-2,unprofessional:-2,unravel:1,unreleting:-2,unresearched:-2,unsafe:-2,unsatisfied:-2,unscientific:-2,unsecured:-2,unselfish:2,unsettled:-1,unsold:-1,unsophisticated:-2,unsound:-2,unstable:-2,unstoppable:2,unsuccessful:-2,unsuccessfully:-2,unsupported:-2,unsure:-1,untarnished:2,untrue:-2,unwanted:-2,unworthy:-2,uplifting:2,uproar:-3,upset:-2,upsets:-2,upsetting:-2,uptight:-2,urgent:-1,useful:2,usefulness:2,useless:-2,uselessness:-2,vague:-2,validate:1,validated:1,validates:1,validating:1,vapid:-2,verdict:-1,verdicts:-1,vested:1,vexation:-2,vexing:-2,vibrant:3,vicious:-2,victim:-3,victimization:-3,victimize:-3,victimized:-3,victimizes:-3,victimizing:-3,victims:-3,victor:3,victors:3,victory:3,victories:3,vigilant:3,vigor:3,vile:-3,vindicate:2,vindicated:2,vindicates:2,vindicating:2,violate:-2,violated:-2,violates:-2,violating:-2,violation:-2,violations:-2,violence:-3,"violence-related":-3,violent:-3,violently:-3,virtuous:2,virulent:-2,vision:1,visionary:3,visioning:1,visions:1,vitality:3,vitamin:1,vitriolic:-3,vivacious:3,vividly:2,vociferous:-1,vomit:-3,vomited:-3,vomiting:-3,vomits:-3,vulnerability:-2,vulnerable:-2,walkout:-2,walkouts:-2,wanker:-3,want:1,war:-2,warfare:-2,warm:1,warmhearted:2,warmness:2,warmth:2,warn:-2,warned:-2,warning:-3,warnings:-3,warns:-2,waste:-1,wasted:-2,wasting:-2,wavering:-1,weak:-2,weakened:-2,weakness:-2,weaknesses:-2,wealth:3,wealthier:2,wealthy:2,weary:-2,weep:-2,weeping:-2,weird:-2,welcome:2,welcomed:2,welcomes:2,"well-being":2,"well-championed":3,"well-developed":2,"well-established":2,"well-focused":2,"well-groomed":2,"well-proportioned":2,whimsical:1,whitewash:-3,whore:-4,wicked:-2,widowed:-1,willingness:2,win:4,winner:4,winning:4,wins:4,winwin:3,wisdom:1,wish:1,wishes:1,wishing:1,withdrawal:-3,wits:2,woebegone:-2,woeful:-3,won:3,wonderful:4,wonderfully:4,woo:3,woohoo:3,wooo:4,woow:4,worn:-1,worried:-3,worries:-3,worry:-3,worrying:-3,worse:-3,worsen:-3,worsened:-3,worsening:-3,worsens:-3,worshiped:3,worst:-3,worth:2,worthless:-2,worthy:2,wow:4,wowow:4,wowww:4,wrathful:-3,wreck:-2,wrenching:-2,wrong:-2,wrongdoing:-2,wrongdoings:-2,wronged:-2,wrongful:-2,wrongfully:-2,wrongly:-2,wtf:-4,wtff:-4,wtfff:-4,xo:3,xoxo:3,xoxoxo:4,xoxoxoxo:4,yeah:1,yearning:1,yeees:2,yes:1,youthful:2,yucky:-2,yummy:3,zealot:-2,zealots:-2,zealous:2}},function(e,t,n){var i=n(403);e.exports={apply:function(e,t,n){return t>0&&i[e[t-1]]&&(n=-n),n}}},function(e){e.exports={cant:1,"can't":1,dont:1,"don't":1,doesnt:1,"doesn't":1,not:1,non:1,wont:1,"won't":1,isnt:1,"isn't":1}},function(e,t,n){var i={"./en/index":304};function r(e){var t=o(e);return n(t)}function o(e){var t=i[e];if(!(t+1)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=404},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n(20))&&i.__esModule?i:{default:i};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.prefix="titleStartWithKeyword",u(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),r(t,[{key:"run",value:function(e,t){if(""===e.getLower("keyword")||""===e.getLower("title"))return this.announce("empty",0);var n=e.getLower("title"),i=n.indexOf(e.getLower("keyword")),r=i>=0&&Math.floor(n.length/2)>i;return this.announce(r,r?this.getScore():0)}},{key:"getScore",value:function(){return"post"===rankMath.objectType?3:10}}]),t}();t.default=a},function(e,t,n){var i=n(114),r=n(119),o=n(61),u=n(0),a=n(22),s=n(62),l=n(115),c=n(64),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(a(e)&&(u(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||c(e)||o(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!i(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=c(n(281)),o=c(n(283)),u=n(408),a=c(n(409)),s=c(n(197)),l=c(n(300));function c(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.title="",this.content="",this.keyword="",this.permalink="",this.description="",this.thumbnailAlt="",this.contentWords=null,this.keywordPlurals=!1,this.keywordPermalink=!1,this.keywordCombinations=!1}return i(e,[{key:"get",value:function(e){return(0,r.default)(this,e)?this[e]:""}},{key:"getLower",value:function(e){return this.get(e+="Lower")}},{key:"setTitle",value:function(e){this.title=e,this.titleLower=e.toLowerCase()}},{key:"setPermalink",value:function(e){this.permalink=e,this.permalinkLower=e.toLowerCase()}},{key:"setDescription",value:function(e){this.description=e,this.descriptionLower=e.toLowerCase()}},{key:"setKeyword",value:function(e){this.keyword=e,this.keywordLower=e.toLowerCase(),this.keywordPlurals=!1,this.keywordPermalink=!1,this.keywordCombinations=!1,""!==e&&(this.keywordPermalink=(0,s.default)((0,l.default)(this.keywordLower.split(".").join(""))),this.keywordPlurals=new Map,(0,o.default)(this.keywordLower).forEach(function(e){this.keywordPlurals.set(e,u.pluralize.get(e))},this),this.keywordCombinations=(0,a.default)(this.keywordPlurals))}},{key:"setContent",value:function(e){this.content=e.replace(/<!--[\s\S]*?(?:-->)/g,""),this.contentLower=e.toLowerCase(),this.contentWords=null}},{key:"getContentWords",value:function(){return null!==this.contentWords&&!1!==this.contentWords?this.contentWords:(this.contentWords=(0,o.default)(this.getLower("content")),this.contentWords)}},{key:"setThumbnailAlt",value:function(e){this.thumbnailAlt=e}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.irregularSingles={},this.irregularPlurals={},this.uncountables={adulthood:!0,advice:!0,agenda:!0,aid:!0,alcohol:!0,ammo:!0,anime:!0,athletics:!0,audio:!0,bison:!0,blood:!0,bream:!0,buffalo:!0,butter:!0,carp:!0,cash:!0,chassis:!0,chess:!0,clothing:!0,cod:!0,commerce:!0,cooperation:!0,corps:!0,debris:!0,diabetes:!0,digestion:!0,elk:!0,energy:!0,equipment:!0,excretion:!0,expertise:!0,flounder:!0,fun:!0,gallows:!0,garbage:!0,graffiti:!0,headquarters:!0,health:!0,herpes:!0,highjinks:!0,homework:!0,housework:!0,information:!0,jeans:!0,justice:!0,kudos:!0,labour:!0,literature:!0,machinery:!0,mackerel:!0,mail:!0,media:!0,mews:!0,moose:!0,music:!0,mud:!0,manga:!0,news:!0,pike:!0,plankton:!0,pliers:!0,police:!0,pollution:!0,premises:!0,rain:!0,research:!0,rice:!0,salmon:!0,scissors:!0,seo:!0,series:!0,sewage:!0,shambles:!0,shrimp:!0,species:!0,staff:!0,swine:!0,tennis:!0,traffic:!0,transportation:!0,trout:!0,tuna:!0,wealth:!0,welfare:!0,whiting:!0,wildebeest:!0,wildlife:!0,wordpress:!0,you:!0},this.pluralizationRules=[[/[^aeiou]ese$/i,"$0"],[/deer$/i,"$0"],[/fish$/i,"$0"],[/measles$/i,"$0"],[/o[iu]s$/i,"$0"],[/pox$/i,"$0"],[/sheep$/i,"$0"],[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|octop|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"]],this.generateIrregularrules()}return i(e,[{key:"generateIrregularrules",value:function(){[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["whiskey","whiskies"],["thou","you"]].forEach(function(e){var t=e[0],n=e[1];this.irregularSingles[t]=n,this.irregularPlurals[n]=t},this)}},{key:"get",value:function(e){if(!e.length)return e;var t=e.toLowerCase();if(this.irregularPlurals.hasOwnProperty(t)&&this.restoreCase(e,t),this.irregularSingles.hasOwnProperty(t)&&this.restoreCase(e,this.irregularSingles[t]),this.uncountables.hasOwnProperty(t))return e;for(var n=this.pluralizationRules.length;n--;){var i=this.pluralizationRules[n];if(i[0].test(e))return this.replace(e,i)}return e}},{key:"restoreCase",value:function(e,t){return e===t?t:e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}},{key:"replace",value:function(e,t){var n=this;return e.replace(t[0],function(i,r){var o=n.interpolate(t[1],arguments);return n.restoreCase(""===i?e[r-1]:i,o)})}},{key:"interpolate",value:function(e,t){return e.replace(/\$(\d{1,2})/g,function(e,n){return t[n]||""})}}]),e}();t.pluralize=new r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=Array.from(e.keys()),n=t.length,u=[];function a(t){e.forEach(function(e,n){e===n||(0,i.default)(t,e)||u.push(t.join(" ").replace(n,e))})}u.push(t.join(" "));for(var s=0;n*n>s;s++)(0,r.default)(u[s])||a(u[s].split(" "));return u.push(Array.from(e.values()).join(" ")),(0,o.default)(u)};var i=u(n(43)),r=u(n(280)),o=u(n(410));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var i=n(411);e.exports=function(e){return e&&e.length?i(e):[]}},function(e,t,n){var i=n(116),r=n(412),o=n(413),u=n(117),a=n(414),s=n(110);e.exports=function(e,t,n){var l=-1,c=r,d=e.length,f=!0,p=[],h=p;if(n)f=!1,c=o;else if(200>d)h=t?[]:p;else{var g=t?null:a(e);if(g)return s(g);f=!1,c=u,h=new i}e:for(;++l<d;){var y=e[l],m=t?t(y):y;if(y=n||0!==y?y:0,f&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue e;t&&h.push(m),p.push(y)}else c(h,m,n)||(h!==p&&h.push(m),p.push(y))}return p}},function(e,t,n){var i=n(123);e.exports=function(e,t){return!(null==e||!e.length)&&i(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}},function(e,t,n){var i=n(120),r=n(294),o=n(110),u=i&&1/o(new i([,-0]))[1]==1/0?function(e){return new i(e)}:r;e.exports=u},function(e,t,n){var i=n(416),r=n(37),o=n(417),u=n(0);e.exports=function(e,t){return(u(e)?i:r)(e,o(t))}},function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}},function(e,t,n){var i=n(108);e.exports=function(e){return"function"==typeof e?e:i}}]);
|
assets/admin/js/common.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=305)}({305:function(e,t,a){"use strict";var n,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=jQuery,String.prototype.format||(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,function(t,a){return void 0!==e[a]?e[a]:t})}),String.prototype.trimRight=function(e){return void 0===e&&(e="s"),this.replace(RegExp("["+e+"]+$"),"")},n(function(){window.rankMathAdmin={init:function(){this.misc(),this.tabs(),this.searchConsole(),this.dependencyManager()},misc:function(){void 0!==jQuery.fn.select2&&n("[data-s2]").select2(),n(".cmb-group-text-only,.cmb-group-fix-me").each(function(){var e=n(this),t=e.find(".cmb-repeatable-group"),a=t.find("> .cmb-row:eq(0) > .cmb-th");e.prepend('<div class="cmb-th"><label>'+a.find("h2").text()+"</label></div>"),t.find(".cmb-add-row").append('<span class="cmb2-metabox-description">'+a.find("p").text()+"</span>"),a.parent().remove()}),n(".required, [required]").on("input invalid",function(e){e.preventDefault();var t=n(this);e.target.validity.valid?t.removeClass("invalid animated shake"):t.addClass("invalid animated shake")}),n(".rank-math-collapsible-trigger").on("click",function(e){e.preventDefault();var t=n(this),a=n("#"+t.data("target"));t.toggleClass("open"),a.toggleClass("open")})},searchConsole:function(){var e=this,t=null,a=n("#console_authorization_code"),i=n("#console_profile"),o=a.parent(),s=i.parent(),c=s.find(".button-primary"),l=n("body").hasClass("rank-math-wizard-body--searchconsole")?n("> p:first-of-type",".cmb-form"):n("h1",".rank-math-wrap-settings");a.after(o.find(".button")),i.after(s.find(".button")),t=c.prev(),a.data("authorized")&&a.hide(),o.on("click",".button-secondary",function(e){e.preventDefault(),window.open(this.href,"","width=800, height=600")}),o.on("click",".button-primary",function(i){i.preventDefault();var s=n(this);s.prop("disabled",!0),a.data("authorized")?e.ajax("search_console_deauthentication").always(function(){s.prop("disabled",!1)}).done(function(){a.val(""),n("#submit-cmb").trigger("click"),"object"===("undefined"==typeof rankMathSetupWizard?"undefined":r(rankMathSetupWizard))&&(a.show(),a.data("authorized",!1),o.find(".button-secondary").show(),s.html("Authorize"),t.prop("disabled",!0),c.prop("disabled",!0))}):(a.addClass("input-loading"),e.ajax("search_console_authentication",{code:a.val()}).always(function(){s.prop("disabled",!1),a.removeClass("input-loading")}).done(function(n){n&&!n.success&&e.addNotice(n.error,"error",l),n&&"fail"===n.status&&e.addNotice(n.body.error_description,"error",l),n&&"success"===n.status&&(a.hide(),a.data("authorized",!0),o.find(".button-secondary").hide(),s.html("De-authorize Account"),c.trigger("click"),t.removeAttr("disabled"))}))}),c.on("click",function(a){a.preventDefault(),c.prop("disabled",!0),t.addClass("input-loading"),e.ajax("search_console_get_profiles").always(function(){c.prop("disabled",!1),n(".console-cache-update-manually").prop("disabled",!1),t.removeClass("input-loading")}).done(function(a){if(a&&!a.success&&e.addNotice(a.error,"error",l),a&&a.success){var r=a.selected||t.val();t.html(""),n.each(a.profiles,function(e,a){t.append('<option value="'+e+'">'+a+"</option>")}),t.val(r||Object.keys(a.profiles)[0])}})})},dependencyManager:function(){var e=this,t=n(".cmb-form, .rank-math-metabox-wrap");n(".cmb-repeat-group-wrap",t).each(function(){var e=n(this),t=e.next(".rank-math-cmb-dependency.hidden");t.length&&e.find("> .cmb-td").append(t)}),n(".rank-math-cmb-dependency",t).each(function(){e.loopDependencies(n(this))}),n("input, select",t).on("change",function(){var t=n(this).attr("name");n('span[data-field="'+t+'"]').each(function(){e.loopDependencies(n(this).closest(".rank-math-cmb-dependency"))})})},checkDependency:function(e,t,a){return"string"==typeof t&&t.includes(",")&&"="===a?t.includes(e):"string"==typeof t&&t.includes(",")&&"!="===a?!t.includes(e):"="===a&&e===t||"=="===a&&e===t||">="===a&&e>=t||"<="===a&&t>=e||">"===a&&e>t||"<"===a&&t>e||"!="===a&&e!==t},loopDependencies:function(e){var t,a=this,r=e.data("relation");e.find("span").each(function(){var e=n(this),i=e.data("value"),o=e.data("comparison"),s=n("[name='"+e.data("field")+"']"),c=s.val();s.is(":radio")&&(c=s.filter(":checked").val()),s.is(":checkbox")&&(c=s.is(":checked"));var l=a.checkDependency(c,i,o);if("or"===r&&l)return t=!0,!1;"and"===r&&(t=void 0===t?l:t&&l)});var i=e.closest(".rank-math-cmb-group");i.length||(i=e.closest(".cmb-row")),t?i.slideDown(300):i.hide()},tabs:function(){var e=n(".rank-math-tabs-navigation");e.length&&e.each(function(){var t=n(this),a=t.closest(".rank-math-tabs"),r=n(">a",t),i=n(">.rank-math-tabs-content>.rank-math-tab",a),o=t.data("active-class")||"active";r.on("click",function(){var e=n(this),t=e.attr("href");return r.removeClass(o),i.hide(),e.addClass(o),n(t).show(),!1});var s=location.hash||localStorage.getItem(a.attr("id"));null===s?r.eq(0).trigger("click"):(s=n('a[href="'+s+'"]',t)).length?s.trigger("click"):r.eq(0).trigger("click"),e.next().css("min-height",t.outerHeight())})},variableInserter:function(e){var t=this,a=n("body"),r=n("input[type=text], textarea",".rank-math-supports-variables");if(e=void 0===e||e,r.length){r.attr("autocomplete","off"),r.wrap('<div class="rank-math-variables-wrap"/>'),n(".rank-math-variables-wrap").append('<a href="#" class="rank-math-variables-button button button-secondary"><span class="dashicons dashicons-arrow-down-alt2"></span></a>'),e&&(n(".rank-math-variables-wrap").after('<div class="rank-math-variables-preview" data-title="Example"/>'),r.on("rank_math_variable_change input",function(e){var a=n(e.currentTarget),r=t.replaceVariables(a.val());r.length>60&&a.attr("name").indexOf("title")>=0&&(r=r.substring(0,60)+"..."),a.parent().next(".rank-math-variables-preview").html(r)}),r.trigger("rank_math_variable_change"));var i=n("<ul/>"),o=n('<div class="rank-math-variables-dropdown"><input type="text" placeholder="Search …"></div>');n.each(rankMath.variables,function(e){i.append('<li data-var="%'+e+'%"'+(this.example?' data-example="'+this.example+'"':"")+"><strong>"+this.name+"</strong><span>"+this.desc+"</span></li>")}),o.append(i),n(".rank-math-variables-wrap:eq(0)").append(o);var s=n(".rank-math-variables-button, .rank-math-variables-button *, .rank-math-variables-dropdown, .rank-math-variables-dropdown *");n(a).on("click",function(e){n(e.target).is(s)||o.hide()});var c=o.find("input"),l=o.find("li");n(a).on("click",".rank-math-variables-button",function(e){e.preventDefault(),n(this).after(o),l.show(),o.show(),c.val("").focus()}),o.on("click","li",function(e){e.preventDefault();var t=n(this),a=t.closest(".rank-math-variables-wrap").find(">:first-child");a.val(n.trim(a.val())+" "+t.data("var")),a.trigger("rank_math_variable_change").trigger("input"),o.hide()}),o.on("keyup","input",function(e){e.preventDefault();var t=n(this).val().toLowerCase();2>t.length?l.show():l.hide().each(function(){var e=n(this);-1!==e.text().toLowerCase().indexOf(t)&&e.show()})})}},replaceVariables:function(e){return n.each(rankMath.variables,function(t){if(!this.example)return!0;t=t.replace(/\([a-z]+\)/g,"\\(.*?\\)"),e=e.replace(RegExp("%+"+t+"%+","g"),this.example)}),e},ajax:function(e,t,a){return n.ajax({url:rankMath.ajaxurl,type:a||"POST",dataType:"json",data:n.extend(!0,{action:"rank_math_"+e,security:rankMath.security},t)})},addNotice:function(e,t,a,r){t=t||"error",r=r||!1;var i=n('<div class="notice notice-'+t+' is-dismissible"><p>'+e+"</p></div>").hide();a.next(".notice").remove(),a.after(i),i.slideDown(),n(document).trigger("wp-updates-notice-added"),r&&setTimeout(function(){i.fadeOut()},r)}},window.rankMathAdmin.init()})}});
|
assets/admin/js/dashboard.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=306)}({306:function(e,t,r){"use strict";var n;(n=jQuery)(".required, [required]").on("input invalid",function(e){e.preventDefault();var t=n(this);e.target.validity.valid?t.removeClass("invalid animated shake"):t.addClass("invalid animated shake")}),n(".dashboard-deactivate-plugin").on("click",function(e){e.preventDefault();var t=n(this);return n.ajax({url:ajaxurl,type:"POST",data:{action:"rank_math_deactivate_plugins",security:rankMath.security,plugin:"all"}}).always(function(e){"1"===e?t.parents(".rank-math-notice").remove():console.log("Deactivation error")}),!1}),"undefined"!=typeof ClipboardJS&&(n(".get-debug-report").on("click",function(){return n("#debug-report").slideDown(),n("#debug-report textarea").focus().select(),n(this).parent().fadeOut(),!1}),new ClipboardJS("#copy-for-support"))}});
|
assets/admin/js/feedback.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=307)}({307:function(e,t,n){"use strict";var r;(r=jQuery)(function(){var e=r("#rank-math-feedback-form"),t=e.find(".rank-math-feedback-input-wrapper"),n=e.find("form"),o=r("#the-list").find('[data-slug*="rank-math"] span.deactivate a');o.on("click",function(t){t.preventDefault(),e.fadeIn()}),e.on("change","input:radio",function(){var e=r(this).parent();t.removeClass("checked"),e.toggleClass("checked")}),e.on("click",".button-skip",function(){location.href=o.attr("href")}),e.on("click",".button-close",function(t){t.preventDefault(),e.fadeOut()}),n.on("submit",function(e){e.preventDefault(),n.find(".button-submit").text("").addClass("loading"),r.ajax({url:ajaxurl,type:"POST",dataType:"json",data:n.serialize()}).done(function(){location.href=o.attr("href")})})})}});
|
assets/admin/js/import-export.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=308)}({308:function(e,t,r){"use strict";var a;(a=jQuery)(function(){({init:function(){var e=this;a(document.body).on("click",".rank-math-action",function(t){var r=a(this).data("action");r in e&&e[r](t)}),this.importConfirm()},importConfirm:function(){var e=a("#import-me");e.on("change",function(){e.removeClass("invalid")}),a("#rank-math-import-form").on("submit",function(t){if(!e.get(0).files.length)return e.addClass("invalid"),void t.preventDefault();confirm(rankMath.importConfirm)||t.preventDefault()})},createBackup:function(e){var t=this,r=a(e.currentTarget);r.prop("disabled",!0),t.ajax("create_backup").always(function(){r.prop("disabled",!1)}).done(function(e){if(e.success){var n=r.parent().find("tbody"),o=n.find("tr:first").clone();o.removeClass("hidden").find("th").html(e.backup),o.find("[data-action]").attr("data-key",e.key),n.prepend(o),a("#rank-math-no-backup-message").addClass("hidden"),t.addNotice(e.message,"success",a(".wp-header-end"),2e3)}else t.addNotice(e.error,"error",a(".wp-header-end"),2e3)})},restoreBackup:function(e){if(confirm(rankMath.restoreConfirm)){var t=this,r=a(e.currentTarget);r.prop("disabled",!0),t.ajax("restore_backup",{key:r.attr("data-key")}).always(function(){r.prop("disabled",!1)}).done(function(e){e.success?t.addNotice(e.message,"success",a(".wp-header-end"),2e3):t.addNotice(e.error,"error",a(".wp-header-end"),2e3)})}},deleteBackup:function(e){if(confirm(rankMath.deleteBackupConfirm)){var t=this,r=a(e.currentTarget);r.prop("disabled",!0),t.ajax("delete_backup",{key:r.data("key")}).always(function(){r.prop("disabled",!1)}).done(function(e){if(e.success){var n=r.closest("table");r.closest("tr").fadeOut(function(){a(this).remove(),1>n.find("tr").length&&a("#rank-math-no-backup-message").show()}),t.addNotice(e.message,"success",a(".wp-header-end"),2e3)}else t.addNotice(e.error,"error",a(".wp-header-end"),2e3)})}},importPlugin:function(e){if(confirm(rankMath.importConfirm)){var t=a(e.currentTarget);t.prop("disabled",!0);var r=a.map(t.closest("tr").next("tr").find("input:checkbox:checked"),function(e){return e.value});if(1>r.length)this.addNotice("Select data to import.","error",a(".wp-header-end"),2e3);else{t.data("active")&&r.push("deactivate");var n=a('<textarea id="import-progress-area" class="import-progress-area large-text" disabled="disabled" rows="8" style="margin: 20px 0;background: #eee;"></textarea>');a("#import-progress-area").remove(),t.closest(".list-table").after(n),this.addLog("Import started...",n),this.ajaxImport(t.data("slug"),r,n,null,function(){t.prop("disabled",!1),setTimeout(function(){n.fadeOut(function(){n.remove()})},3e3)})}}},ajaxImport:function(e,t,r,a,n){var o=this;if(0===t.length)return o.addLog("Import finished.",r),void n();var i=t.shift();a=a||1,o.addLog("deactivate"===i?"Deactivating plugin":"Importing "+i,r),o.ajax("import_plugin",{perform:i,pluginSlug:e,paged:a}).done(function(a){var s=1;a&&a.page&&a.total_pages>a.page&&(s=a.page+1,t.unshift(i)),o.addLog(a.success?a.message:a.error,r),o.ajaxImport(e,t,r,s,n)}).fail(function(a){o.addLog(a.statusText,r),o.ajaxImport(e,t,r,null,n)})},addLog:function(e,t){var r=new Date,a=t.val()+"["+(10>r.getHours()?"0":"")+r.getHours()+":"+(10>r.getMinutes()?"0":"")+r.getMinutes()+":"+(10>r.getSeconds()?"0":"")+r.getSeconds()+"] "+e+"\n";t.text(a).scrollTop(t[0].scrollHeight-t.height()-20)},cleanPlugin:function(e){if(confirm(rankMath.cleanPluginConfirm)){var t=this,r=a(e.currentTarget);r.prop("disabled",!0),t.ajax("clean_plugin",{pluginSlug:r.data("slug")}).always(function(){r.prop("disabled",!1)}).done(function(e){e.success&&r.closest("tr").fadeOut(function(){a(this).remove()}),t.addNotice(e.success?e.message:e.error,e.success?"success":"error",a(".wp-header-end"),2e3)})}},ajax:function(e,t,r){return a.ajax({url:rankMath.ajaxurl,type:r||"POST",dataType:"json",data:a.extend(!0,{action:"rank_math_"+e,security:rankMath.security},t)})},addNotice:function(e,t,r,n){t=t||"error",n=n||!1;var o=a('<div class="notice notice-'+t+' is-dismissible"><p>'+e+"</p></div>").hide();a(".notice").hide(),r.after(o),o.slideDown(),a(document).trigger("wp-updates-notice-added"),n&&setTimeout(function(){o.fadeOut(function(){o.remove()})},n)}}).init()})}});
|
assets/admin/js/jquery.tag-editor.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
(function(a){a.fn.tagEditor=function(b,c,f){function g(m){return m.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''')}var h,j=a.extend({},a.fn.tagEditor.defaults,b),k=this;if(j.dregex=new RegExp('['+j.delimiter.replace('-','-')+']','g'),'string'==typeof b){var l=[];return k.each(function(){var m=a(this),n=m.data('options'),p=m.next('.tag-editor');if('getTags'==b)l.push({field:m[0],editor:p,tags:p.data('tags')});else if('addTag'==b){if(n.maxTags&&p.data('tags').length>=n.maxTags)return!1;a('<li><div class="tag-editor-spacer"> '+n.delimiter[0]+'</div><div class="tag-editor-tag"></div><div class="tag-editor-delete"><i></i></div></li>').appendTo(p).find('.tag-editor-tag').html('<input type="text" maxlength="'+n.maxLength+'">').addClass('active').find('input').val(c).blur(),f?a('.placeholder',p).remove():p.click()}else'removeTag'==b?(a('.tag-editor-tag',p).filter(function(){return a(this).text()==c}).closest('li').find('.tag-editor-delete').click(),f||p.click()):'clearTags'==b?a('li',p).find('.tag-editor-delete').click():'destroy'==b&&m.removeClass('tag-editor-hidden-src').removeData('options').off('focus.tag-editor').next('.tag-editor').remove()}),'getTags'==b?l:this}return window.getSelection&&a(document).off('keydown.tag-editor').on('keydown.tag-editor',function(m){if(8==m.which||46==m.which||m.ctrlKey&&88==m.which){try{var n=getSelection(),p='INPUT'==document.activeElement.tagName?0:a(n.getRangeAt(0).startContainer.parentNode).closest('.tag-editor')}catch(t){p=0}if(0<n.rangeCount&&p&&p.length){var q=[],r=n.toString().split(p.prev().data('options').dregex);for(i=0;i<r.length;i++){var s=a.trim(r[i]);s&&q.push(s)}return a('.tag-editor-tag',p).each(function(){~a.inArray(a(this).text(),q)&&a(this).closest('li').find('.tag-editor-delete').click()}),!1}}}),k.each(function(){function m(){!j.placeholder||t.length||a('.deleted, .placeholder, input',u).length||u.append('<li class="placeholder"><div>'+j.placeholder+'</div></li>')}function n(z){var A=t.toString();t=a('.tag-editor-tag:not(.deleted)',u).map(function(B,C){var D=a(this),E=a.trim(D.hasClass('active')?D.find('input').val():a(C).text());if(E)return E}).get(),u.data('tags',t),s.val(t.join(j.delimiter[0])),z||A==t.toString()||j.onChange(s,u,t),m(),z&&s.trigger('tag-editor-init',[u,t])}function p(z,A){return!1!==j.beforeTagDelete(z,u,t,A.text())&&(A.addClass('deleted').animate({width:0},j.animateDelete,function(){z.remove(),m()}),n(),!1)}function q(z){for(var F,A=z.closest('li'),B=z.val().replace(/ +/,' ').split(j.dregex),C=z.data('oldTag'),D=t.slice(0),E=!1,G=0;G<B.length;G++)if((y=a.trim(B[G]).slice(0,j.maxLength),j.forceLowercase&&(y=y.toLowerCase()),F=j.beforeTagSave(s,u,D,C,y),y=F||y,!1!==F&&y)&&(j.removeDuplicates&&~a.inArray(y,D)&&r(y),D.push(y),A.before('<li><div class="tag-editor-spacer"> '+j.delimiter[0]+'</div><div class="tag-editor-tag">'+g(y)+'</div><div class="tag-editor-delete"><i></i></div></li>'),j.maxTags&&D.length>=j.maxTags)){E=!0;break}z.attr('maxlength',j.maxLength).removeData('oldTag').val(''),E?z.blur():z.focus(),n()}function r(z){a('.tag-editor-tag:not(.active)',u).each(function(){var A=a(this);A.text()==z&&A.closest('li').remove()})}var s=a(this),t=[],u=a('<ul '+(j.clickDelete?'oncontextmenu="return false;" ':'')+'class="tag-editor"></ul>').insertAfter(s);s.addClass('tag-editor-hidden-src').data('options',j).on('focus.tag-editor',function(){u.click()}),u.append('<li style="width:1px"> </li>');var v='<li><div class="tag-editor-spacer"> '+j.delimiter[0]+'</div><div class="tag-editor-tag"></div><div class="tag-editor-delete"><i></i></div></li>';u.click(function(z,A){var B,C,D=99999;if(!(window.getSelection&&''!=getSelection()))return j.maxTags&&u.data('tags').length>=j.maxTags?(u.find('input').blur(),!1):(h=!0,a('input:focus',u).blur(),!!h)&&(h=!0,a('.placeholder',u).remove(),A&&A.length?C='before':a('.tag-editor-tag',u).each(function(){var E=a(this),F=E.offset(),G=F.left,H=F.top;z.pageY>=H&&z.pageY<=H+E.height()&&(z.pageX<G?(C='before',B=G-z.pageX):(C='after',B=z.pageX-G-E.width()),B<D&&(D=B,A=E))}),'before'==C?a(v).insertBefore(A.closest('li')).find('.tag-editor-tag').click():'after'==C?a(v).insertAfter(A.closest('li')).find('.tag-editor-tag').click():a(v).appendTo(u).find('.tag-editor-tag').click(),!1)}),u.on('click','.tag-editor-delete',function(){var A=a(this);if(A.prev().hasClass('active'))return A.closest('li').find('input').caret(-1),!1;var B=A.closest('li'),C=B.find('.tag-editor-tag');return p(B,C)}),j.clickDelete&&u.on('mousedown','.tag-editor-tag',function(z){if(z.ctrlKey||1<z.which){var A=a(this).closest('li'),B=A.find('.tag-editor-tag');return p(A,B)}}),u.on('click','.tag-editor-tag',function(z){var A=a(this);if(j.clickDelete&&(z.ctrlKey||1<z.which))return!1;if(!1===j.onSelect(A,u,t))return!1;if(!A.hasClass('active')){var B=A.text(),C=Math.abs((A.offset().left-z.pageX)/A.width()),D=parseInt(B.length*C),E=A.html('<input type="text" maxlength="'+j.maxLength+'" value="'+g(B)+'">').addClass('active').find('input');if(E.data('oldTag',B).focus().caret(D),j.autocomplete){var F=a.extend({},j.autocomplete),G='select'in F?j.autocomplete.select:'';F.select=function(H,I){G&&G(H,I),setTimeout(function(){u.trigger('click',[a('.active',u).find('input').closest('li').next('li').find('.tag-editor-tag')])},20)},E.autocomplete(F)}}return!1}),u.on('blur','input',function(z){z.stopPropagation();var D,A=a(this),B=A.data('oldTag'),C=a.trim(A.val().replace(/ +/,' ').replace(j.dregex,j.delimiter[0]));if(!C){if(B&&!1===j.beforeTagDelete(A.closest('li'),u,t,B))return A.val(B).focus(),h=!1,void n();try{A.closest('li').remove()}catch(E){}B&&n()}else{if(0<=C.indexOf(j.delimiter[0]))return void q(A);if(C!=B)if(j.forceLowercase&&(C=C.toLowerCase()),D=j.beforeTagSave(s,u,t,B,C),C=D||C,!1===D){if(B)return A.val(B).focus(),h=!1,void n();try{A.closest('li').remove()}catch(E){}B&&n()}else j.removeDuplicates&&r(C)}A.parent().html(g(C)).removeClass('active'),C!=B&&n(),m()}),u.on('paste','input',function(){a(this).removeAttr('maxlength');var A=a(this);setTimeout(function(){q(A)},30)}),u.on('keypress','input',function(z){if(0<=j.delimiter.indexOf(String.fromCharCode(z.which))){var A=a(this);setTimeout(function(){q(A)},20)}}),u.on('keydown','input',function(z){var A=a(this);if((37==z.which||!j.autocomplete&&38==z.which)&&!A.caret()||8==z.which&&!A.val()){var B=A.closest('li').prev('li').find('.tag-editor-tag');return B.length?B.click().find('input').caret(-1):A.val()&&!(j.maxTags&&u.data('tags').length>=j.maxTags)&&a(v).insertBefore(A.closest('li')).find('.tag-editor-tag').click(),!1}if((39==z.which||!j.autocomplete&&40==z.which)&&A.caret()==A.val().length){var C=A.closest('li').next('li').find('.tag-editor-tag');return C.length?C.click().find('input').caret(0):A.val()&&u.click(),!1}if(9==z.which){if(z.shiftKey){var B=A.closest('li').prev('li').find('.tag-editor-tag');if(B.length)B.click().find('input').caret(0);else if(A.val()&&!(j.maxTags&&u.data('tags').length>=j.maxTags))a(v).insertBefore(A.closest('li')).find('.tag-editor-tag').click();else return s.attr('disabled','disabled'),void setTimeout(function(){s.removeAttr('disabled')},30);return!1}var C=A.closest('li').next('li').find('.tag-editor-tag');if(C.length)C.click().find('input').caret(0);else if(A.val())u.click();else return;return!1}if(46==z.which&&(!a.trim(A.val())||A.caret()==A.val().length)){var C=A.closest('li').next('li').find('.tag-editor-tag');return C.length?C.click().find('input').caret(0):A.val()&&u.click(),!1}if(13==z.which)return u.trigger('click',[A.closest('li').next('li').find('.tag-editor-tag')]),j.maxTags&&u.data('tags').length>=j.maxTags&&u.find('input').blur(),!1;if(36==z.which&&!A.caret())u.find('.tag-editor-tag').first().click();else if(35==z.which&&A.caret()==A.val().length)u.find('.tag-editor-tag').last().click();else if(27==z.which)return A.val(A.data('oldTag')?A.data('oldTag'):'').blur(),!1});for(var y,w=j.initialTags.length?j.initialTags:s.val().split(j.dregex),x=0;x<w.length&&!(j.maxTags&&x>=j.maxTags);x++)y=a.trim(w[x].replace(/ +/,' ')),y&&(j.forceLowercase&&(y=y.toLowerCase()),t.push(y),u.append('<li><div class="tag-editor-spacer"> '+j.delimiter[0]+'</div><div class="tag-editor-tag">'+g(y)+'</div><div class="tag-editor-delete"><i></i></div></li>'));n(!0),j.sortable&&a.fn.sortable&&u.sortable({distance:5,cancel:'.tag-editor-spacer, input',helper:'clone',update:function(){n()}})})},a.fn.tagEditor.defaults={initialTags:[],maxTags:rankMath.maxTags,maxLength:250,delimiter:',;',placeholder:'',forceLowercase:!0,removeDuplicates:!0,clickDelete:!1,animateDelete:175,sortable:!0,autocomplete:null,onSelect:function(){return!0},onChange:function(){},beforeTagSave:function(){},beforeTagDelete:function(){}}})(jQuery);
|
assets/admin/js/option-panel.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(t){var e={};function a(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=309)}({309:function(t,e,a){"use strict";var n;(n=jQuery)(function(){window.rankMathOptions={init:function(){this.misc(),this.preview(),this.scCache(),rankMathAdmin.variableInserter(),this.searchEngine.init(),this.addressFormat()},searchEngine:{init:function(){this.form=n(".rank-math-search-options"),this.wrap=this.form.closest(".rank-math-wrap-settings"),this.input=this.form.find("input"),this.select=this.form.find("select"),this.tabs=this.wrap.find(".rank-math-tabs"),this.panels=this.wrap.find(".rank-math-tab"),this.indexes={},this.buildIndex(),this.events()},events:function(){var t=this,e=!0,a=t.tabs.find(">.rank-math-tabs-navigation"),r=n('<div class="rank-math-search-dropdown"></div>');t.tabs.find(">.rank-math-tabs-content").prepend('<div class="rank-math-setting-search-empty hidden">No results found.</div>'),t.form.append(r),t.select.val(rankMath.optionPage),r.hide().empty();var o=_.debounce(function(e){t.wrap.addClass("searching"),t.panels.show(),t.searchOptions(e,t.wrap)},300),i=_.debounce(function(e){t.wrap.addClass("searching"),t.searchIndexes(e,r)},300);t.form.on("click",".clear-search",function(e){e.preventDefault(),t.input.val(""),t.clearSearch(a)}),t.select.on("change",function(){e=t.select.val()===rankMath.optionPage,r.hide().empty(),e||(t.clearSearch(a),r.append(t.indexes[t.select.val()])),t.input.trigger("input")}),t.input.on("input",function(){if(""===t.input.val())return t.clearSearch(a,!e&&r),!1;e?o(t.input.val().toLowerCase()):i(t.input.val().toLowerCase())}),r.on("click",".cmb-row",function(){var e=n(this);window.location=location.pathname+"?page=rank-math-options-"+t.select.val()+"#"+e.closest(".dropdown-tab").attr("id")});var s=n(".rank-math-search-options, .rank-math-search-options *, .rank-math-search-dropdown, .rank-math-search-dropdown *");n("body").on("click",function(t){n(t.target).is(s)||r.hide()})},searchIndexes:function(t,e){if(t.trim().length>=1){var a=0;e.find(".cmb-row").hide().each(function(){var e=n(this);e.text().trim().toLowerCase().includes(t)&&(e.show(),++a)}),e.show(),e.toggleClass("empty",0===a)}},searchOptions:function(t,e){if(t.trim().length>=1){n(".cmb-row").hide().each(function(){var e=n(this);e.hasClass("cmb-type-title")?e.hide():e.text().trim().toLowerCase().includes(t)&&e.show()});var a=n(".cmb-row:visible");0===a.length?e.addClass("search-no-results"):(e.removeClass("search-no-results"),a.each(function(){n(this).find("input, select").each(function(){n('span[data-field="'+n(this).attr("name")+'"]').each(function(){rankMathAdmin.loopDependencies(n(this).closest(".rank-math-cmb-dependency"))})})}))}},clearSearch:function(t,e){e=e||!1,this.wrap.removeClass("searching search-no-results"),n(">a.active",t).trigger("click"),e?e.hide():(n(".cmb-row").show(),n(".rank-math-cmb-dependency",".cmb-form, .rank-math-metabox-wrap").each(function(){rankMathAdmin.loopDependencies(n(this))}))},buildIndex:function(){var t=localStorage.getItem("rank-math-option-search-index"),e=localStorage.getItem("rank-math-option-search-premium"),a=void 0===t||rankMath;a=void 0===e||e!==rankMath.hasPremium,["general","titles","sitemap"].forEach(function(t){this.getIndex(t,a)},this),a&&(localStorage.setItem("rank-math-option-search-index",rankMath.version),localStorage.setItem("rank-math-option-search-premium",rankMath.hasPremium))},getIndex:function(t,e){var a=this;e?n("<div/>").load(rankMath.adminurl+"?page=rank-math-options-"+t,function(e,r){if("error"!==r){var o=n(e).find(".rank-math-tabs-content");o.find(".rank-math-tab").removeClass().addClass("dropdown-tab"),o.find(".cmb-row").each(function(){var t=n(this);(t.hasClass("cmb-type-title")||t.hasClass("cmb-type-notice"))&&t.remove(),t.find(".cmb-td").children(":not(.cmb2-metabox-description)").remove(),t.find("label,.cmb2-metabox-description").unwrap(),t.removeAttr("data-fieldtype")}),o=o.html().replace(/(\r\n\t|\n|\r\t)/gm,""),a.indexes[t]=n(o),localStorage.setItem("rank-math-option-"+t+"-index",o)}}):a.indexes[t]=n(localStorage.getItem("rank-math-option-"+t+"-index"))}},scCache:function(){n(".console-cache-delete").on("click",function(t){t.preventDefault();var e=n(this),a=e.data("days");window.confirm((-1===a?"You are about to delete your whole Cache. Every dataset older than 90 days is lost forever!":"You are about to delete your 90 days Cache?")+" Are you sure you want to continue?")&&(e.prop("disabled",!0),rankMathAdmin.ajax("search_console_delete_cache",{days:a},"GET").always(function(){e.prop("disabled",!1)}).done(function(t){t&&t.success&&(rankMathAdmin.addNotice("Cache deleted.","success",n("h1",".rank-math-wrap-settings")),n(".rank-math-console-db-info").remove(),n("#console-updating-manually-progress").before(t.message))}))}),n(".console-cache-update-manually").on("click",function(t){t.preventDefault();var e=n(this),a=n("#console_caching_control").val();e.prop("disabled",!0),rankMathAdmin.ajax("search_console_get_cache",{days:a},"GET").done(function(t){t&&t.success?rankMathAdmin.addNotice(t.message,"success",n("h1.page-title")):rankMathAdmin.addNotice("Unable to update cache due to: "+t.error,"error",n("h1.page-title"))})})},addressFormat:function(){var t=n("body"),e=n("input[type=text], textarea",".rank-math-address-format");if(e.length){e.attr("autocomplete","off"),e.wrap('<div class="rank-math-variables-wrap"/>');var a=e.parent(".rank-math-variables-wrap");a.append('<a href="#" class="rank-math-variables-button button button-secondary button-address"><span class="dashicons dashicons-arrow-down-alt2"></span></a>');var r=n("<ul/>"),o=n('<div class="rank-math-variables-dropdown"></div>');n.each({"{address} {locality}, {region} {postalcode}":"(New York, NY 12345)","{address} {postalcode}, {locality} {region}":"(New York 12345, NY)","{address} {locality} {postalcode}":"(New York NY 12345)","{postalcode} {region} {locality} {address}":"(12345 NY New York)","{address} {locality}":"(New York NY)"},function(t,e){r.append('<li data-var="'+e+'"><strong>'+t+"</strong></li>")}),o.append(r),n("rank-math-variables-wrap:eq(0)").append(o);var i=n(".rank-math-variables-button, .rank-math-variables-button *, .rank-math-variables-dropdown, .rank-math-variables-dropdown *");n(t).on("click",function(t){n(t.target).is(i)||o.hide()});var s=o.find("input"),c=o.find("li");n(a).on("click",".rank-math-variables-button",function(t){t.preventDefault(),n(this).after(o),c.show(),o.show(),s.val("").focus()}),o.on("click","li",function(t){t.preventDefault();var e=n(this);e.closest(".rank-math-variables-wrap").find("textarea").val(e.find("strong").text())})}},misc:function(){void 0!==jQuery.fn.select2&&n("[data-s2-pages]").select2({ajax:{url:rankMath.ajaxurl+"?action=rank_math_search_pages",dataType:"json",delay:250},width:"100%",minimumInputLength:3}),n("#htaccess_accept_changes").on("change",function(){this.checked?n("#htaccess_content").prop("readonly",!1):n("#htaccess_content").prop("readonly",!0)}),n(".reset-options").on("click",function(){return!!confirm("Are you sure? You want to reset settings.")&&(n(window).off("beforeunload"),!0)});var t=n(".rank-math-tabs");setTimeout(function(){localStorage.removeItem(t.attr("id"))},1e3),n(".save-options").on("click",function(){var e=n("> .rank-math-tabs-navigation > a.active",t);return localStorage.setItem(t.attr("id"),e.attr("href")),n(window).off("beforeunload"),!0});var e=!1;n(window).on("load",function(){n(".cmb-form").on("change","input, textarea, select",function(){e=!0})}),n(window).on("beforeunload",function(){if(e)return"Are you sure? You didn't finish the form!"}),n(".custom-sep").on("keyup",function(){var t=n(this),e=t.text();t.closest("li").find("input.cmb2-option").val(e).trigger("change")})},preview:function(){n("[data-preview]").on("change",function(){var t=n(this),e=null,a="";if(t.is(":radio")&&(e=t.closest(".cmb-td")),null!==e)if(e.hasClass("done"))t.is(":checked")&&(a=e.find("h5")).text(a.data("title").format(t.val()));else if(e.addClass("done"),"title"===t.data("preview")){var r="";r+='<div class="rank-math-preview-title" data-title="Preview"><div>',r+='<h5 data-title="'+rankMath.postTitle+" {0} "+rankMath.blogName+'"></h5>',r+="<span>"+rankMath.postUri+"</span>",e.append(r+="</div></div>"),(a=e.find("h5")).text(a.data("title").format(t.val()))}}).trigger("change")}},window.rankMathOptions.init()})}});
|
assets/admin/js/post-list.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(t){var n={};function e(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=t,e.c=n,e.d=function(t,n,a){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:a})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(a,r,function(n){return t[n]}.bind(null,r));return a},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=314)}({314:function(t,n,e){"use strict";var a,r;a=jQuery,r={init:function(){this.addButtons(),this.editingEvents(),this.saveEvents()},addButtons:function(){var t=a("#rank_math_seo_details, #rank_math_title, #rank_math_description, #rank_math_image_alt, #rank_math_image_title");t.each(function(){var t=a(this);t.append(' <a href=#" class="dashicons dashicons-edit" title="'+rankMath.bulkEditTitle+'"></a>'),t.wrapInner("<span/>"),t.append(' <span><a href="#" class="button button-primary button-small rank-math-column-save-all">'+rankMath.buttonSaveAll+'</a> <a href="#" class="button-link button-link-delete rank-math-column-cancel-all">'+rankMath.buttonCancel+"</a></span>")}),t.on("click",".dashicons-edit, .rank-math-column-cancel-all",function(n){n.preventDefault();var e=a(this).closest("th");a(this).hasClass("rank-math-column-cancel-all")?(t.removeClass("bulk-editing"),a(".rank-math-column-cancel","td.bulk-editing.dirty").trigger("click"),a("td.bulk-editing").removeClass("bulk-editing")):(e.toggleClass("bulk-editing"),a("td.column-"+e.attr("id")).toggleClass("bulk-editing"))})},editingEvents:function(){a(".rank-math-column-value").on("input",function(){var t=a(this),n=t.closest("td");t.text()!==t.prev().text()?n.addClass("dirty"):n.removeClass("dirty")}).on("keypress",function(t){if(13===t.keyCode)return a(this).parent().find(".rank-math-column-save").trigger("click"),!1}),a(".rank-math-column-cancel").on("click",function(t){t.preventDefault();var n=a(this).closest("td");n.removeClass("dirty");var e=n.find(".rank-math-column-value").prev(".rank-math-column-display");e.find("span").length&&(e=e.find("span")),n.find(".rank-math-column-value").text(e.text())})},saveEvents:function(){var t=this;a(".rank-math-column-save-all").on("click",function(n){n.preventDefault();var e={},r=[];a(".dirty.bulk-editing").each(function(){var t=a(this),n=parseInt(t.closest("tr").attr("id").replace("post-","")),i=t.find(".rank-math-column-value");r.push(t),e[n]=e[n]||{},e[n][i.data("field")]=i.text()}),t.save(e).done(function(n){n.success&&(r.forEach(function(n){t.setColumn(n)}),a(".rank-math-column-cancel-all","#rank_math_seo_details").trigger("click"))})}),a(".rank-math-column-save").on("click",function(n){n.preventDefault();var e=a(this).closest(".dirty"),r=parseInt(e.closest("tr").attr("id").replace("post-","")),i=e.find(".rank-math-column-value"),l={};l[r]={},l[r][i.data("field")]=i.text(),t.save(l).done(function(n){n.success&&t.setColumn(e)})})},setColumn:function(t){t.removeClass("dirty bulk-editing");var n=t.find(".rank-math-column-value").prev(".rank-math-column-display");n.find("span").length&&(n=n.find("span")),n.text(t.find(".rank-math-column-value").text())},save:function(t){return a.ajax({url:ajaxurl,type:"POST",dataType:"json",data:{action:"rank_math_bulk_edit_columns",security:rankMath.security,rows:t}})}},a(function(){r.init()})}});
|
assets/admin/js/post-metabox.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=310)}([function(e,t){e.exports=Array.isArray},function(e,t,r){var n=r(68),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},function(e,t,r){var n=r(94)("wks"),i=r(52),o=r(3).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(16),i=r(53);e.exports=r(5)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){e.exports=!r(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=jQuery},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=r(155),i=r(158);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},function(e,t,r){var n=r(21),i=r(134),o=r(135),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(89)("wks"),i=r(90),o=r(10).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(46),i=r(87);e.exports=r(32)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(17),i=r(96),o=r(98),a=Object.defineProperty;t.f=r(5)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(13);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(3),i=r(4),o=r(19),a=r(52)("src"),s=Function.toString,u=(""+s).split("toString");r(51).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(o(r,a)||i(r,a,e[t]?""+e[t]:u.join(t+""))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},,function(e,t,r){var n=r(1);e.exports=n.Symbol},function(e,t,r){var n=r(65),i=r(38);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,t,r){var n=r(131),i=r(114),o=r(22);e.exports=function(e){return o(e)?n(e):i(e)}},function(e,t,r){var n=r(145),i=r(146),o=r(147),a=r(148),s=r(149);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(71);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(8)(Object,"create");e.exports=n},function(e,t,r){var n=r(167);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(9),i=r(7);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},function(e,t,r){var n=r(28);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t){e.exports={}},function(e,t,r){var n=r(47);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){e.exports=!r(48)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(243),i=r(55);e.exports=function(e){return n(i(e))}},,function(e,t,r){var n=r(128),i=r(142)(n);e.exports=i},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&9007199254740991>=e}},function(e,t,r){var n=r(8)(r(1),"Map");e.exports=n},function(e,t,r){var n=r(159),i=r(166),o=r(168),a=r(169),s=r(170);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(0),i=r(28),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},function(e,t,r){var n=r(123),i=r(22),o=r(124),a=r(204),s=r(205),u=Math.max;e.exports=function(e,t,r,c){e=i(e)?e:s(e),r=r&&!c?a(r):0;var l=e.length;return 0>r&&(r=u(l+r,0)),o(e)?l>=r&&e.indexOf(t,r)>-1:!!l&&n(e,t,r)>-1}},function(e,t,r){var n=r(218),i=r(45);e.exports=function(e){return n(i(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(31),i=r(221),o=r(222),a=Object.defineProperty;t.f=r(32)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(89)("keys"),i=r(90);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(94)("keys"),i=r(52);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(4),i=r(18),o=r(34),a=r(55),s=r(2);e.exports=function(e,t,r){var u=s(e),c=r(a,u,""[e]),l=c[0],f=c[1];o(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(i(String.prototype,e,l),n(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,r){var n=r(143),i=r(186),o=r(108),a=r(0),s=r(194);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},,function(e,t,r){var n=r(133),i=r(7),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,r){!function(e){var n=r(1),i=r(136),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0;e.exports=(s?s.isBuffer:void 0)||i}(r(63)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(137),i=r(138),o=r(139),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},function(e,t,r){var n=r(9),i=r(14);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/<\/?[a-z][^>]*?>/gi,"\n")}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},function(e,t,r){var n;n=r(113),e.exports="object"==typeof n&&n&&n.Object===Object&&n},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&t>e}},function(e,t,r){var n=r(24),i=r(150),o=r(151),a=r(152),s=r(153),u=r(154);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(171),i=r(7);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},function(e,t,r){var n=r(116),i=r(174),o=r(117);e.exports=function(e,t,r,a,s,u){var c=1&r,l=e.length,f=t.length;if(!(l==f||c&&f>l))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,h=!0,v=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var m=e[d],g=t[d];if(a)var y=c?a(g,m,d,t,e,u):a(m,g,d,e,t,u);if(void 0!==y){if(y)continue;h=!1;break}if(v){if(!i(t,function(e,t){if(!o(v,t)&&(m===e||s(m,e,r,a,u)))return v.push(t)})){h=!1;break}}else if(m!==g&&!s(m,g,r,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},function(e,t,r){var n=r(14);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},function(e,t,r){var n=r(78),i=r(29);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&o>r;)e=e[i(t[r++])];return r&&r==o?e:void 0}},function(e,t,r){var n=r(0),i=r(41),o=r(188),a=r(79);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,r){var n=r(191);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(14),i=r(28),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var r=s.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},function(e,t,r){var n=r(14),i=r(272),o=r(80),a=Math.max,s=Math.min;e.exports=function(e,t,r){var u,c,l,f,p,d,h=0,v=!1,m=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var r=u,n=c;return u=c=void 0,h=t,f=e.apply(n,r)}function b(e){var r=e-d;return void 0===d||r>=t||0>r||m&&e-h>=l}function k(){var e=i();if(b(e))return w(e);p=setTimeout(k,function(e){var r=t-(e-d);return m?s(r,l-(e-h)):r}(e))}function w(e){return p=void 0,g&&u?y(e):(u=c=void 0,f)}function x(){var e=i(),r=b(e);if(u=arguments,c=this,d=e,r){if(void 0===p)return function(e){return h=e,p=setTimeout(k,t),v?y(e):f}(d);if(m)return p=setTimeout(k,t),y(d)}return void 0===p&&(p=setTimeout(k,t)),f}return t=o(t)||0,n(r)&&(v=!!r.leading,l=(m="maxWait"in r)?a(o(r.maxWait)||0,t):l,g="trailing"in r?!!r.trailing:g),x.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=c=p=void 0},x.flush=function(){return void 0===p?f:w(i())},x}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(84),i=r(85),o=r(223),a=r(15),s=r(30),u=r(224),c=r(92),l=r(232),f=r(12)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,m,g){u(r,t,h);var y,b,k,w=function(e){if(!p&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",_="values"==v,P=!1,O=e.prototype,j=O[f]||O["@@iterator"]||v&&O[v],S=j||w(v),T=v?_?w("entries"):S:void 0,C="Array"==t&&O.entries||j;if(C&&(k=l(C.call(new e)))!==Object.prototype&&k.next&&(c(k,x,!0),n||"function"==typeof k[f]||a(k,f,d)),_&&j&&"values"!==j.name&&(P=!0,S=function(){return j.call(this)}),n&&!g||!p&&!P&&O[f]||a(O,f,S),s[t]=S,s[x]=d,v)if(y={values:_?S:w("values"),keys:m?S:w("keys"),entries:T},g)for(b in y)b in O||o(O,b,y[b]);else i(i.P+i.F*(p||P),t,y);return y}},function(e,t){e.exports=!0},function(e,t,r){var n=r(10),i=r(11),o=r(219),a=r(15),s=r(33),u=function(e,t,r){var c,l,f,p=e&u.F,d=e&u.G,h=e&u.S,v=e&u.P,m=e&u.B,g=e&u.W,y=d?i:i[t]||(i[t]={}),b=y.prototype,k=d?n:h?n[t]:(n[t]||{}).prototype;for(c in d&&(r=t),r)(l=!p&&k&&void 0!==k[c])&&s(y,c)||(f=l?k[c]:r[c],y[c]=d&&"function"!=typeof k[c]?r[c]:m&&l?o(f,n):g&&k[c]==f?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[c]=f,e&u.R&&b&&!b[c]&&a(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){var n=r(47),i=r(10).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(227),i=r(91);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(11),i=r(10),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(84)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(46).f,i=r(33),o=r(12)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(45);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(51),i=r(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(95)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,r){e.exports=!r(5)&&!r(34)(function(){return 7!=Object.defineProperty(r(97)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(13),i=r(3).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(13);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(246);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(102),i=r(57);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(19),i=r(35),o=r(250)(!1),a=r(56)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(16).f,i=r(19),o=r(2)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(13),i=r(99),o=r(2)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,r){var n=r(210),i=r(211),o=r(238);e.exports=function(e,t){return n(e)||i(e,t)||o()}},function(e,t,r){e.exports=r(258)},function(e,t){e.exports=function(e){return e}},function(e,t,r){var n=r(67),i=r(127),o=r(59),a=r(0);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},function(e,t,r){var n=r(42),i=r(59),o=r(208),a=r(0);e.exports=function(e,t){return(a(e)?n:o)(e,i(t,3))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,"").replace(i,"")};var n=/\[[^<>&\/\[\] - =]+?( [^\]]+?)?\]/g,i=/\[\/[^<>&\/\[\] - =]+?\]/g},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(115),i=r(140),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){var n=r(40),i=r(172),o=r(173);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},function(e,t,r){var n=r(183),i=r(39),o=r(184),a=r(120),s=r(121),u=r(9),c=r(72),l=c(n),f=c(i),p=c(o),d=c(a),h=c(s),v=u;(n&&"[object DataView]"!=v(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=v(new i)||o&&"[object Promise]"!=v(o.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,r){var n=r(8)(r(1),"Set");e.exports=n},function(e,t,r){var n=r(8)(r(1),"WeakMap");e.exports=n},function(e,t,r){var n=r(78),i=r(61),o=r(0),a=r(69),s=r(38),u=r(29);e.exports=function(e,t,r){for(var c=-1,l=(t=n(t,e)).length,f=!1;++c<l;){var p=u(t[c]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(p,l)&&(o(e)||i(e))}},function(e,t,r){var n=r(201),i=r(202),o=r(203);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},function(e,t,r){var n=r(9),i=r(0),o=r(7);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},function(e,t,r){var n=r(80);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?1.7976931348623157e308*(0>e?-1:1):e==e?e:0:0===e?e:0}},,function(e,t,r){var n=r(37);e.exports=function(e,t){var r=[];return n(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}},function(e,t,r){var n=r(129),i=r(23);e.exports=function(e,t){return e&&n(e,t,i)}},function(e,t,r){var n=r(130)();e.exports=n},function(e,t){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===r(o[u],u,o))break}return t}}},function(e,t,r){var n=r(132),i=r(61),o=r(0),a=r(62),s=r(69),u=r(64),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),l=!r&&i(e),f=!r&&!l&&a(e),p=!r&&!l&&!f&&u(e),d=r||l||f||p,h=d?n(e.length,String):[],v=h.length;for(var m in e)!t&&!c.call(e,m)||d&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,v))||h.push(m);return h}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(9),i=r(7);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},function(e,t,r){var n=r(21),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(9),i=r(38),o=r(7),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){!function(e){var n=r(68),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}(r(63)(e))},function(e,t,r){var n=r(141)(Object.keys,Object);e.exports=n},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(22);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},function(e,t,r){var n=r(144),i=r(185),o=r(76);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(70),i=r(73);e.exports=function(e,t,r,o){var a=r.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=r[a])[0],f=e[l],p=c[1];if(u&&c[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(o)var h=o(f,p,l,e,t,d);if(!(void 0===h?i(p,f,3,o,d):h))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(25),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return r>=0&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(25);e.exports=function(e){var t=this.__data__,r=n(t,e);return 0>r?void 0:t[r][1]}},function(e,t,r){var n=r(25);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(25);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return 0>i?(++this.size,r.push([e,t])):r[i][1]=t,this}},function(e,t,r){var n=r(24);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(24),i=r(39),o=r(40);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||199>a.length)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(65),i=r(156),o=r(14),a=r(72),s=/^\[object .+?Constructor\]$/,u=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?u:s).test(a(e))}},function(e,t,r){var n,i=r(157),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(1);e.exports=n["__core-js_shared__"]},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(160),i=r(24),o=r(39);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},function(e,t,r){var n=r(161),i=r(162),o=r(163),a=r(164),s=r(165);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(26);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(26),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(26),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},function(e,t,r){var n=r(26);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,r){var n=r(27);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(27);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},function(e,t,r){var n=r(70),i=r(74),o=r(175),a=r(178),s=r(119),u=r(0),c=r(62),l=r(64),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,m,g){var y=u(e),b=u(t),k=y?p:s(e),w=b?p:s(t),x=(k=k==f?d:k)==d,_=(w=w==f?d:w)==d,P=k==w;if(P&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(P&&!x)return g||(g=new n),y||l(e)?i(e,t,r,v,m,g):o(e,t,k,r,v,m,g);if(!(1&r)){var O=x&&h.call(e,"__wrapped__"),j=_&&h.call(t,"__wrapped__");if(O||j){var S=O?e.value():e,T=j?t.value():t;return g||(g=new n),m(S,T,r,v,g)}}return!!P&&(g||(g=new n),a(e,t,r,v,m,g))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t,r){var n=r(21),i=r(176),o=r(71),a=r(74),s=r(177),u=r(110),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":if(d||(d=u),e.size!=t.size&&!(1&n))return!1;var h=p.get(e);if(h)return h==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,c,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,r){var n=r(1);e.exports=n.Uint8Array},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},function(e,t,r){var n=r(179),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var u=1&r,c=n(e),l=c.length;if(l!=n(t).length&&!u)return!1;for(var f=l;f--;){var p=c[f];if(!(u?p in t:i.call(t,p)))return!1}var d=s.get(e);if(d&&s.get(t))return d==t;var h=!0;s.set(e,t),s.set(t,e);for(var v=u;++f<l;){var m=e[p=c[f]],g=t[p];if(o)var y=u?o(g,m,p,t,e,s):o(m,g,p,e,t,s);if(!(void 0===y?m===g||a(m,g,r,o,s):y)){h=!1;break}v||(v="constructor"==p)}if(h&&!v){var b=e.constructor,k=t.constructor;b!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof k&&k instanceof k)&&(h=!1)}return s.delete(e),s.delete(t),h}},function(e,t,r){var n=r(180),i=r(181),o=r(23);e.exports=function(e){return n(e,o,i)}},function(e,t,r){var n=r(118),i=r(0);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},function(e,t,r){var n=r(67),i=r(182),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return o.call(e,t)})}:i},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(8)(r(1),"DataView");e.exports=n},function(e,t,r){var n=r(8)(r(1),"Promise");e.exports=n},function(e,t,r){var n=r(75),i=r(23);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},function(e,t,r){var n=r(73),i=r(187),o=r(192),a=r(41),s=r(75),u=r(76),c=r(29);e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},function(e,t,r){var n=r(77);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r(189)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)}),t});e.exports=o},function(e,t,r){var n=r(190);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(40),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(21),i=r(42),o=r(0),a=r(28),s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},function(e,t,r){var n=r(193),i=r(122);e.exports=function(e,t){return null!=e&&i(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(195),i=r(196),o=r(41),a=r(29);e.exports=function(e){return o(e)?n(a(e)):i(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(77);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(0,i.default)(e)).replace(/ /gi,"-").toLowerCase()};var n,i=(n=r(198))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(199),i=r(79),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=/[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]/g;e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},function(e,t,r){var n=r(200)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(125);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},function(e,t,r){var n=r(206),i=r(23);e.exports=function(e){return null==e?[]:n(e,i(e))}},function(e,t,r){var n=r(42);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=u((0,i.autop)((0,a.default)(e)),t);return r.length>0?r:[e]};var n=s(r(111)),i=r(209),o=s(r(66)),a=s(r(112));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t){var r=[];t=t||!1;for(var i=/<p(?:[^>]+)?>(.*?)<\/p>/gi,a=void 0;null!==(a=i.exec(e));)r.push(a);return(0,n.default)(r,function(e){return t?(0,o.default)(e[1]):e[1]})}},function(e,t,r){var n=r(37),i=r(22);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,function(e,n,i){o[++r]=t(e,n,i)}),o}},function(e,t,r){"use strict";r.r(t),r.d(t,"autop",function(){return c}),r.d(t,"removep",function(){return l});var n=r(106),i=r.n(n),o=(r(239),r(256),r(257),r(107)),a=r.n(o),s=(r(261),r(262),/(<((?=!--|!\[CDATA\[)((?=!-)!(?:-(?!->)[^\-]*)*(?:-->)?|!\[CDATA\[[^\]]*(?:](?!]>)[^\]]*)*?(?:]]>)?)|[^>]*>?))/);function u(e,t){for(var r=function(e){for(var t,r=[],n=e;t=n.match(s);)r.push(n.slice(0,t.index)),r.push(t[0]),n=n.slice(t.index+t[0].length);return n.length&&r.push(n),r}(e),n=!1,i=a()(t),o=1;r.length>o;o+=2)for(var u=0;i.length>u;u++){var c=i[u];if(-1!==r[o].indexOf(c)){r[o]=r[o].replace(RegExp(c,"g"),t[c]),n=!0;break}}return n&&(e=r.join("")),e}function c(e){var t=1>=arguments.length||void 0===arguments[1]||arguments[1],r=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var n=e.split("</pre>"),o=n.pop();e="";for(var a=0;n.length>a;a++){var s=n[a],c=s.indexOf("<pre");if(-1!==c){var l="<pre wp-pre-tag-"+a+"></pre>";r.push([l,s.substr(c)+"</pre>"]),e+=s.substr(0,c)+l}else e+=s}e+=o}var f="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=u(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(RegExp("(<"+f+"[s/>])","g"),"\n\n$1")).replace(RegExp("(</"+f+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var p=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",p.forEach(function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(RegExp("<p>s*(</?"+f+"[^>]*>)s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(RegExp("<p>s*(</?"+f+"[^>]*>)","g"),"$1")).replace(RegExp("(</?"+f+"[^>]*>)s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,t){return t?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(RegExp("(</?"+f+"[^>]*>)s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),r.forEach(function(t){var r=i()(t,2);e=e.replace(r[0],r[1])}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function l(e){var t="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",r=t+"|div|p",n=t+"|pre",i=[],o=!1,a=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(e){return i.push(e),"<wp-preserve>"})),-1!==e.indexOf("<pre")&&(o=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(RegExp("\\s*</("+r+")>\\s*","g"),"</$1>\n")).replace(RegExp("\\s*<((?:"+r+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>.*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,function(e,t){return t&&-1!==t.indexOf("\n")?"\n\n":"\n"})).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(RegExp("\\s*<((?:"+n+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/[\r\n]+/g,"")})),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),o&&(e=e.replace(/<wp-line-break>/g,"\n")),a&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),i.length&&(e=e.replace(/<wp-preserve>/g,function(){return i.shift()})),e):""}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t,r){var n=r(212);e.exports=function(e,t){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n(e);!(i=(s=u.next()).done)&&(r.push(s.value),!t||r.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r}},function(e,t,r){e.exports=r(213)},function(e,t,r){r(214),r(233),e.exports=r(235)},function(e,t,r){r(215);for(var n=r(10),i=r(15),o=r(30),a=r(12)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;s.length>u;u++){var c=s[u],l=n[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},function(e,t,r){"use strict";var n=r(216),i=r(217),o=r(30),a=r(44);e.exports=r(83)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return e&&e.length>r?i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]]):(this._t=void 0,i(1))},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(82);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(220);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){e.exports=!r(32)&&!r(48)(function(){return 7!=Object.defineProperty(r(86)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(47);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){e.exports=r(15)},function(e,t,r){"use strict";var n=r(225),i=r(87),o=r(92),a={};r(15)(a,r(12)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(31),i=r(226),o=r(91),a=r(50)("IE_PROTO"),s=function(){},u=function(){var e,t=r(86)("iframe"),n=o.length;for(t.style.display="none",r(231).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(46),i=r(31),o=r(88);e.exports=r(32)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(33),i=r(44),o=r(228)(!1),a=r(50)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t,r){var n=r(44),i=r(229),o=r(230);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(49),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(49),i=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=n(e))?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(10).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(33),i=r(93),o=r(50)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){"use strict";var n=r(234)(!0);r(83)(String,"String",function(e){this._t=e+"",this._i=0},function(){var e,t=this._t,r=this._i;return t.length>r?(e=n(t,r),this._i+=e.length,{value:e,done:!1}):{value:void 0,done:!0}})},function(e,t,r){var n=r(49),i=r(45);e.exports=function(e){return function(t,r){var o,a,s=i(t)+"",u=n(r),c=s.length;return 0>u||u>=c?e?"":void 0:55296>(o=s.charCodeAt(u))||o>56319||u+1===c||56320>(a=s.charCodeAt(u+1))||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(e,t,r){var n=r(31),i=r(236);e.exports=r(11).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(237),i=r(12)("iterator"),o=r(30);e.exports=r(11).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){var n=r(82),i=r(12)("toStringTag"),o="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){for(var n=r(240),i=r(101),o=r(18),a=r(3),s=r(4),u=r(54),c=r(2),l=c("iterator"),f=c("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(d),v=0;h.length>v;v++){var m,g=h[v],y=d[g],b=a[g],k=b&&b.prototype;if(k&&(k[l]||s(k,l,p),k[f]||s(k,f,g),u[g]=p,y))for(m in n)k[m]||o(k,m,n[m],!0)}},function(e,t,r){"use strict";var n=r(241),i=r(242),o=r(54),a=r(35);e.exports=r(244)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return e&&e.length>r?i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]]):(this._t=void 0,i(1))},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){var n=r(2)("unscopables"),i=Array.prototype;void 0==i[n]&&r(4)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(99);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";var n=r(95),i=r(245),o=r(18),a=r(4),s=r(54),u=r(247),c=r(104),l=r(254),f=r(2)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,m,g){u(r,t,h);var y,b,k,w=function(e){if(!p&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",_="values"==v,P=!1,O=e.prototype,j=O[f]||O["@@iterator"]||v&&O[v],S=j||w(v),T=v?_?w("entries"):S:void 0,C="Array"==t&&O.entries||j;if(C&&(k=l(C.call(new e)))!==Object.prototype&&k.next&&(c(k,x,!0),n||"function"==typeof k[f]||a(k,f,d)),_&&j&&"values"!==j.name&&(P=!0,S=function(){return j.call(this)}),n&&!g||!p&&!P&&O[f]||a(O,f,S),s[t]=S,s[x]=d,v)if(y={values:_?S:w("values"),keys:m?S:w("keys"),entries:T},g)for(b in y)b in O||o(O,b,y[b]);else i(i.P+i.F*(p||P),t,y);return y}},function(e,t,r){var n=r(3),i=r(51),o=r(4),a=r(18),s=r(100),u=function(e,t,r){var c,l,f,p,d=e&u.F,h=e&u.G,v=e&u.P,m=e&u.B,g=h?n:e&u.S?n[t]||(n[t]={}):(n[t]||{}).prototype,y=h?i:i[t]||(i[t]={}),b=y.prototype||(y.prototype={});for(c in h&&(r=t),r)f=((l=!d&&g&&void 0!==g[c])?g:r)[c],p=m&&l?s(f,n):v&&"function"==typeof f?s(Function.call,f):f,g&&a(g,c,f,e&u.U),y[c]!=f&&o(y,c,p),v&&b[c]!=f&&(b[c]=f)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(248),i=r(53),o=r(104),a={};r(4)(a,r(2)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(17),i=r(249),o=r(57),a=r(56)("IE_PROTO"),s=function(){},u=function(){var e,t=r(97)("iframe"),n=o.length;for(t.style.display="none",r(253).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(16),i=r(17),o=r(101);e.exports=r(5)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(35),i=r(251),o=r(252);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(103),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(103),i=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=n(e))?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(3).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(19),i=r(255),o=r(56)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(55);e.exports=function(e){return Object(n(e))}},function(e,t,r){r(58)("split",2,function(e,t,n){"use strict";var i=r(105),o=n,a=[].push;if("".split(/.?/).length){var s=void 0===/()??/.exec("")[1];n=function(e,t){var r=this+"";if(void 0===e&&0===t)return[];if(!i(e))return o.call(r,e,t);var n,u,c,l,f,p=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=void 0===t?4294967295:t>>>0,m=RegExp(e.source,d+"g");for(s||(n=RegExp("^"+m.source+"$(?!\\s)",d));(u=m.exec(r))&&((c=u.index+u[0].length)<=h||(p.push(r.slice(h,u.index)),!s&&u.length>1&&u[0].replace(n,function(){for(f=1;arguments.length-2>f;f++)void 0===arguments[f]&&(u[f]=void 0)}),u.length>1&&r.length>u.index&&a.apply(p,u.slice(1)),l=u[0].length,h=c,v>p.length));)m.lastIndex===u.index&&m.lastIndex++;return h===r.length?!l&&m.test("")||p.push(""):p.push(r.slice(h)),p.length>v?p.slice(0,v):p}}return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(o+"",r,i)},n]})},function(e,t,r){r(58)("replace",2,function(e,t,r){return[function(n,i){"use strict";var o=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,o,i):r.call(o+"",n,i)},r]})},function(e,t,r){r(259),e.exports=r(11).Object.keys},function(e,t,r){var n=r(93),i=r(88);r(260)("keys",function(){return function(e){return i(n(e))}})},function(e,t,r){var n=r(85),i=r(11),o=r(48);e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*o(function(){r(1)}),"Object",a)}},function(e,t,r){r(58)("match",1,function(e,t,r){return[function(r){"use strict";var n=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,n):RegExp(r)[t](n+"")},r]})},function(e,t,r){var n=r(3),i=r(263),o=r(16).f,a=r(267).f,s=r(105),u=r(268),c=n.RegExp,l=c,f=c.prototype,p=/a/g,d=/a/g,h=new c(p)!==p;if(r(5)&&(!h||r(34)(function(){return d[r(2)("match")]=!1,c(p)!=p||c(d)==d||"/a/i"!=c(p,"i")}))){c=function(e,t){var r=this instanceof c,n=s(e),o=void 0===t;return!r&&n&&e.constructor===c&&o?e:i(h?new l(n&&!o?e.source:e,t):l((n=e instanceof c)?e.source:e,n&&o?u.call(e):t),r?this:f,c)};for(var v=function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},m=a(l),g=0;m.length>g;)v(m[g++]);f.constructor=c,c.prototype=f,r(18)(n,"RegExp",c)}r(269)("RegExp")},function(e,t,r){var n=r(13),i=r(264).set;e.exports=function(e,t,r){var o,a=t.constructor;return a!==r&&"function"==typeof a&&(o=a.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},function(e,t,r){var n=r(13),i=r(17),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(100)(Function.call,r(265).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){var n=r(266),i=r(53),o=r(35),a=r(98),s=r(19),u=r(96),c=Object.getOwnPropertyDescriptor;t.f=r(5)?c:function(e,t){if(e=o(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(102),i=r(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(17);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,r){"use strict";var n=r(3),i=r(16),o=r(5),a=r(2)("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n,i=(n=r(6))&&n.__esModule?n:{default:n};i.default.extend({rankMathHighlight:function(e,t,r,n){if(3===e.nodeType){var o=e.data.match(t);if(o){var a=document.createElement(r||"span");a.className=n||"highlight";var s=e.splitText(o.index);s.splitText(o[0].length);var u=s.cloneNode(!0);return a.appendChild(u),s.parentNode.replaceChild(a,s),1}}else if(1===e.nodeType&&e.childNodes&&!/(script|style)/i.test(e.tagName)&&(e.tagName!==r.toUpperCase()||e.className!==n))for(var c=0;e.childNodes.length>c;c++)c+=i.default.rankMathHighlight(e.childNodes[c],t,r,n);return 0}}),i.default.fn.rankMathUnhighlight=function(e){var t={className:"highlight",element:"span"};return i.default.extend(t,e),this.find(t.element+"."+t.className).each(function(){var e=this.parentNode;e.replaceChild(this.firstChild,this),e.normalize()}).end()},i.default.fn.rankMathHighlight=function(e,t){var r={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1};if(i.default.extend(r,t),void 0===e||""===e)return this;if(e.constructor===String&&(e=[e]),e=i.default.grep(e,function(e){return""!==e}),0===(e=i.default.map(e,function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).length)return this;var n=r.caseSensitive?"":"i",o="("+e.join("|")+")";r.wordsOnly&&(o="\\b"+o+"\\b");var a=RegExp(o,n);return this.each(function(){i.default.rankMathHighlight(this,a,r.element,r.className)})}},function(e,t,r){"use strict";var n,i=(n=r(6))&&n.__esModule?n:{default:n},o=document.createElement("div");i.default.fn.lengthIndicator=function(e){var t=this;e=i.default.extend({},{minLength:0,maxLength:1e3,source:null},e),t.wrap('<span class="length-indicator-wrapper"/>'),t.parent().append('<span class="length-indicator"><span/></span><span class="length-count">0 / '+e.maxLength+"</span>");var r=t.parent().find(".length-indicator"),n=r.find(">span"),a=t.parent().find(".length-count"),s=function(){var i=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),o.innerHTML=e,e=o.textContent,o.textContent=""),e}(null===e.source?t.val():e.source.text()).length;r.removeClass("invalid short"),n.css("left",Math.min(100,Math.floor(i/e.maxLength*100))+"%"),a.text(i+" / "+e.maxLength),i>e.minLength&&e.maxLength>=i||r.addClass("invalid")};t.on("input",s),null!==e.source&&e.source.on("rank-math-vars-replaced",s),s()}},function(e,t,r){var n=r(1);e.exports=function(){return n.Date.now()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=a(r(6)),o=a(r(274));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elem=(0,i.default)("#rank-math-serp-checklist",t.elemMetabox),this.scoreElem=(0,i.default)('<div class="misc-pub-section rank-math-seo-score"><span class="score-text"><span class="dashicons dashicons-chart-area"></span> SEO: <strong>Not available</strong></span></div>'),this.scoreText=this.scoreElem.find("strong"),this.scoreField=(0,i.default)("#rank_math_seo_score"),this.fkScoreElem=(0,i.default)('<div class="rank-math-seo-score below-focus-keyword"><span class="score-text">Not available</span></div>'),this.fkScoreText=this.fkScoreElem.find("span"),(0,i.default)("#misc-publishing-actions").append(this.scoreElem),(0,i.default)(".cmb-td",".cmb2-id-rank-math-focus-keyword").append(this.fkScoreElem),this.events()}return n(e,[{key:"display",value:function(e){var t=this;i.default.each(e,function(e,r){var n=t.elem.find(".seo-check-"+e);n.removeClass("test-ok test-fail test-empty test-looking veryEasy difficult veryDifficult"),n.addClass("test-"+r.status),n.show(),"calculateFleschReading"===e&&n.addClass(r.factors[2]),n.find("span:eq(0)").html(r.message)})}},{key:"setPrimaryKeywordStatus",value:function(e,t){t.removeClass("good-fk ok-fk bad-fk");var r=(0,o.default)(e,function(e,t,r){return!1===t&&(t={score:0}),e+t.score},0);status="bad-fk",r>80?status="good-fk":r>50&&(status="ok-fk"),t.removeClass("bad-fk ok-fk good-fk"),this.scoreElem.removeClass("bad-fk ok-fk good-fk"),this.fkScoreElem.removeClass("bad-fk ok-fk good-fk"),t.addClass(status),this.scoreElem.addClass(status),this.fkScoreElem.addClass(status),this.scoreText.html(r+" / 100"),this.fkScoreText.html(r+" / 100"),this.scoreField.val(parseInt(r))}},{key:"setSecondaryKeywordStatus",value:function(e,t){t.removeClass("good-fk ok-fk bad-fk");var r=(0,o.default)(e,function(e,t){return e+("ok"===t.status?1:0)},0);t.addClass(3===r?"good-fk":2===r?"ok-fk":"bad-fk")}},{key:"hidePrimary",value:function(){this.elem.find("li.is-primary").hide()}},{key:"events",value:function(){var e=this;this.elem.on("click",".group-handle",function(t){t.preventDefault();var r=(0,i.default)(t.target).closest(".rank-math-serp-group"),n={};r.toggleClass("state-open state-closed"),e.updateGroupStatus(r),e.elem.find(">.rank-math-serp-group").each(function(){var e=(0,i.default)(this);n[e.data("id")]=e.hasClass("state-closed")?"closed":"open"}),i.default.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_save_checklist_layout",security:rankMath.security,layout:n}})})}},{key:"updateGroupStatus",value:function(e){(e=e||(0,i.default)(".rank-math-serp-group")).each(function(){var e=(0,i.default)(this);1>e.find("li.test-fail").length&&1>e.find("li.test-empty").length?e.find(".group-status").addClass("passed"):e.find(".group-status").removeClass("passed")})}}]),e}();t.default=s},function(e,t,r){var n=r(275),i=r(37),o=r(59),a=r(276),s=r(0);e.exports=function(e,t,r){var u=s(e)?n:a,c=3>arguments.length;return u(e,o(t,4),r,c,i)}},function(e,t){e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},function(e,t){e.exports=function(e,t,r,n,i){return i(e,function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)}),r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=(n=r(6))&&n.__esModule?n:{default:n},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metabox=t,this.currentNetwork="facebook",this.useFacebook=!0,this.shouldUpdatePreview=!1,this.facebookTitleField=t.elemMetabox.find("#rank_math_facebook_title"),this.facebookDescriptionField=t.elemMetabox.find("#rank_math_facebook_description"),this.twitterTitleField=t.elemMetabox.find("#rank_math_twitter_title"),this.twitterDescriptionField=t.elemMetabox.find("#rank_math_twitter_description"),this.facebookImageField=t.elemMetabox.find("#rank_math_facebook_image"),this.twitterImageField=t.elemMetabox.find("#rank_math_twitter_image"),this.facebookImageStatus=t.elemMetabox.find("#rank_math_facebook_image-status"),this.twitterImageStatus=t.elemMetabox.find("#rank_math_twitter_image-status"),this.socialWrapper=t.elemMetabox.find(".rank-math-social-preview"),this.socialPreview=this.socialWrapper.find(".rank-math-social-preview-item"),this.socialTitle=this.socialWrapper.find(".rank-math-social-preview-title"),this.socialDescription=this.socialWrapper.find(".rank-math-social-preview-description"),this.events(),this.shouldUpdatePreview=!0,this.updatePreview()}return i(e,[{key:"events",value:function(){var e=this;this.facebookTitleField.on("input",function(){e.updateTitlePreview()}),this.facebookDescriptionField.on("input",function(){e.updateDescriptionPreview()}),this.facebookImageField.on("input",function(){e.updateThumbnailPreview()}),this.twitterTitleField.on("input",function(){e.updateTitlePreview()}),this.twitterDescriptionField.on("input",function(){e.updateDescriptionPreview()}),this.twitterImageField.on("input",function(){e.updateThumbnailPreview()});var t=(0,o.default)(".rank-math-social-preview-button"),r=t.find(">span");t.on("click",function(t){t.preventDefault(),r.toggleClass("dashicons-arrow-down dashicons-arrow-up"),e.updatePreview(),e.socialWrapper.toggleClass("open"),e.socialPreview.slideToggle()});var n=(0,o.default)("#rank_math_twitter_card_type");(0,o.default)(".preview-network").on("click",function(r){(0,o.default)(r.target).hasClass("tab-facebook")?t.show():n.trigger("change"),e.updatePreview()}),n.on("change",function(){var r=n.val();"player"===r&&(0,o.default)(".cmb2-id-rank-math-twitter-image, .cmb2-id-rank-math-twitter-title, .cmb2-id-rank-math-twitter-description").show();var i="player"===r||"app"===r;t.toggle(!i),(0,o.default)(".cmb2-id-rank-math-twitter-use-facebook").toggle(!i),e.updatePreview()}).trigger("change");var i=(0,o.default)("#rank_math_twitter_use_facebook2");(0,o.default)("#rank_math_twitter_use_facebook1, #rank_math_twitter_use_facebook2").on("input change",function(){e.useFacebook=i.is(":checked"),e.updatePreview()}).trigger("change"),(0,o.default)(".cmb2-id-rank-math-facebook-enable-image-overlay, .cmb2-id-rank-math-facebook-image-overlay, .cmb2-id-rank-math-twitter-enable-image-overlay, .cmb2-id-rank-math-twitter-image-overlay").on("change","input",function(){e.updateThumbnailOverlay()}),(0,o.default)(document).on("cmb_media_modal_select",function(t,r,n){"rank_math_facebook_image"!==n.field&&"rank_math_twitter_image"!==n.field||e.updateThumbnailPreview()}),(0,o.default)(document).on("cmb_init",function(t,r){r.$metabox.on("click",".cmb2-remove-file-button",function(){e.updateThumbnailPreview()})})}},{key:"updatePreview",value:function(){!1!==this.shouldUpdatePreview&&(this.currentNetwork=(0,o.default)(".preview-network.tab-active").attr("href").replace("#setting-panel-social-",""),this.socialWrapper.removeClass(),this.socialWrapper.addClass("rank-math-social-preview rank-math-social-preview-"+this.currentNetwork),"twitter"===this.currentNetwork&&this.socialWrapper.addClass((0,o.default)("#rank_math_twitter_card_type").val()),this.updateTitlePreview(),this.updateDescriptionPreview(),this.updateThumbnailPreview())}},{key:"updateTitlePreview",value:function(){var e=this[this.currentNetwork+"TitleField"].val()||this.metabox.title;"twitter"===this.currentNetwork&&this.useFacebook&&(e=this.facebookTitleField.val()||this.metabox.title),e=this.metabox.truncate(this.metabox.swapVars(e),90),this.socialTitle.html(e)}},{key:"updateDescriptionPreview",value:function(){var e=this[this.currentNetwork+"DescriptionField"].val()||this.description;"twitter"===this.currentNetwork&&this.useFacebook&&(e=this.facebookDescriptionField.val()||this.metabox.description),e=this.metabox.truncate(this.metabox.swapVars(e),240),this.socialDescription.html(e)}},{key:"updateThumbnailPreview",value:function(){var e=(0,o.default)("#rank_math_post_thumbnail").attr("src"),t=this.metabox.getContent(),r=!!/<img(?:[^>]+)?>/.test(t)&&(0,o.default)(t).find("img:first").attr("src"),n=this.facebookImageField.val()||e||r||rankMath.defautOgImage,i=this.twitterImageField.val()||e||r||rankMath.defautOgImage;if("twitter"===this.currentNetwork&&this.useFacebook)i=n;else if(this.twitterImageStatus.find("img.cmb-file-field-image").length){var a=this.twitterImageStatus.siblings(".notice"),s=this.twitterImageStatus.find("img.cmb-file-field-image")[0];a.addClass("hidden"),setTimeout(function(){(200>s.naturalWidth||200>s.naturalHeight)&&a.removeClass("hidden")},300)}var u=this.facebookImageStatus.siblings(".notice"),c=this.facebookImageStatus.find("img.cmb-file-field-image");u.addClass("hidden"),"facebook"===this.currentNetwork&&this.facebookImageField.val()&&c.length&&setTimeout(function(){(200>c[0].naturalWidth||200>c[0].naturalHeight)&&u.removeClass("hidden")},300);var l=(0,o.default)(".rank-math-social-preview-image");(0,o.default)(".facebook-thumbnail",l).attr("src",n),(0,o.default)(".twitter-thumbnail",l).attr("src",i),l.toggleClass("no-facebook-image",!n),l.toggleClass("no-twitter-image",!i),l.parents(".rank-math-social-preview-facebook").find(".error-msg").toggleClass("show",!n),l.parents(".rank-math-social-preview-twitter").find(".error-msg").toggleClass("show",!i),this.updateThumbnailOverlay()}},{key:"updateThumbnailOverlay",value:function(){var e=(0,o.default)(".rank-math-social-preview-image-overlay"),t=(0,o.default)('[name="rank_math_'+this.currentNetwork+'_enable_image_overlay"]:checked').val(),r=(0,o.default)('[name="rank_math_'+this.currentNetwork+'_image_overlay"]:checked').val(),n=!(0,o.default)(".rank-math-social-preview-image").hasClass("no-"+this.currentNetwork+"-image");"twitter"===this.currentNetwork&&this.useFacebook&&(r=(0,o.default)('[name="rank_math_facebook_image_overlay"]:checked').val(),n=!1);var i=(0,o.default)(".cmb2-id-rank-math-"+this.currentNetwork+"-enable-image-overlay"),a="on"===i.find("input:checked").val();i.toggle(n),i.find(".notice-warning").toggle(a),"on"===t?(e.attr("src",rankMath.overlayImages[r].url).show(),(0,o.default)(".cmb2-id-rank-math-"+this.currentNetwork+"-image-overlay").toggle(n)):e.hide()}}]),e}();t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=a(r(6)),o=a(r(81));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elem=(0,i.default)("#rank_math_focus_keyword");var n=(0,o.default)(function(){t.updateFocusKeywords()},200),a=(0,o.default)(function(e,r){var n=e.find("li:last").prev(),i=t.assessor.assessFocusKeyword({elem:n,isPrimary:!1,keyword:r});t.checkList.setSecondaryKeywordStatus(i,n)},200);this.elem.on("content-loaded",function(){var e=r.elem.next("ul"),n=r.getFocusKeywords();(0,i.default)(e).find("li:gt(1)").each(function(){var e=(0,i.default)(this),r=t.assessor.assessFocusKeyword({elem:e,isPrimary:!1,keyword:n[e.index()-1]});t.checkList.setSecondaryKeywordStatus(r,e)})}),this.elem.tagEditor({autocomplete:1===rankMath.maxTags?null:this.getAutocompleteOptions(),sortable:!0,placeholder:this.elem.attr("placeholder"),onChange:function(e,t,r){1===r.length&&t.find("li:not(.placeholder)").last().addClass("selected-fk"),n()},onSelect:function(e,t){var r=e.parent();return!(!r.hasClass("selected-fk")&&""!==e.html()&&(t.find(".tag-editor-tag.active").length&&t.find("input").blur(),r.addClass("selected-fk").siblings().removeClass("selected-fk"),n(),1))},beforeTagDelete:function(e,t,r){return 1===r.length||(e.hasClass("selected-fk")&&t.find(">li").eq(1).addClass("selected-fk"),!0)},beforeTagSave:function(e,t,r,n,i){if(0!==r.length&&i)return a(t,i),i}}),this.elem.next().find(">li:not(.placeholder)").eq(1).addClass("selected-fk");var s=this.elem.parent();s.append(s.find(".cmb2-metabox-description"))}return n(e,[{key:"getAutocompleteOptions",value:function(){return{minLength:2,source:function(e,t){i.default.ajax({url:"https://clients1.google.com/complete/search",dataType:"jsonp",data:{q:e.term,nolabels:"t",client:"hp",ds:"",lr:"lang_"+rankMath.locale,hl:rankMath.locale},success:function(e){t(i.default.map(e[1],function(e){return{value:(0,i.default)("<span>").html(e[0]).text()}}))}})}}}},{key:"getFocusKeywords",value:function(){var e=this.elem.tagEditor("getTags")[0];return e?e.tags:[]}},{key:"getFocusKeyword",value:function(){var e=this.elem.tagEditor("getTags")[0];if(!e)return{isPrimary:!0,keyword:""};var t=e.editor.find(".selected-fk").first();return t.length?{elem:t,isPrimary:1===t.index(),keyword:t.find(".tag-editor-tag").text()}:e.tags.length?{isPrimary:!0,keyword:e.tags[0]}:{isPrimary:!0,keyword:""}}},{key:"clearFocusKeywords",value:function(){this.elem.tagEditor("clearTags")}},{key:"addFocusKeyword",value:function(e){this.elem.tagEditor("addTag",e)}}]),e}();t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=(n=r(6))&&n.__esModule?n:{default:n},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.focusKeywords=t,this.modal=(0,o.default)("#rank-math-compare-keywords-wrapper"),this.holder=this.modal.find(".rank-math-keywords-fields"),this.iframe=this.modal.find("iframe.attachments-browser"),this.btnCompare=this.modal.find(".compare-keywords"),this.events()}return i(e,[{key:"events",value:function(){var e=this;(0,o.default)("#rank-math-compare-keywords-trigger").on("click",function(t){t.preventDefault();var r=e.focusKeywords.getFocusKeywords();e.holder.html(""),r.length?o.default.each(r,function(t,r){e.addNewField(r)}):e.addNewField(),e.modal.toggle(),e.btnCompare.trigger("click")}),this.modal.on("click",".media-modal-close",function(){e.modal.toggle()}),this.modal.on("click",".add-new-keywords",function(){e.addNewField()}),this.modal.on("click",".remove-keyword",function(e){(0,o.default)(e.currentTarget).parent().remove(),btnCompare.trigger("click")}),this.modal.on("click",".use-these-keywords",function(){e.focusKeywords.clearFocusKeywords(),e.holder.find("input").each(function(t,r){var n=(0,o.default)(r).val().trim();""!==n&&e.focusKeywords.addFocusKeyword(n)}),e.modal.toggle()}),this.btnCompare.on("click",function(){var t=[];if(e.holder.find("input").each(function(){var e=(0,o.default)(this).val().trim();""!==e&&t.push({keyword:e,geo:"",time:"today 12-m"})}),0===t.length)return!1;t={comparisonItem:t,category:0,property:""},e.iframe.attr("src",e.iframe.data("srcbase")+"&req="+encodeURIComponent(JSON.stringify(t)))}),this.holder.on("keydown","input",function(t){if(13===t.keyCode)return t.preventDefault(),e.btnCompare.trigger("click"),!1})}},{key:"addNewField",value:function(e){var t=(0,o.default)("<div/>"),r=(0,o.default)("<input/>",{type:"text",class:"widefat",value:e||""});t.append(r),t.append('<button class="button-small button-link button-link-delete remove-keyword"><span class="dashicons dashicons-trash"></span></button>'),this.holder.append(t),r.autocomplete(this.focusKeywords.getAutocompleteOptions()).focus()}}]),e}();t.default=a},function(e,t){e.exports=function(e){return void 0===e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=l(r(6)),a=l(r(311)),s=l(r(81)),u=l(r(312)),c=l(r(313));function l(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.elemMetabox=(0,o.default)("#rank_math_metabox"),e.elemSlug=(0,o.default)("#post_name"),e.elemTitle=(0,o.default)("#title"),e.elemDescription=(0,o.default)("#excerpt"),e.elemContent=(0,o.default)("#content"),e.elemPrice=(0,o.default)("#_sale_price"),e.elemRegPrice=(0,o.default)("#_regular_price"),e.researches=!1,e.isGutenbergAvailable=(0,c.default)(),e.testRequired={title:!0,description:!0,url:!0,content:!0},e.testOptional={title:!0,headings:!0,imagealt:!0,titleBeginning:!0,contentBeginning:!0,keywordDensity:!0,newKeyword:!0},e.init(),e.updateOthers(),e.postSerpEvents(),e.primaryTerm(),e.featuredImage(),e.linkSuggestions(),e.richSnippetIcon(),void 0!==window.ET_PageBuilder&&Backbone.Events.listenTo(window.ET_PageBuilder.Events,"et-pb-content-updated",function(){e.updateDescriptionPreview()}),e.isGutenbergAvailable&&new u.default(e),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),i(t,[{key:"updateSlug",value:function(e){this.serpPermalinkField.val(e),this.elemSlug.val(e),(0,o.default)("#editable-post-name").text(e),(0,o.default)("#editable-post-name-full").text(e),this.isGutenbergAvailable&&wp.data.dispatch("core/editor").editPost({slug:e})}},{key:"updateOthers",value:function(){var e=this;this.isGutenbergAvailable||(""===this.elemSlug.val()&&(0,o.default)("#editable-post-name-full").length&&this.elemSlug.val((0,o.default)("#editable-post-name-full").text()).trigger("input"),this.analyzeOnPage&&(0,o.default)(document).on("tinymce-editor-init",function(t,r){e.updatePreview()}))}},{key:"postSerpEvents",value:function(){var e=this;this.analyzeOnPage&&(this.elemContent.on("input change",(0,s.default)(function(){e.updateDescriptionPreview(),e.socialFields.updateThumbnailPreview()},500)),(0,o.default)(window).on("load",function(){!e.isGutenbergAvailable&&"undefined"!=typeof tinymce&&tinymce.activeEditor&&tinyMCE.editors.content.on("keyup change",(0,s.default)(function(t){e.updateDescriptionPreview(),e.socialFields.updateThumbnailPreview()},500))})),(0,o.default)(document).on("ajaxComplete",function(t,r,n){if("/admin-ajax.php"===n.url.substr(-15)){var i="";"string"==typeof n.data&&-1!==n.data.indexOf("action=sample-permalink")&&(i=""===r.responseText?e.elemTitle.val():(0,o.default)("<div>"+r.responseText+"</div>").find("#editable-post-name-full").text(),e.serpPermalinkField.val(i).trigger("input"))}}),this.elemPrice.on("input",(0,s.default)(function(){e.setVariable("wc_price",e.getWooCommerceProductPrice()),e.updateDescriptionPreview()},500)),this.elemRegPrice.on("input",(0,s.default)(function(){e.setVariable("wc_price",e.getWooCommerceProductPrice()),e.updateDescriptionPreview()},500))}},{key:"getWooCommerceProductPrice",value:function(){var e=this.elemPrice.val()?this.elemPrice.val():this.elemRegPrice.val();return accounting.formatMoney(e,{symbol:woocommerce_admin_meta_boxes.currency_format_symbol,decimal:woocommerce_admin_meta_boxes.currency_format_decimal_sep,thousand:woocommerce_admin_meta_boxes.currency_format_thousand_sep,precision:woocommerce_admin_meta_boxes.currency_format_num_decimals,format:woocommerce_admin_meta_boxes.currency_format})}},{key:"primaryTerm",value:function(){(0,o.default)("[data-primary-term]").each(function(){var e=(0,o.default)(this),t=e.val(),r=e.data("primary-term"),n=(0,o.default)("#"+r+"div"),i=(0,o.default)("#"+r+"checklist"),a=i.find("li"),s=i.find('input[type="checkbox"]:checked');a.addClass("rank-math-primary-term-li"),a.find("input").each(function(){var e=(0,o.default)(this);e.parent().append('<span class="rank-math-tooltip"><input class="rank-math-make-primary" value="'+e.val()+'" type="radio" name="rank_math_primary_'+r+'"><span>Make Term Primary</span></span>')}),s.each(function(){var e=(0,o.default)(this).closest("li");e.addClass("term-checked"),r+"-"+t===e.attr("id")&&(e.addClass("term-marked-primary"),e.find(">label .rank-math-make-primary").prop("checked",!0))}),n.on("click",'input[type="checkbox"]',function(){var t=(0,o.default)(this).closest("li");if(t.toggleClass("term-checked"),1===i.find("li.term-checked").length||t.hasClass("term-marked-primary")&&!t.hasClass("term-checked")){var r=i.find("li.term-checked:first > label .rank-math-make-primary");r.length>0?r.trigger("click"):(a.removeClass("term-marked-primary"),a.find('input[type="radio"]').prop("checked",!1),e.val(""))}}),n.on("click",".rank-math-make-primary",function(){var t=(0,o.default)(this),r=t.closest("li");a.removeClass("term-marked-primary"),r.addClass("term-marked-primary"),e.val(t.val())}),i.on("wpListAddEnd",function(){i.find("li:not(.rank-math-primary-term-li)").addClass("rank-math-primary-term-li term-checked").find("input").each(function(){var e=(0,o.default)(this);e.parent().append('<span class="rank-math-tooltip"><input class="rank-math-make-primary" value="'+e.val()+'" type="radio" name="rank_math_primary_'+r+'"><span>Make Term Primary</span></span>')})})})}},{key:"featuredImage",value:function(){var e=this;if(this.analyzeOnPage){var t=(0,o.default)("#postimagediv"),r=t.find(".hndle"),n=wp.media.featuredImage.frame();if(n.on("select",function(){var t=n.state().get("selection").first().toJSON(),i=(0,o.default)("#rank_math_post_thumbnail");200>t.width||200>t.height?0===(0,o.default)("#rank_math_image_warning").length&&(0,o.default)('<div id="rank_math_image_warning" class="notice notice-error notice-alt"><p>'+rankMath.featuredImageNotice+"</p></div>").insertAfter(r):(0,o.default)("#rank_math_image_warning").remove(),1>i.length&&(i=(0,o.default)('<img id="rank_math_post_thumbnail" />'),(0,o.default)(".facebook-thumbnail",".rank-math-social-preview-image").before(i)),i.attr("src","rank-math-facebook-thumbnail"in t.sizes?t.sizes["rank-math-facebook-thumbnail"].url:"large"in t.sizes?t.sizes.large.url:t.sizes.full.url),e.setFeaturedImage(t.alt)}),(0,o.default)("#postimagediv").on("click","#remove-post-thumbnail",function(){(0,o.default)("#rank_math_image_warning").remove(),(0,o.default)("#rank_math_post_thumbnail").remove(),e.setFeaturedImage("")}),this.assessor.paper.setThumbnailAlt(t.find("img").attr("alt")),this.socialFields.updateThumbnailPreview(),this.isGutenbergAvailable){var i=void 0,a=void 0;wp.data.subscribe(function(){var t=wp.data.select("core/editor").getEditedPostAttribute("featured_media");e.isValidMediaId(t)&&void 0!==(i=wp.data.select("core").getMedia(t))&&i!==a&&(a=i,e.setFeaturedImage(i.alt_text))})}}}},{key:"isValidMediaId",value:function(e){return"number"==typeof e&&e>0}},{key:"setFeaturedImage",value:function(e){this.socialFields.updateThumbnailPreview(),this.assessor.paper.setThumbnailAlt(e),this.seoContentAssessments()}},{key:"linkSuggestions",value:function(){rankMath.postSettings.linkSuggestions&&(o.default.fn.extend({insertLink:function(e,t){var r=this[0],n="";if(r.selectionStart||"0"===r.selectionStart){var i=r.selectionStart,o=r.selectionEnd,a=r.scrollTop;n='<a href="'+e+'">'+r.value.substring(i,o)+"</a>",i===o&&(n='<a href="'+e+'">'+t+"</a>"),r.value=r.value.substring(0,i)+n+r.value.substring(o,r.value.length),r.focus(),r.selectionStart=i+n.length,r.selectionEnd=i+n.length,r.scrollTop=a}else r.value+=n='<a href="'+e+'">'+t+"</a>",r.focus()}}),"function"==typeof ClipboardJS&&new ClipboardJS(".suggestion-copy").on("success",function(e){var t=(0,o.default)(e.trigger).parent().next(".suggestion-title"),r=t.html();t.text("Link Copied"),setTimeout(function(){t.html(r)},1500)}),(0,o.default)(window).on("load",function(){if("object"!==("undefined"==typeof tinymce?"undefined":n(tinymce)))return!0;var e=null,t=null;(0,o.default)(".suggestion-insert").on("click",function(r){r.preventDefault();var n,i,a,s,u=(0,o.default)(this);if(u.hasClass("clicked"))return!0;if(null!==tinymce.activeEditor&&!0!==tinymce.activeEditor.isHidden()){e=tinymce.activeEditor,t=(0,o.default)(e.getBody());var c=e.selection.getContent()||"";if(t.find("a[data-mce-selected]").length){var l=(a=e.selection.getStart(),(s=e.dom.getParent(a,"a[href]"))||(i=e.selection.getContent({format:"raw"}))&&-1!==i.indexOf("</a>")&&((n=i.match(/href="([^">]+)"/))&&n[1]&&(s=e.$('a[href="'+n[1]+'"]',a)[0]),s&&e.selection.select(s)),s);e.dom.setAttribs(l,{href:u.data("url")}),(0,o.default)(l).text()!==c&&e.insertContent(c)}else e.insertContent(c.length?'<a href="'+u.data("url")+'">'+c+"</a>":'<a href="'+u.data("url")+'">'+u.data("text")+"</a>")}else{var f=(0,o.default)("textarea.wp-editor-area:visible");f.length&&f.first().insertLink(u.data("url"),u.data("text"))}var p=u.closest(".suggestion-item").find(".suggestion-title"),d=p.html();p.text("Link Inserted"),u.addClass("clicked"),setTimeout(function(){var e,t,r,n;p.html(d),u.removeClass("clicked"),!0===rankMath.postSettings.useFocusKeyword&&(t=u,r=(e=p).data("fkcount")||0,(r+=1)===(n=e.data("fk")).length&&(r=0),e.find(">a").text(n[r]),e.data("fkcount",r),t.data("text",n[r]))},1500)})}))}},{key:"richSnippetIcon",value:function(){var e={off:"dashicons-image-filter",article:"dashicons-admin-post",book:"dashicons-book-alt",course:"dashicons-welcome-learn-more",event:"dashicons-calendar",jobposting:"dashicons-megaphone",local:"dashicons-store",music:"dashicons-format-audio",product:"dashicons-cart",recipe:"dashicons-carrot",restaurant:"dashicons-palmtree",video:"dashicons-format-video",person:"dashicons-admin-users",review:"dashicons-star-filled",service:"dashicons-admin-generic",software:"dashicons-index-card"},t=(0,o.default)('.rank-math-tabs-navigation a[href="#setting-panel-richsnippet"] .dashicons'),r=(0,o.default)("#_bsf_post_type");if((0,o.default)('#rank_math_rich_snippet, input[type="radio"][name="rank_math_rich_snippet"]').on("change",function(){var n="rank_math_rich_snippet"===(0,o.default)(this).attr("id")?(0,o.default)(this).val():(0,o.default)('input[type="radio"][name="rank_math_rich_snippet"]:checked').val();t.removeClass().addClass("dashicons "+e[n]),r.length&&"off"!==n&&r.val("0").trigger("change")}).trigger("change"),r.length){var n=(0,o.default)("#rank_math_rich_snippet"),i=(0,o.default)('input[name="rank_math_rich_snippet"][value="off"]');r.on("change",function(){"0"!==r.val()&&(n.val("off").trigger("change"),i.prop("checked",!0).trigger("change"))}).trigger("change")}}}]),t}();(0,o.default)(function(){new f})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=v(r(6));r(270),r(271);var o=v(r(109)),a=v(r(197)),s=v(r(43)),u=v(r(81)),c=v(r(273)),l=v(r(277)),f=v(r(278)),p=v(r(279)),d=v(r(66)),h=v(r(207));function v(e){return e&&e.__esModule?e:{default:e}}var m=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"init",value:function(){this.title="",this.permalink="",this.description="",this.variableMap=null,this.analyzeOnPage=null!==document.getElementById("rank-math-serp-checklist"),this.shouldAssess=!1,this.primaryResult={},this.serpCanonical=this.elemMetabox.find("#rank_math_canonical_url"),this.serpTitleField=this.elemMetabox.find("#rank_math_title"),this.serpPermalinkField=this.elemMetabox.find("#rank_math_permalink"),this.serpDescriptionField=this.elemMetabox.find("#rank_math_description"),this.serpWrapper=this.elemMetabox.find(".serp-preview"),this.serpBg=this.elemMetabox.find(".serp-preview-bg input"),this.serpTitle=this.serpWrapper.find(".serp-title"),this.serpPermalink=this.serpWrapper.find(".serp-url"),this.serpDescription=this.serpWrapper.find(".serp-description"),this.desktopSnippet=this.serpWrapper.find(".serp-snippet-data"),this.assessor=new Assessor({elemContent:this.elemContent,researches:this.researches}),this.analyzeOnPage&&(this.checkList=new c.default(this)),this.socialFields=new l.default(this),this.compareKeywords=new p.default(this.focusKeywords),this.focusKeywords=new f.default(this),this.wrapInGroup(),this.serpEvents(),this.updateEvents(),this.updatePreview(),this.initLengthIndicator(),rankMathAdmin.variableInserter(!1)}},{key:"wrapInGroup",value:function(){this.serpTitle.wrap('<div class="group"></div>'),this.serpPermalink.wrap('<div class="group"></div>'),this.serpDescription.wrap('<div class="group"></div>'),(0,i.default)(".cmb2-id-rank-math-title").insertAfter(this.serpTitle),(0,i.default)(".cmb2-id-rank-math-permalink").insertAfter(this.serpPermalink),(0,i.default)(".cmb2-id-rank-math-description").insertAfter(this.serpDescription),(0,i.default)(".group",this.serpWrapper).prepend('<span class="dashicons dashicons-no-alt serp-close"></span>')}},{key:"initLengthIndicator",value:function(){this.serpTitleField.lengthIndicator({minLength:15,maxLength:60,source:this.serpTitle}),this.serpPermalinkField.lengthIndicator({minLength:5,maxLength:75,source:this.serpPermalink}),this.serpDescriptionField.lengthIndicator({minLength:80,maxLength:160,source:this.serpDescription})}},{key:"serpEvents",value:function(){var e=this,t=this.elemMetabox.find(".rank-math-select-device");t.on("click",function(r){r.preventDefault();var n,o=(0,i.default)(r.currentTarget),a=o.hasClass("active");n=function(t){switch(t){case"desktop-preview":e.serpWrapper.removeClass("mobile-preview"),e.serpWrapper.addClass("desktop-preview expanded-preview");break;case"mobile-preview":e.serpWrapper.removeClass("desktop-preview"),e.serpWrapper.addClass("mobile-preview expanded-preview");break;default:e.serpWrapper.removeClass("mobile-preview expanded-preview"),e.serpWrapper.addClass("desktop-preview")}},t.removeClass("active"),a?n("normal"):o.hasClass("device-desktop")?(n("desktop-preview"),o.addClass("active")):o.hasClass("device-mobile")&&(n("mobile-preview"),o.addClass("active"))});var r=!0,n=this.elemMetabox.find(".rank-math-edit-snippet");this.elemMetabox.on("click",".rank-math-edit-snippet",function(t){t.preventDefault(),n.toggleClass("hidden active"),e.desktopSnippet.toggle();var i={type:"click",isHidden:r=!r};e.serpTitle.trigger(i),e.serpPermalink.trigger(i),e.serpDescription.trigger(i)}),this.elemMetabox.on("click",".serp-title, .serp-url, .serp-description, .serp-close",function(t){t.preventDefault();var o=(0,i.default)(t.target).parent();"isHidden"in t?o.toggleClass("active",!t.isHidden):(o.toggleClass("active"),0===e.serpWrapper.find(".group.active").length&&n.hasClass("active")&&(r=!r,n.toggleClass("hidden active")),3!==e.serpWrapper.find(".group.active").length||n.hasClass("active")||(r=!1,n.toggleClass("hidden active")))});var o=(0,i.default)("#rank_math_use_default_robots1"),a=(0,i.default)("#rank_math_robots1");(0,i.default)("#rank_math_robots1, #rank_math_use_default_robots1, #rank_math_use_default_robots2").on("change",function(){if(!o.is(":checked"))return e.serpWrapper.removeClass("noindex-preview"),!1;a.is(":checked")?e.serpWrapper.addClass("noindex-preview"):e.serpWrapper.removeClass("noindex-preview")}).trigger("change"),(0,i.default)("textarea[data-autoresize]").each(function(){var e=(0,i.default)(this);e.on("keyup input",function(){e.css("height","auto").css("height",e.prop("scrollHeight"))})})}},{key:"updateEvents",value:function(){var e=this;this.serpTitleField.on("input",(0,u.default)(function(){e.updateTitlePreview()},500)).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemTitle.on("input",(0,u.default)(function(){e.setVariable("title",e.elemTitle.val()),e.setVariable("term",e.elemTitle.val()),e.setVariable("author",e.elemTitle.val()),e.setVariable("name",e.elemTitle.val()),e.updateTitlePreview()},500)),this.serpPermalinkField.val(this.serpPermalinkField.val()||this.elemSlug.val()).on("input",(0,u.default)(function(){var t=e.serpPermalinkField.val();e.updateSlug(t),e.updatePermalinkPreview()},500)).on("blur",function(){var t=(0,a.default)(e.serpPermalinkField.val());e.updateSlug(t)}).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemSlug.on("input",(0,u.default)(function(){e.serpPermalinkField.val(e.elemSlug.val()).trigger("input")},500)),this.serpDescriptionField.on("input",(0,u.default)(function(){e.updateDescriptionPreview()},500)).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemDescription.on("input",(0,u.default)(function(){e.updateDescriptionPreview()},500))}},{key:"updateSlug",value:function(e){this.serpPermalinkField.val(e),this.elemSlug.val(e)}},{key:"seoAssessments",value:function(e){if(!1!==this.shouldAssess){var t=null;"title"===e?t=this.assessor.assessTitle(this.title):"permalink"===e?t=this.assessor.assessPermalink(this.permalink):"description"===e?(this.assessor.paper.setDescription(this.description),t=this.assessor.assessFocusKeyword(this.focusKeywords.getFocusKeyword())):"content"===e&&(t=this.assessor.assessContent(this.description)),this.setKeywordStatus(t)}}},{key:"seoTitleAssessments",value:function(){this.seoAssessments("title")}},{key:"seoPermalinkAssessments",value:function(){this.seoAssessments("permalink")}},{key:"seoFocusKeywordAssessments",value:function(){this.seoAssessments("description")}},{key:"seoContentAssessments",value:function(){this.seoAssessments("content")}},{key:"seoAssessAll",value:function(){if(!1!==this.shouldAssess){this.assessor.paper.setTitle(this.title),this.assessor.paper.setPermalink(this.permalink),this.assessor.paper.setKeyword(this.focusKeywords.getFocusKeyword().keyword),this.assessor.paper.setDescription(this.description);var e=this.assessor.runAll();this.setKeywordStatus(e)}}},{key:"setKeywordStatus",value:function(e){if(!1!==this.analyzeOnPage){var t=this.focusKeywords.getFocusKeyword();if(t.isPrimary||void 0===t.elem)this.checkList.display(e);else{var r={keywordDensity:e.keywordDensity,keywordInContent:e.keywordInContent,keywordInSubheadings:e.keywordInSubheadings};this.checkList.hidePrimary(),this.checkList.display(r),this.checkList.setSecondaryKeywordStatus(r,t.elem),delete e.keywordDensity,delete e.keywordInContent,delete e.keywordInSubheadings}this.primaryResult=i.default.extend({},this.primaryResult,e),this.checkList.setPrimaryKeywordStatus(this.primaryResult,this.focusKeywords.elem.next().find(">li:not(.placeholder)").eq(1))}}},{key:"updatePreview",value:function(){this.updateTitlePreview(),this.updatePermalinkPreview(),this.updateDescriptionPreview(),this.shouldAssess=this.analyzeOnPage,this.seoAssessAll(),this.focusKeywords.elem.trigger("content-loaded"),this.updateFocusKeywords()}},{key:"updateFocusKeywords",value:function(){var e=this.focusKeywords.getFocusKeyword().keyword;if(""!==e&&(this.setVariable("focuskw",e),this.serpBg.val(e)),this.focusKeywords.getFocusKeyword().isPrimary){this.shouldAssess=!1,this.updateDescriptionPreview(),this.shouldAssess=!0,this.seoFocusKeywordAssessments(),this.highlightKeywords(),this.updatePreviewCallbacks("description",this.description),this.updatePreviewCallbacks("focus-keyword",e);var t=(0,i.default)(".focus-keyword-link");t.length&&""!==e&&t.attr("href",t.attr("href").replace("%focus_keyword%",e).replace("%post_type%",rankMath.objectType).replace("%taxonomy%",rankMath.objectType))}else this.seoFocusKeywordAssessments()}},{key:"updateTitlePreview",value:function(){this.title=this.serpTitleField.val();var e=""!==this.title;this.title=this.swapVars(""!==this.title?this.title:this.serpTitle.data("format")),this.serpTitle.html(this.title),this.serpTitleField.attr("placeholder",e?this.title:this.serpTitle.data("format")),this.socialFields.facebookTitleField.attr("placeholder",this.title),this.socialFields.twitterTitleField.attr("placeholder",this.title),this.seoTitleAssessments(),this.highlightKeywords(this.serpTitle),this.updatePreviewCallbacks("title",this.title),this.serpTitle.trigger("rank-math-vars-replaced")}},{key:"updatePermalinkPreview",value:function(){var e=this.serpPermalink.data("format")||"",t=(0,a.default)(this.serpPermalinkField.val());this.permalink=""!==t?e.replace(/%(postname|pagename)%/,t).trimRight("/")+"/":"",this.serpCanonical.attr("placeholder",this.permalink),this.serpPermalink.html(this.permalink),this.seoPermalinkAssessments(),this.highlightKeywords(this.serpPermalink),this.updatePreviewCallbacks("permalink",this.permalink),this.serpPermalink.trigger("rank-math-vars-replaced")}},{key:"updateDescriptionPreview",value:function(){this.description=this.swapVars(this.getDescription()),this.serpDescription.html(this.description),this.serpDescriptionField.attr("placeholder",""!==this.description?this.description:this.serpDescription.data("format"));var e=this.getDescriptionTruncated(this.description,300);this.socialFields.facebookDescriptionField.attr("placeholder",e),this.socialFields.twitterDescriptionField.attr("placeholder",e),this.seoContentAssessments(),this.highlightKeywords(this.serpDescription),this.updatePreviewCallbacks("description",this.description),this.serpDescription.trigger("rank-math-vars-replaced")}},{key:"updatePreviewCallbacks",value:function(e,t){this.elemMetabox.trigger("rank-math-updating-preview-"+(e=e||"global")),this.elemMetabox.trigger("rank-math-"+e+"-updated",t)}},{key:"highlightKeywords",value:function(e){var t=this.focusKeywords.getFocusKeyword().keyword;!1!==t&&(e?(e.hasClass("serp-url")&&(t=this.assessor.paper.get("keywordPermalink")),e.rankMathUnhighlight(),e.rankMathHighlight(t)):(this.serpTitle.rankMathUnhighlight(),this.serpTitle.rankMathHighlight(t),this.serpPermalink.rankMathUnhighlight(),this.serpPermalink.rankMathHighlight(this.assessor.paper.get("keywordPermalink")),this.serpDescription.rankMathUnhighlight(),this.serpDescription.rankMathHighlight(t)))}},{key:"swapVars",value:function(e,t){var r=this;return(e=e||"")?(t=t||this.getMapObj(),(e=e.replace(" %page%","").replace("%sep% %sep%","%sep%")).replace(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/giu,function(e){var n=e.toLowerCase().replace(/%+/g,"");return["title","post_title","term","author","name"].includes(n)?r.isGutenbergAvailable?t.title:r.elemTitle.val():["description","tag_description","category_description","cat_description","author_description","user_description"].includes(n)?(0,i.default)("#description").val():["fk","focuskeyword","focuskw"].includes(n)?r.focusKeywords.getFocusKeyword().keyword:n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(n.includes("(")&&(n=n.split("(")[0]),n in t?t[n]:n)}).trim()):""}},{key:"getMapObj",value:function(){var e=this;return null!==this.variableMap?this.variableMap:(this.variableMap={},i.default.each(rankMath.variables,function(t,r){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.variableMap[t]=r.example}),this.variableMap)}},{key:"setVariable",value:function(e,t){null!==this.variableMap?this.variableMap[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}},{key:"getContent",value:function(){return this.assessor.paper.get("content")}},{key:"getDescription",value:function(){var e=!1,t=this.serpDescriptionField.val(),r=this.getExcerpt();t||""===r||(t=r,e=!0),t||(t=this.serpDescription.data("format")),this.assessor.refreshContent();var n=this.getContent();return!1===e&&(n=this.generateDescriptionFromContent(n),this.setVariable("excerpt",n)),t?(0,d.default)(t):n}},{key:"getExcerpt",value:function(){if(this.isGutenbergAvailable)return this.getMapObj().excerpt;var e=this.elemDescription.val();return this.setVariable("excerpt",e),this.setVariable("excerpt_only",e),this.setVariable("wc_shortdesc",e),e}},{key:"generateDescriptionFromContent",value:function(e){if(""===e)return"";var t=this.focusKeywords.getFocusKeyword().keyword,r=(0,o.default)((0,h.default)(e,!0),function(e){return""!==i.default.trim(e)});if(""!==t){var n=(0,o.default)(r,function(e){return(0,s.default)(e.toLowerCase(),t)});if(n.length>0)return this.getDescriptionTruncated(n[0],160)}return this.getDescriptionTruncated(r[0],160)}},{key:"getDescriptionTruncated",value:function(e,t){return t?this.truncate(e.replace(/\r?\n|\r/g," "),t):e.replace(/\r?\n|\r/g," ")}},{key:"truncate",value:function(e,t){return e.length>t?e.substring(0,t):e}}]),e}();t.default=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=(n=r(81))&&n.__esModule?n:{default:n},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metabox=t,this.getPostAttribute=this.getPostAttribute.bind(this),this.refresh=this.refresh.bind(this),this._data=this.collectGutenbergData(this.getPostAttribute),this.subscribeToGutenberg()}return i(e,[{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title"),slug:this.getSlug(),excerpt:this.getPostAttribute("excerpt")}}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug");return"auto-draft"===e&&(e=""),this.getPostAttribute("slug")||e}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=wp.data.select("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"subscribeToGutenberg",value:function(){this.subscriber=(0,o.default)(this.refresh,500),wp.data.subscribe(this.subscriber)}},{key:"refresh",value:function(){var e=this.collectGutenbergData();this.handleEditorChange(e),this._data=e}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&(this.metabox.title=e.title,this.metabox.setVariable("title",e.title),this.metabox.setVariable("term",e.title),this.metabox.setVariable("author",e.title),this.metabox.setVariable("name",e.title),this.metabox.updateTitlePreview()),this._data.excerpt!==e.excerpt&&(this.metabox.setVariable("excerpt",e.excerpt),this.metabox.setVariable("excerpt_only",e.excerpt),this.metabox.setVariable("wc_shortdesc",e.excerpt),this.metabox.updateDescriptionPreview()),this._data.slug!==e.slug&&this.metabox.serpPermalinkField.val(e.slug).trigger("input"),this._data.content!==e.content&&(this.metabox.setVariable("excerpt",e.excerpt),this.metabox.assessor.paper.setContent(e.content),this.metabox.updateDescriptionPreview(),this.metabox.socialFields.updateThumbnailPreview())}}]),e}();t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(r(280)),i=o(r(65));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return!(0,n.default)(window.wp)&&!(0,n.default)(wp.data)&&!(0,n.default)(wp.data.select("core/editor"))&&(0,i.default)(wp.data.select("core/editor").getEditedPostAttribute)}}]);
|
assets/admin/js/term-metabox.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=418)}([function(e,t){e.exports=Array.isArray},function(e,t,r){var n=r(68),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},function(e,t,r){var n=r(94)("wks"),i=r(52),o=r(3).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(16),i=r(53);e.exports=r(5)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){e.exports=!r(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=jQuery},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=r(155),i=r(158);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},function(e,t,r){var n=r(21),i=r(134),o=r(135),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(89)("wks"),i=r(90),o=r(10).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(46),i=r(87);e.exports=r(32)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(17),i=r(96),o=r(98),a=Object.defineProperty;t.f=r(5)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(13);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(3),i=r(4),o=r(19),a=r(52)("src"),s=Function.toString,u=(""+s).split("toString");r(51).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(o(r,a)||i(r,a,e[t]?""+e[t]:u.join(t+""))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},,function(e,t,r){var n=r(1);e.exports=n.Symbol},function(e,t,r){var n=r(65),i=r(38);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,t,r){var n=r(131),i=r(114),o=r(22);e.exports=function(e){return o(e)?n(e):i(e)}},function(e,t,r){var n=r(145),i=r(146),o=r(147),a=r(148),s=r(149);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(71);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(8)(Object,"create");e.exports=n},function(e,t,r){var n=r(167);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(9),i=r(7);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},function(e,t,r){var n=r(28);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t){e.exports={}},function(e,t,r){var n=r(47);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){e.exports=!r(48)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(243),i=r(55);e.exports=function(e){return n(i(e))}},,function(e,t,r){var n=r(128),i=r(142)(n);e.exports=i},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&9007199254740991>=e}},function(e,t,r){var n=r(8)(r(1),"Map");e.exports=n},function(e,t,r){var n=r(159),i=r(166),o=r(168),a=r(169),s=r(170);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(0),i=r(28),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},function(e,t,r){var n=r(123),i=r(22),o=r(124),a=r(204),s=r(205),u=Math.max;e.exports=function(e,t,r,c){e=i(e)?e:s(e),r=r&&!c?a(r):0;var l=e.length;return 0>r&&(r=u(l+r,0)),o(e)?l>=r&&e.indexOf(t,r)>-1:!!l&&n(e,t,r)>-1}},function(e,t,r){var n=r(218),i=r(45);e.exports=function(e){return n(i(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(31),i=r(221),o=r(222),a=Object.defineProperty;t.f=r(32)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(89)("keys"),i=r(90);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(94)("keys"),i=r(52);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(4),i=r(18),o=r(34),a=r(55),s=r(2);e.exports=function(e,t,r){var u=s(e),c=r(a,u,""[e]),l=c[0],f=c[1];o(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(i(String.prototype,e,l),n(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,r){var n=r(143),i=r(186),o=r(108),a=r(0),s=r(194);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},,function(e,t,r){var n=r(133),i=r(7),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,r){!function(e){var n=r(1),i=r(136),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0;e.exports=(s?s.isBuffer:void 0)||i}(r(63)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(137),i=r(138),o=r(139),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},function(e,t,r){var n=r(9),i=r(14);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/<\/?[a-z][^>]*?>/gi,"\n")}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},function(e,t,r){var n;n=r(113),e.exports="object"==typeof n&&n&&n.Object===Object&&n},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&t>e}},function(e,t,r){var n=r(24),i=r(150),o=r(151),a=r(152),s=r(153),u=r(154);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(171),i=r(7);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},function(e,t,r){var n=r(116),i=r(174),o=r(117);e.exports=function(e,t,r,a,s,u){var c=1&r,l=e.length,f=t.length;if(!(l==f||c&&f>l))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,h=!0,v=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var g=e[d],m=t[d];if(a)var y=c?a(m,g,d,t,e,u):a(g,m,d,e,t,u);if(void 0!==y){if(y)continue;h=!1;break}if(v){if(!i(t,function(e,t){if(!o(v,t)&&(g===e||s(g,e,r,a,u)))return v.push(t)})){h=!1;break}}else if(g!==m&&!s(g,m,r,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},function(e,t,r){var n=r(14);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},function(e,t,r){var n=r(78),i=r(29);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&o>r;)e=e[i(t[r++])];return r&&r==o?e:void 0}},function(e,t,r){var n=r(0),i=r(41),o=r(188),a=r(79);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,r){var n=r(191);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(14),i=r(28),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var r=s.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},function(e,t,r){var n=r(14),i=r(272),o=r(80),a=Math.max,s=Math.min;e.exports=function(e,t,r){var u,c,l,f,p,d,h=0,v=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var r=u,n=c;return u=c=void 0,h=t,f=e.apply(n,r)}function b(e){var r=e-d;return void 0===d||r>=t||0>r||g&&e-h>=l}function k(){var e=i();if(b(e))return w(e);p=setTimeout(k,function(e){var r=t-(e-d);return g?s(r,l-(e-h)):r}(e))}function w(e){return p=void 0,m&&u?y(e):(u=c=void 0,f)}function x(){var e=i(),r=b(e);if(u=arguments,c=this,d=e,r){if(void 0===p)return function(e){return h=e,p=setTimeout(k,t),v?y(e):f}(d);if(g)return p=setTimeout(k,t),y(d)}return void 0===p&&(p=setTimeout(k,t)),f}return t=o(t)||0,n(r)&&(v=!!r.leading,l=(g="maxWait"in r)?a(o(r.maxWait)||0,t):l,m="trailing"in r?!!r.trailing:m),x.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=c=p=void 0},x.flush=function(){return void 0===p?f:w(i())},x}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(84),i=r(85),o=r(223),a=r(15),s=r(30),u=r(224),c=r(92),l=r(232),f=r(12)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,g,m){u(r,t,h);var y,b,k,w=function(e){if(!p&&e in j)return j[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",_="values"==v,O=!1,j=e.prototype,P=j[f]||j["@@iterator"]||v&&j[v],T=P||w(v),S=v?_?w("entries"):T:void 0,C="Array"==t&&j.entries||P;if(C&&(k=l(C.call(new e)))!==Object.prototype&&k.next&&(c(k,x,!0),n||"function"==typeof k[f]||a(k,f,d)),_&&P&&"values"!==P.name&&(O=!0,T=function(){return P.call(this)}),n&&!m||!p&&!O&&j[f]||a(j,f,T),s[t]=T,s[x]=d,v)if(y={values:_?T:w("values"),keys:g?T:w("keys"),entries:S},m)for(b in y)b in j||o(j,b,y[b]);else i(i.P+i.F*(p||O),t,y);return y}},function(e,t){e.exports=!0},function(e,t,r){var n=r(10),i=r(11),o=r(219),a=r(15),s=r(33),u=function(e,t,r){var c,l,f,p=e&u.F,d=e&u.G,h=e&u.S,v=e&u.P,g=e&u.B,m=e&u.W,y=d?i:i[t]||(i[t]={}),b=y.prototype,k=d?n:h?n[t]:(n[t]||{}).prototype;for(c in d&&(r=t),r)(l=!p&&k&&void 0!==k[c])&&s(y,c)||(f=l?k[c]:r[c],y[c]=d&&"function"!=typeof k[c]?r[c]:g&&l?o(f,n):m&&k[c]==f?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[c]=f,e&u.R&&b&&!b[c]&&a(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){var n=r(47),i=r(10).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(227),i=r(91);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(11),i=r(10),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(84)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(46).f,i=r(33),o=r(12)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(45);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(51),i=r(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(95)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,r){e.exports=!r(5)&&!r(34)(function(){return 7!=Object.defineProperty(r(97)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(13),i=r(3).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(13);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(246);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(102),i=r(57);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(19),i=r(35),o=r(250)(!1),a=r(56)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(16).f,i=r(19),o=r(2)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(13),i=r(99),o=r(2)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,r){var n=r(210),i=r(211),o=r(238);e.exports=function(e,t){return n(e)||i(e,t)||o()}},function(e,t,r){e.exports=r(258)},function(e,t){e.exports=function(e){return e}},function(e,t,r){var n=r(67),i=r(127),o=r(59),a=r(0);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},function(e,t,r){var n=r(42),i=r(59),o=r(208),a=r(0);e.exports=function(e,t){return(a(e)?n:o)(e,i(t,3))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,"").replace(i,"")};var n=/\[[^<>&\/\[\] - =]+?( [^\]]+?)?\]/g,i=/\[\/[^<>&\/\[\] - =]+?\]/g},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(115),i=r(140),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){var n=r(40),i=r(172),o=r(173);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},function(e,t,r){var n=r(183),i=r(39),o=r(184),a=r(120),s=r(121),u=r(9),c=r(72),l=c(n),f=c(i),p=c(o),d=c(a),h=c(s),v=u;(n&&"[object DataView]"!=v(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=v(new i)||o&&"[object Promise]"!=v(o.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,r){var n=r(8)(r(1),"Set");e.exports=n},function(e,t,r){var n=r(8)(r(1),"WeakMap");e.exports=n},function(e,t,r){var n=r(78),i=r(61),o=r(0),a=r(69),s=r(38),u=r(29);e.exports=function(e,t,r){for(var c=-1,l=(t=n(t,e)).length,f=!1;++c<l;){var p=u(t[c]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(p,l)&&(o(e)||i(e))}},function(e,t,r){var n=r(201),i=r(202),o=r(203);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},function(e,t,r){var n=r(9),i=r(0),o=r(7);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},function(e,t,r){var n=r(80);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?1.7976931348623157e308*(0>e?-1:1):e==e?e:0:0===e?e:0}},,function(e,t,r){var n=r(37);e.exports=function(e,t){var r=[];return n(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}},function(e,t,r){var n=r(129),i=r(23);e.exports=function(e,t){return e&&n(e,t,i)}},function(e,t,r){var n=r(130)();e.exports=n},function(e,t){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===r(o[u],u,o))break}return t}}},function(e,t,r){var n=r(132),i=r(61),o=r(0),a=r(62),s=r(69),u=r(64),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),l=!r&&i(e),f=!r&&!l&&a(e),p=!r&&!l&&!f&&u(e),d=r||l||f||p,h=d?n(e.length,String):[],v=h.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(9),i=r(7);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},function(e,t,r){var n=r(21),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(9),i=r(38),o=r(7),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){!function(e){var n=r(68),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}(r(63)(e))},function(e,t,r){var n=r(141)(Object.keys,Object);e.exports=n},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(22);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},function(e,t,r){var n=r(144),i=r(185),o=r(76);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(70),i=r(73);e.exports=function(e,t,r,o){var a=r.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=r[a])[0],f=e[l],p=c[1];if(u&&c[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(o)var h=o(f,p,l,e,t,d);if(!(void 0===h?i(p,f,3,o,d):h))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(25),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return r>=0&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(25);e.exports=function(e){var t=this.__data__,r=n(t,e);return 0>r?void 0:t[r][1]}},function(e,t,r){var n=r(25);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(25);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return 0>i?(++this.size,r.push([e,t])):r[i][1]=t,this}},function(e,t,r){var n=r(24);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(24),i=r(39),o=r(40);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||199>a.length)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(65),i=r(156),o=r(14),a=r(72),s=/^\[object .+?Constructor\]$/,u=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?u:s).test(a(e))}},function(e,t,r){var n,i=r(157),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(1);e.exports=n["__core-js_shared__"]},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(160),i=r(24),o=r(39);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},function(e,t,r){var n=r(161),i=r(162),o=r(163),a=r(164),s=r(165);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(26);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(26),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(26),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},function(e,t,r){var n=r(26);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,r){var n=r(27);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(27);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},function(e,t,r){var n=r(70),i=r(74),o=r(175),a=r(178),s=r(119),u=r(0),c=r(62),l=r(64),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,g,m){var y=u(e),b=u(t),k=y?p:s(e),w=b?p:s(t),x=(k=k==f?d:k)==d,_=(w=w==f?d:w)==d,O=k==w;if(O&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(O&&!x)return m||(m=new n),y||l(e)?i(e,t,r,v,g,m):o(e,t,k,r,v,g,m);if(!(1&r)){var j=x&&h.call(e,"__wrapped__"),P=_&&h.call(t,"__wrapped__");if(j||P){var T=j?e.value():e,S=P?t.value():t;return m||(m=new n),g(T,S,r,v,m)}}return!!O&&(m||(m=new n),a(e,t,r,v,g,m))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t,r){var n=r(21),i=r(176),o=r(71),a=r(74),s=r(177),u=r(110),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":if(d||(d=u),e.size!=t.size&&!(1&n))return!1;var h=p.get(e);if(h)return h==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,c,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,r){var n=r(1);e.exports=n.Uint8Array},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},function(e,t,r){var n=r(179),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var u=1&r,c=n(e),l=c.length;if(l!=n(t).length&&!u)return!1;for(var f=l;f--;){var p=c[f];if(!(u?p in t:i.call(t,p)))return!1}var d=s.get(e);if(d&&s.get(t))return d==t;var h=!0;s.set(e,t),s.set(t,e);for(var v=u;++f<l;){var g=e[p=c[f]],m=t[p];if(o)var y=u?o(m,g,p,t,e,s):o(g,m,p,e,t,s);if(!(void 0===y?g===m||a(g,m,r,o,s):y)){h=!1;break}v||(v="constructor"==p)}if(h&&!v){var b=e.constructor,k=t.constructor;b!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof k&&k instanceof k)&&(h=!1)}return s.delete(e),s.delete(t),h}},function(e,t,r){var n=r(180),i=r(181),o=r(23);e.exports=function(e){return n(e,o,i)}},function(e,t,r){var n=r(118),i=r(0);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},function(e,t,r){var n=r(67),i=r(182),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return o.call(e,t)})}:i},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(8)(r(1),"DataView");e.exports=n},function(e,t,r){var n=r(8)(r(1),"Promise");e.exports=n},function(e,t,r){var n=r(75),i=r(23);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},function(e,t,r){var n=r(73),i=r(187),o=r(192),a=r(41),s=r(75),u=r(76),c=r(29);e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},function(e,t,r){var n=r(77);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r(189)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)}),t});e.exports=o},function(e,t,r){var n=r(190);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(40),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(21),i=r(42),o=r(0),a=r(28),s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},function(e,t,r){var n=r(193),i=r(122);e.exports=function(e,t){return null!=e&&i(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(195),i=r(196),o=r(41),a=r(29);e.exports=function(e){return o(e)?n(a(e)):i(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(77);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(0,i.default)(e)).replace(/ /gi,"-").toLowerCase()};var n,i=(n=r(198))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(199),i=r(79),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=/[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]/g;e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},function(e,t,r){var n=r(200)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(125);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},function(e,t,r){var n=r(206),i=r(23);e.exports=function(e){return null==e?[]:n(e,i(e))}},function(e,t,r){var n=r(42);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=u((0,i.autop)((0,a.default)(e)),t);return r.length>0?r:[e]};var n=s(r(111)),i=r(209),o=s(r(66)),a=s(r(112));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t){var r=[];t=t||!1;for(var i=/<p(?:[^>]+)?>(.*?)<\/p>/gi,a=void 0;null!==(a=i.exec(e));)r.push(a);return(0,n.default)(r,function(e){return t?(0,o.default)(e[1]):e[1]})}},function(e,t,r){var n=r(37),i=r(22);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,function(e,n,i){o[++r]=t(e,n,i)}),o}},function(e,t,r){"use strict";r.r(t),r.d(t,"autop",function(){return c}),r.d(t,"removep",function(){return l});var n=r(106),i=r.n(n),o=(r(239),r(256),r(257),r(107)),a=r.n(o),s=(r(261),r(262),/(<((?=!--|!\[CDATA\[)((?=!-)!(?:-(?!->)[^\-]*)*(?:-->)?|!\[CDATA\[[^\]]*(?:](?!]>)[^\]]*)*?(?:]]>)?)|[^>]*>?))/);function u(e,t){for(var r=function(e){for(var t,r=[],n=e;t=n.match(s);)r.push(n.slice(0,t.index)),r.push(t[0]),n=n.slice(t.index+t[0].length);return n.length&&r.push(n),r}(e),n=!1,i=a()(t),o=1;r.length>o;o+=2)for(var u=0;i.length>u;u++){var c=i[u];if(-1!==r[o].indexOf(c)){r[o]=r[o].replace(RegExp(c,"g"),t[c]),n=!0;break}}return n&&(e=r.join("")),e}function c(e){var t=1>=arguments.length||void 0===arguments[1]||arguments[1],r=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var n=e.split("</pre>"),o=n.pop();e="";for(var a=0;n.length>a;a++){var s=n[a],c=s.indexOf("<pre");if(-1!==c){var l="<pre wp-pre-tag-"+a+"></pre>";r.push([l,s.substr(c)+"</pre>"]),e+=s.substr(0,c)+l}else e+=s}e+=o}var f="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=u(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(RegExp("(<"+f+"[s/>])","g"),"\n\n$1")).replace(RegExp("(</"+f+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var p=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",p.forEach(function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(RegExp("<p>s*(</?"+f+"[^>]*>)s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(RegExp("<p>s*(</?"+f+"[^>]*>)","g"),"$1")).replace(RegExp("(</?"+f+"[^>]*>)s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,t){return t?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(RegExp("(</?"+f+"[^>]*>)s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),r.forEach(function(t){var r=i()(t,2);e=e.replace(r[0],r[1])}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function l(e){var t="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",r=t+"|div|p",n=t+"|pre",i=[],o=!1,a=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(e){return i.push(e),"<wp-preserve>"})),-1!==e.indexOf("<pre")&&(o=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(RegExp("\\s*</("+r+")>\\s*","g"),"</$1>\n")).replace(RegExp("\\s*<((?:"+r+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>.*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,function(e,t){return t&&-1!==t.indexOf("\n")?"\n\n":"\n"})).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(RegExp("\\s*<((?:"+n+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/[\r\n]+/g,"")})),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),o&&(e=e.replace(/<wp-line-break>/g,"\n")),a&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),i.length&&(e=e.replace(/<wp-preserve>/g,function(){return i.shift()})),e):""}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t,r){var n=r(212);e.exports=function(e,t){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n(e);!(i=(s=u.next()).done)&&(r.push(s.value),!t||r.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r}},function(e,t,r){e.exports=r(213)},function(e,t,r){r(214),r(233),e.exports=r(235)},function(e,t,r){r(215);for(var n=r(10),i=r(15),o=r(30),a=r(12)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;s.length>u;u++){var c=s[u],l=n[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},function(e,t,r){"use strict";var n=r(216),i=r(217),o=r(30),a=r(44);e.exports=r(83)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return e&&e.length>r?i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]]):(this._t=void 0,i(1))},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(82);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(220);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){e.exports=!r(32)&&!r(48)(function(){return 7!=Object.defineProperty(r(86)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(47);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){e.exports=r(15)},function(e,t,r){"use strict";var n=r(225),i=r(87),o=r(92),a={};r(15)(a,r(12)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(31),i=r(226),o=r(91),a=r(50)("IE_PROTO"),s=function(){},u=function(){var e,t=r(86)("iframe"),n=o.length;for(t.style.display="none",r(231).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(46),i=r(31),o=r(88);e.exports=r(32)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(33),i=r(44),o=r(228)(!1),a=r(50)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t,r){var n=r(44),i=r(229),o=r(230);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(49),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(49),i=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=n(e))?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(10).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(33),i=r(93),o=r(50)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){"use strict";var n=r(234)(!0);r(83)(String,"String",function(e){this._t=e+"",this._i=0},function(){var e,t=this._t,r=this._i;return t.length>r?(e=n(t,r),this._i+=e.length,{value:e,done:!1}):{value:void 0,done:!0}})},function(e,t,r){var n=r(49),i=r(45);e.exports=function(e){return function(t,r){var o,a,s=i(t)+"",u=n(r),c=s.length;return 0>u||u>=c?e?"":void 0:55296>(o=s.charCodeAt(u))||o>56319||u+1===c||56320>(a=s.charCodeAt(u+1))||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(e,t,r){var n=r(31),i=r(236);e.exports=r(11).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(237),i=r(12)("iterator"),o=r(30);e.exports=r(11).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){var n=r(82),i=r(12)("toStringTag"),o="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){for(var n=r(240),i=r(101),o=r(18),a=r(3),s=r(4),u=r(54),c=r(2),l=c("iterator"),f=c("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(d),v=0;h.length>v;v++){var g,m=h[v],y=d[m],b=a[m],k=b&&b.prototype;if(k&&(k[l]||s(k,l,p),k[f]||s(k,f,m),u[m]=p,y))for(g in n)k[g]||o(k,g,n[g],!0)}},function(e,t,r){"use strict";var n=r(241),i=r(242),o=r(54),a=r(35);e.exports=r(244)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return e&&e.length>r?i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]]):(this._t=void 0,i(1))},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){var n=r(2)("unscopables"),i=Array.prototype;void 0==i[n]&&r(4)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(99);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";var n=r(95),i=r(245),o=r(18),a=r(4),s=r(54),u=r(247),c=r(104),l=r(254),f=r(2)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,g,m){u(r,t,h);var y,b,k,w=function(e){if(!p&&e in j)return j[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",_="values"==v,O=!1,j=e.prototype,P=j[f]||j["@@iterator"]||v&&j[v],T=P||w(v),S=v?_?w("entries"):T:void 0,C="Array"==t&&j.entries||P;if(C&&(k=l(C.call(new e)))!==Object.prototype&&k.next&&(c(k,x,!0),n||"function"==typeof k[f]||a(k,f,d)),_&&P&&"values"!==P.name&&(O=!0,T=function(){return P.call(this)}),n&&!m||!p&&!O&&j[f]||a(j,f,T),s[t]=T,s[x]=d,v)if(y={values:_?T:w("values"),keys:g?T:w("keys"),entries:S},m)for(b in y)b in j||o(j,b,y[b]);else i(i.P+i.F*(p||O),t,y);return y}},function(e,t,r){var n=r(3),i=r(51),o=r(4),a=r(18),s=r(100),u=function(e,t,r){var c,l,f,p,d=e&u.F,h=e&u.G,v=e&u.P,g=e&u.B,m=h?n:e&u.S?n[t]||(n[t]={}):(n[t]||{}).prototype,y=h?i:i[t]||(i[t]={}),b=y.prototype||(y.prototype={});for(c in h&&(r=t),r)f=((l=!d&&m&&void 0!==m[c])?m:r)[c],p=g&&l?s(f,n):v&&"function"==typeof f?s(Function.call,f):f,m&&a(m,c,f,e&u.U),y[c]!=f&&o(y,c,p),v&&b[c]!=f&&(b[c]=f)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(248),i=r(53),o=r(104),a={};r(4)(a,r(2)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(17),i=r(249),o=r(57),a=r(56)("IE_PROTO"),s=function(){},u=function(){var e,t=r(97)("iframe"),n=o.length;for(t.style.display="none",r(253).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(16),i=r(17),o=r(101);e.exports=r(5)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(35),i=r(251),o=r(252);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(103),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(103),i=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=n(e))?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(3).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(19),i=r(255),o=r(56)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(55);e.exports=function(e){return Object(n(e))}},function(e,t,r){r(58)("split",2,function(e,t,n){"use strict";var i=r(105),o=n,a=[].push;if("".split(/.?/).length){var s=void 0===/()??/.exec("")[1];n=function(e,t){var r=this+"";if(void 0===e&&0===t)return[];if(!i(e))return o.call(r,e,t);var n,u,c,l,f,p=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=void 0===t?4294967295:t>>>0,g=RegExp(e.source,d+"g");for(s||(n=RegExp("^"+g.source+"$(?!\\s)",d));(u=g.exec(r))&&((c=u.index+u[0].length)<=h||(p.push(r.slice(h,u.index)),!s&&u.length>1&&u[0].replace(n,function(){for(f=1;arguments.length-2>f;f++)void 0===arguments[f]&&(u[f]=void 0)}),u.length>1&&r.length>u.index&&a.apply(p,u.slice(1)),l=u[0].length,h=c,v>p.length));)g.lastIndex===u.index&&g.lastIndex++;return h===r.length?!l&&g.test("")||p.push(""):p.push(r.slice(h)),p.length>v?p.slice(0,v):p}}return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(o+"",r,i)},n]})},function(e,t,r){r(58)("replace",2,function(e,t,r){return[function(n,i){"use strict";var o=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,o,i):r.call(o+"",n,i)},r]})},function(e,t,r){r(259),e.exports=r(11).Object.keys},function(e,t,r){var n=r(93),i=r(88);r(260)("keys",function(){return function(e){return i(n(e))}})},function(e,t,r){var n=r(85),i=r(11),o=r(48);e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*o(function(){r(1)}),"Object",a)}},function(e,t,r){r(58)("match",1,function(e,t,r){return[function(r){"use strict";var n=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,n):RegExp(r)[t](n+"")},r]})},function(e,t,r){var n=r(3),i=r(263),o=r(16).f,a=r(267).f,s=r(105),u=r(268),c=n.RegExp,l=c,f=c.prototype,p=/a/g,d=/a/g,h=new c(p)!==p;if(r(5)&&(!h||r(34)(function(){return d[r(2)("match")]=!1,c(p)!=p||c(d)==d||"/a/i"!=c(p,"i")}))){c=function(e,t){var r=this instanceof c,n=s(e),o=void 0===t;return!r&&n&&e.constructor===c&&o?e:i(h?new l(n&&!o?e.source:e,t):l((n=e instanceof c)?e.source:e,n&&o?u.call(e):t),r?this:f,c)};for(var v=function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},g=a(l),m=0;g.length>m;)v(g[m++]);f.constructor=c,c.prototype=f,r(18)(n,"RegExp",c)}r(269)("RegExp")},function(e,t,r){var n=r(13),i=r(264).set;e.exports=function(e,t,r){var o,a=t.constructor;return a!==r&&"function"==typeof a&&(o=a.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},function(e,t,r){var n=r(13),i=r(17),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(100)(Function.call,r(265).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){var n=r(266),i=r(53),o=r(35),a=r(98),s=r(19),u=r(96),c=Object.getOwnPropertyDescriptor;t.f=r(5)?c:function(e,t){if(e=o(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(102),i=r(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(17);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,r){"use strict";var n=r(3),i=r(16),o=r(5),a=r(2)("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n,i=(n=r(6))&&n.__esModule?n:{default:n};i.default.extend({rankMathHighlight:function(e,t,r,n){if(3===e.nodeType){var o=e.data.match(t);if(o){var a=document.createElement(r||"span");a.className=n||"highlight";var s=e.splitText(o.index);s.splitText(o[0].length);var u=s.cloneNode(!0);return a.appendChild(u),s.parentNode.replaceChild(a,s),1}}else if(1===e.nodeType&&e.childNodes&&!/(script|style)/i.test(e.tagName)&&(e.tagName!==r.toUpperCase()||e.className!==n))for(var c=0;e.childNodes.length>c;c++)c+=i.default.rankMathHighlight(e.childNodes[c],t,r,n);return 0}}),i.default.fn.rankMathUnhighlight=function(e){var t={className:"highlight",element:"span"};return i.default.extend(t,e),this.find(t.element+"."+t.className).each(function(){var e=this.parentNode;e.replaceChild(this.firstChild,this),e.normalize()}).end()},i.default.fn.rankMathHighlight=function(e,t){var r={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1};if(i.default.extend(r,t),void 0===e||""===e)return this;if(e.constructor===String&&(e=[e]),e=i.default.grep(e,function(e){return""!==e}),0===(e=i.default.map(e,function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).length)return this;var n=r.caseSensitive?"":"i",o="("+e.join("|")+")";r.wordsOnly&&(o="\\b"+o+"\\b");var a=RegExp(o,n);return this.each(function(){i.default.rankMathHighlight(this,a,r.element,r.className)})}},function(e,t,r){"use strict";var n,i=(n=r(6))&&n.__esModule?n:{default:n},o=document.createElement("div");i.default.fn.lengthIndicator=function(e){var t=this;e=i.default.extend({},{minLength:0,maxLength:1e3,source:null},e),t.wrap('<span class="length-indicator-wrapper"/>'),t.parent().append('<span class="length-indicator"><span/></span><span class="length-count">0 / '+e.maxLength+"</span>");var r=t.parent().find(".length-indicator"),n=r.find(">span"),a=t.parent().find(".length-count"),s=function(){var i=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),o.innerHTML=e,e=o.textContent,o.textContent=""),e}(null===e.source?t.val():e.source.text()).length;r.removeClass("invalid short"),n.css("left",Math.min(100,Math.floor(i/e.maxLength*100))+"%"),a.text(i+" / "+e.maxLength),i>e.minLength&&e.maxLength>=i||r.addClass("invalid")};t.on("input",s),null!==e.source&&e.source.on("rank-math-vars-replaced",s),s()}},function(e,t,r){var n=r(1);e.exports=function(){return n.Date.now()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=a(r(6)),o=a(r(274));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elem=(0,i.default)("#rank-math-serp-checklist",t.elemMetabox),this.scoreElem=(0,i.default)('<div class="misc-pub-section rank-math-seo-score"><span class="score-text"><span class="dashicons dashicons-chart-area"></span> SEO: <strong>Not available</strong></span></div>'),this.scoreText=this.scoreElem.find("strong"),this.scoreField=(0,i.default)("#rank_math_seo_score"),this.fkScoreElem=(0,i.default)('<div class="rank-math-seo-score below-focus-keyword"><span class="score-text">Not available</span></div>'),this.fkScoreText=this.fkScoreElem.find("span"),(0,i.default)("#misc-publishing-actions").append(this.scoreElem),(0,i.default)(".cmb-td",".cmb2-id-rank-math-focus-keyword").append(this.fkScoreElem),this.events()}return n(e,[{key:"display",value:function(e){var t=this;i.default.each(e,function(e,r){var n=t.elem.find(".seo-check-"+e);n.removeClass("test-ok test-fail test-empty test-looking veryEasy difficult veryDifficult"),n.addClass("test-"+r.status),n.show(),"calculateFleschReading"===e&&n.addClass(r.factors[2]),n.find("span:eq(0)").html(r.message)})}},{key:"setPrimaryKeywordStatus",value:function(e,t){t.removeClass("good-fk ok-fk bad-fk");var r=(0,o.default)(e,function(e,t,r){return!1===t&&(t={score:0}),e+t.score},0);status="bad-fk",r>80?status="good-fk":r>50&&(status="ok-fk"),t.removeClass("bad-fk ok-fk good-fk"),this.scoreElem.removeClass("bad-fk ok-fk good-fk"),this.fkScoreElem.removeClass("bad-fk ok-fk good-fk"),t.addClass(status),this.scoreElem.addClass(status),this.fkScoreElem.addClass(status),this.scoreText.html(r+" / 100"),this.fkScoreText.html(r+" / 100"),this.scoreField.val(parseInt(r))}},{key:"setSecondaryKeywordStatus",value:function(e,t){t.removeClass("good-fk ok-fk bad-fk");var r=(0,o.default)(e,function(e,t){return e+("ok"===t.status?1:0)},0);t.addClass(3===r?"good-fk":2===r?"ok-fk":"bad-fk")}},{key:"hidePrimary",value:function(){this.elem.find("li.is-primary").hide()}},{key:"events",value:function(){var e=this;this.elem.on("click",".group-handle",function(t){t.preventDefault();var r=(0,i.default)(t.target).closest(".rank-math-serp-group"),n={};r.toggleClass("state-open state-closed"),e.updateGroupStatus(r),e.elem.find(">.rank-math-serp-group").each(function(){var e=(0,i.default)(this);n[e.data("id")]=e.hasClass("state-closed")?"closed":"open"}),i.default.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_save_checklist_layout",security:rankMath.security,layout:n}})})}},{key:"updateGroupStatus",value:function(e){(e=e||(0,i.default)(".rank-math-serp-group")).each(function(){var e=(0,i.default)(this);1>e.find("li.test-fail").length&&1>e.find("li.test-empty").length?e.find(".group-status").addClass("passed"):e.find(".group-status").removeClass("passed")})}}]),e}();t.default=s},function(e,t,r){var n=r(275),i=r(37),o=r(59),a=r(276),s=r(0);e.exports=function(e,t,r){var u=s(e)?n:a,c=3>arguments.length;return u(e,o(t,4),r,c,i)}},function(e,t){e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},function(e,t){e.exports=function(e,t,r,n,i){return i(e,function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)}),r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=(n=r(6))&&n.__esModule?n:{default:n},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metabox=t,this.currentNetwork="facebook",this.useFacebook=!0,this.shouldUpdatePreview=!1,this.facebookTitleField=t.elemMetabox.find("#rank_math_facebook_title"),this.facebookDescriptionField=t.elemMetabox.find("#rank_math_facebook_description"),this.twitterTitleField=t.elemMetabox.find("#rank_math_twitter_title"),this.twitterDescriptionField=t.elemMetabox.find("#rank_math_twitter_description"),this.facebookImageField=t.elemMetabox.find("#rank_math_facebook_image"),this.twitterImageField=t.elemMetabox.find("#rank_math_twitter_image"),this.facebookImageStatus=t.elemMetabox.find("#rank_math_facebook_image-status"),this.twitterImageStatus=t.elemMetabox.find("#rank_math_twitter_image-status"),this.socialWrapper=t.elemMetabox.find(".rank-math-social-preview"),this.socialPreview=this.socialWrapper.find(".rank-math-social-preview-item"),this.socialTitle=this.socialWrapper.find(".rank-math-social-preview-title"),this.socialDescription=this.socialWrapper.find(".rank-math-social-preview-description"),this.events(),this.shouldUpdatePreview=!0,this.updatePreview()}return i(e,[{key:"events",value:function(){var e=this;this.facebookTitleField.on("input",function(){e.updateTitlePreview()}),this.facebookDescriptionField.on("input",function(){e.updateDescriptionPreview()}),this.facebookImageField.on("input",function(){e.updateThumbnailPreview()}),this.twitterTitleField.on("input",function(){e.updateTitlePreview()}),this.twitterDescriptionField.on("input",function(){e.updateDescriptionPreview()}),this.twitterImageField.on("input",function(){e.updateThumbnailPreview()});var t=(0,o.default)(".rank-math-social-preview-button"),r=t.find(">span");t.on("click",function(t){t.preventDefault(),r.toggleClass("dashicons-arrow-down dashicons-arrow-up"),e.updatePreview(),e.socialWrapper.toggleClass("open"),e.socialPreview.slideToggle()});var n=(0,o.default)("#rank_math_twitter_card_type");(0,o.default)(".preview-network").on("click",function(r){(0,o.default)(r.target).hasClass("tab-facebook")?t.show():n.trigger("change"),e.updatePreview()}),n.on("change",function(){var r=n.val();"player"===r&&(0,o.default)(".cmb2-id-rank-math-twitter-image, .cmb2-id-rank-math-twitter-title, .cmb2-id-rank-math-twitter-description").show();var i="player"===r||"app"===r;t.toggle(!i),(0,o.default)(".cmb2-id-rank-math-twitter-use-facebook").toggle(!i),e.updatePreview()}).trigger("change");var i=(0,o.default)("#rank_math_twitter_use_facebook2");(0,o.default)("#rank_math_twitter_use_facebook1, #rank_math_twitter_use_facebook2").on("input change",function(){e.useFacebook=i.is(":checked"),e.updatePreview()}).trigger("change"),(0,o.default)(".cmb2-id-rank-math-facebook-enable-image-overlay, .cmb2-id-rank-math-facebook-image-overlay, .cmb2-id-rank-math-twitter-enable-image-overlay, .cmb2-id-rank-math-twitter-image-overlay").on("change","input",function(){e.updateThumbnailOverlay()}),(0,o.default)(document).on("cmb_media_modal_select",function(t,r,n){"rank_math_facebook_image"!==n.field&&"rank_math_twitter_image"!==n.field||e.updateThumbnailPreview()}),(0,o.default)(document).on("cmb_init",function(t,r){r.$metabox.on("click",".cmb2-remove-file-button",function(){e.updateThumbnailPreview()})})}},{key:"updatePreview",value:function(){!1!==this.shouldUpdatePreview&&(this.currentNetwork=(0,o.default)(".preview-network.tab-active").attr("href").replace("#setting-panel-social-",""),this.socialWrapper.removeClass(),this.socialWrapper.addClass("rank-math-social-preview rank-math-social-preview-"+this.currentNetwork),"twitter"===this.currentNetwork&&this.socialWrapper.addClass((0,o.default)("#rank_math_twitter_card_type").val()),this.updateTitlePreview(),this.updateDescriptionPreview(),this.updateThumbnailPreview())}},{key:"updateTitlePreview",value:function(){var e=this[this.currentNetwork+"TitleField"].val()||this.metabox.title;"twitter"===this.currentNetwork&&this.useFacebook&&(e=this.facebookTitleField.val()||this.metabox.title),e=this.metabox.truncate(this.metabox.swapVars(e),90),this.socialTitle.html(e)}},{key:"updateDescriptionPreview",value:function(){var e=this[this.currentNetwork+"DescriptionField"].val()||this.description;"twitter"===this.currentNetwork&&this.useFacebook&&(e=this.facebookDescriptionField.val()||this.metabox.description),e=this.metabox.truncate(this.metabox.swapVars(e),240),this.socialDescription.html(e)}},{key:"updateThumbnailPreview",value:function(){var e=(0,o.default)("#rank_math_post_thumbnail").attr("src"),t=this.metabox.getContent(),r=!!/<img(?:[^>]+)?>/.test(t)&&(0,o.default)(t).find("img:first").attr("src"),n=this.facebookImageField.val()||e||r||rankMath.defautOgImage,i=this.twitterImageField.val()||e||r||rankMath.defautOgImage;if("twitter"===this.currentNetwork&&this.useFacebook)i=n;else if(this.twitterImageStatus.find("img.cmb-file-field-image").length){var a=this.twitterImageStatus.siblings(".notice"),s=this.twitterImageStatus.find("img.cmb-file-field-image")[0];a.addClass("hidden"),setTimeout(function(){(200>s.naturalWidth||200>s.naturalHeight)&&a.removeClass("hidden")},300)}var u=this.facebookImageStatus.siblings(".notice"),c=this.facebookImageStatus.find("img.cmb-file-field-image");u.addClass("hidden"),"facebook"===this.currentNetwork&&this.facebookImageField.val()&&c.length&&setTimeout(function(){(200>c[0].naturalWidth||200>c[0].naturalHeight)&&u.removeClass("hidden")},300);var l=(0,o.default)(".rank-math-social-preview-image");(0,o.default)(".facebook-thumbnail",l).attr("src",n),(0,o.default)(".twitter-thumbnail",l).attr("src",i),l.toggleClass("no-facebook-image",!n),l.toggleClass("no-twitter-image",!i),l.parents(".rank-math-social-preview-facebook").find(".error-msg").toggleClass("show",!n),l.parents(".rank-math-social-preview-twitter").find(".error-msg").toggleClass("show",!i),this.updateThumbnailOverlay()}},{key:"updateThumbnailOverlay",value:function(){var e=(0,o.default)(".rank-math-social-preview-image-overlay"),t=(0,o.default)('[name="rank_math_'+this.currentNetwork+'_enable_image_overlay"]:checked').val(),r=(0,o.default)('[name="rank_math_'+this.currentNetwork+'_image_overlay"]:checked').val(),n=!(0,o.default)(".rank-math-social-preview-image").hasClass("no-"+this.currentNetwork+"-image");"twitter"===this.currentNetwork&&this.useFacebook&&(r=(0,o.default)('[name="rank_math_facebook_image_overlay"]:checked').val(),n=!1);var i=(0,o.default)(".cmb2-id-rank-math-"+this.currentNetwork+"-enable-image-overlay"),a="on"===i.find("input:checked").val();i.toggle(n),i.find(".notice-warning").toggle(a),"on"===t?(e.attr("src",rankMath.overlayImages[r].url).show(),(0,o.default)(".cmb2-id-rank-math-"+this.currentNetwork+"-image-overlay").toggle(n)):e.hide()}}]),e}();t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=a(r(6)),o=a(r(81));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elem=(0,i.default)("#rank_math_focus_keyword");var n=(0,o.default)(function(){t.updateFocusKeywords()},200),a=(0,o.default)(function(e,r){var n=e.find("li:last").prev(),i=t.assessor.assessFocusKeyword({elem:n,isPrimary:!1,keyword:r});t.checkList.setSecondaryKeywordStatus(i,n)},200);this.elem.on("content-loaded",function(){var e=r.elem.next("ul"),n=r.getFocusKeywords();(0,i.default)(e).find("li:gt(1)").each(function(){var e=(0,i.default)(this),r=t.assessor.assessFocusKeyword({elem:e,isPrimary:!1,keyword:n[e.index()-1]});t.checkList.setSecondaryKeywordStatus(r,e)})}),this.elem.tagEditor({autocomplete:1===rankMath.maxTags?null:this.getAutocompleteOptions(),sortable:!0,placeholder:this.elem.attr("placeholder"),onChange:function(e,t,r){1===r.length&&t.find("li:not(.placeholder)").last().addClass("selected-fk"),n()},onSelect:function(e,t){var r=e.parent();return!(!r.hasClass("selected-fk")&&""!==e.html()&&(t.find(".tag-editor-tag.active").length&&t.find("input").blur(),r.addClass("selected-fk").siblings().removeClass("selected-fk"),n(),1))},beforeTagDelete:function(e,t,r){return 1===r.length||(e.hasClass("selected-fk")&&t.find(">li").eq(1).addClass("selected-fk"),!0)},beforeTagSave:function(e,t,r,n,i){if(0!==r.length&&i)return a(t,i),i}}),this.elem.next().find(">li:not(.placeholder)").eq(1).addClass("selected-fk");var s=this.elem.parent();s.append(s.find(".cmb2-metabox-description"))}return n(e,[{key:"getAutocompleteOptions",value:function(){return{minLength:2,source:function(e,t){i.default.ajax({url:"https://clients1.google.com/complete/search",dataType:"jsonp",data:{q:e.term,nolabels:"t",client:"hp",ds:"",lr:"lang_"+rankMath.locale,hl:rankMath.locale},success:function(e){t(i.default.map(e[1],function(e){return{value:(0,i.default)("<span>").html(e[0]).text()}}))}})}}}},{key:"getFocusKeywords",value:function(){var e=this.elem.tagEditor("getTags")[0];return e?e.tags:[]}},{key:"getFocusKeyword",value:function(){var e=this.elem.tagEditor("getTags")[0];if(!e)return{isPrimary:!0,keyword:""};var t=e.editor.find(".selected-fk").first();return t.length?{elem:t,isPrimary:1===t.index(),keyword:t.find(".tag-editor-tag").text()}:e.tags.length?{isPrimary:!0,keyword:e.tags[0]}:{isPrimary:!0,keyword:""}}},{key:"clearFocusKeywords",value:function(){this.elem.tagEditor("clearTags")}},{key:"addFocusKeyword",value:function(e){this.elem.tagEditor("addTag",e)}}]),e}();t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=(n=r(6))&&n.__esModule?n:{default:n},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.focusKeywords=t,this.modal=(0,o.default)("#rank-math-compare-keywords-wrapper"),this.holder=this.modal.find(".rank-math-keywords-fields"),this.iframe=this.modal.find("iframe.attachments-browser"),this.btnCompare=this.modal.find(".compare-keywords"),this.events()}return i(e,[{key:"events",value:function(){var e=this;(0,o.default)("#rank-math-compare-keywords-trigger").on("click",function(t){t.preventDefault();var r=e.focusKeywords.getFocusKeywords();e.holder.html(""),r.length?o.default.each(r,function(t,r){e.addNewField(r)}):e.addNewField(),e.modal.toggle(),e.btnCompare.trigger("click")}),this.modal.on("click",".media-modal-close",function(){e.modal.toggle()}),this.modal.on("click",".add-new-keywords",function(){e.addNewField()}),this.modal.on("click",".remove-keyword",function(e){(0,o.default)(e.currentTarget).parent().remove(),btnCompare.trigger("click")}),this.modal.on("click",".use-these-keywords",function(){e.focusKeywords.clearFocusKeywords(),e.holder.find("input").each(function(t,r){var n=(0,o.default)(r).val().trim();""!==n&&e.focusKeywords.addFocusKeyword(n)}),e.modal.toggle()}),this.btnCompare.on("click",function(){var t=[];if(e.holder.find("input").each(function(){var e=(0,o.default)(this).val().trim();""!==e&&t.push({keyword:e,geo:"",time:"today 12-m"})}),0===t.length)return!1;t={comparisonItem:t,category:0,property:""},e.iframe.attr("src",e.iframe.data("srcbase")+"&req="+encodeURIComponent(JSON.stringify(t)))}),this.holder.on("keydown","input",function(t){if(13===t.keyCode)return t.preventDefault(),e.btnCompare.trigger("click"),!1})}},{key:"addNewField",value:function(e){var t=(0,o.default)("<div/>"),r=(0,o.default)("<input/>",{type:"text",class:"widefat",value:e||""});t.append(r),t.append('<button class="button-small button-link button-link-delete remove-keyword"><span class="dashicons dashicons-trash"></span></button>'),this.holder.append(t),r.autocomplete(this.focusKeywords.getAutocompleteOptions()).focus()}}]),e}();t.default=a},,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=v(r(6));r(270),r(271);var o=v(r(109)),a=v(r(197)),s=v(r(43)),u=v(r(81)),c=v(r(273)),l=v(r(277)),f=v(r(278)),p=v(r(279)),d=v(r(66)),h=v(r(207));function v(e){return e&&e.__esModule?e:{default:e}}var g=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"init",value:function(){this.title="",this.permalink="",this.description="",this.variableMap=null,this.analyzeOnPage=null!==document.getElementById("rank-math-serp-checklist"),this.shouldAssess=!1,this.primaryResult={},this.serpCanonical=this.elemMetabox.find("#rank_math_canonical_url"),this.serpTitleField=this.elemMetabox.find("#rank_math_title"),this.serpPermalinkField=this.elemMetabox.find("#rank_math_permalink"),this.serpDescriptionField=this.elemMetabox.find("#rank_math_description"),this.serpWrapper=this.elemMetabox.find(".serp-preview"),this.serpBg=this.elemMetabox.find(".serp-preview-bg input"),this.serpTitle=this.serpWrapper.find(".serp-title"),this.serpPermalink=this.serpWrapper.find(".serp-url"),this.serpDescription=this.serpWrapper.find(".serp-description"),this.desktopSnippet=this.serpWrapper.find(".serp-snippet-data"),this.assessor=new Assessor({elemContent:this.elemContent,researches:this.researches}),this.analyzeOnPage&&(this.checkList=new c.default(this)),this.socialFields=new l.default(this),this.compareKeywords=new p.default(this.focusKeywords),this.focusKeywords=new f.default(this),this.wrapInGroup(),this.serpEvents(),this.updateEvents(),this.updatePreview(),this.initLengthIndicator(),rankMathAdmin.variableInserter(!1)}},{key:"wrapInGroup",value:function(){this.serpTitle.wrap('<div class="group"></div>'),this.serpPermalink.wrap('<div class="group"></div>'),this.serpDescription.wrap('<div class="group"></div>'),(0,i.default)(".cmb2-id-rank-math-title").insertAfter(this.serpTitle),(0,i.default)(".cmb2-id-rank-math-permalink").insertAfter(this.serpPermalink),(0,i.default)(".cmb2-id-rank-math-description").insertAfter(this.serpDescription),(0,i.default)(".group",this.serpWrapper).prepend('<span class="dashicons dashicons-no-alt serp-close"></span>')}},{key:"initLengthIndicator",value:function(){this.serpTitleField.lengthIndicator({minLength:15,maxLength:60,source:this.serpTitle}),this.serpPermalinkField.lengthIndicator({minLength:5,maxLength:75,source:this.serpPermalink}),this.serpDescriptionField.lengthIndicator({minLength:80,maxLength:160,source:this.serpDescription})}},{key:"serpEvents",value:function(){var e=this,t=this.elemMetabox.find(".rank-math-select-device");t.on("click",function(r){r.preventDefault();var n,o=(0,i.default)(r.currentTarget),a=o.hasClass("active");n=function(t){switch(t){case"desktop-preview":e.serpWrapper.removeClass("mobile-preview"),e.serpWrapper.addClass("desktop-preview expanded-preview");break;case"mobile-preview":e.serpWrapper.removeClass("desktop-preview"),e.serpWrapper.addClass("mobile-preview expanded-preview");break;default:e.serpWrapper.removeClass("mobile-preview expanded-preview"),e.serpWrapper.addClass("desktop-preview")}},t.removeClass("active"),a?n("normal"):o.hasClass("device-desktop")?(n("desktop-preview"),o.addClass("active")):o.hasClass("device-mobile")&&(n("mobile-preview"),o.addClass("active"))});var r=!0,n=this.elemMetabox.find(".rank-math-edit-snippet");this.elemMetabox.on("click",".rank-math-edit-snippet",function(t){t.preventDefault(),n.toggleClass("hidden active"),e.desktopSnippet.toggle();var i={type:"click",isHidden:r=!r};e.serpTitle.trigger(i),e.serpPermalink.trigger(i),e.serpDescription.trigger(i)}),this.elemMetabox.on("click",".serp-title, .serp-url, .serp-description, .serp-close",function(t){t.preventDefault();var o=(0,i.default)(t.target).parent();"isHidden"in t?o.toggleClass("active",!t.isHidden):(o.toggleClass("active"),0===e.serpWrapper.find(".group.active").length&&n.hasClass("active")&&(r=!r,n.toggleClass("hidden active")),3!==e.serpWrapper.find(".group.active").length||n.hasClass("active")||(r=!1,n.toggleClass("hidden active")))});var o=(0,i.default)("#rank_math_use_default_robots1"),a=(0,i.default)("#rank_math_robots1");(0,i.default)("#rank_math_robots1, #rank_math_use_default_robots1, #rank_math_use_default_robots2").on("change",function(){if(!o.is(":checked"))return e.serpWrapper.removeClass("noindex-preview"),!1;a.is(":checked")?e.serpWrapper.addClass("noindex-preview"):e.serpWrapper.removeClass("noindex-preview")}).trigger("change"),(0,i.default)("textarea[data-autoresize]").each(function(){var e=(0,i.default)(this);e.on("keyup input",function(){e.css("height","auto").css("height",e.prop("scrollHeight"))})})}},{key:"updateEvents",value:function(){var e=this;this.serpTitleField.on("input",(0,u.default)(function(){e.updateTitlePreview()},500)).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemTitle.on("input",(0,u.default)(function(){e.setVariable("title",e.elemTitle.val()),e.setVariable("term",e.elemTitle.val()),e.setVariable("author",e.elemTitle.val()),e.setVariable("name",e.elemTitle.val()),e.updateTitlePreview()},500)),this.serpPermalinkField.val(this.serpPermalinkField.val()||this.elemSlug.val()).on("input",(0,u.default)(function(){var t=e.serpPermalinkField.val();e.updateSlug(t),e.updatePermalinkPreview()},500)).on("blur",function(){var t=(0,a.default)(e.serpPermalinkField.val());e.updateSlug(t)}).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemSlug.on("input",(0,u.default)(function(){e.serpPermalinkField.val(e.elemSlug.val()).trigger("input")},500)),this.serpDescriptionField.on("input",(0,u.default)(function(){e.updateDescriptionPreview()},500)).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemDescription.on("input",(0,u.default)(function(){e.updateDescriptionPreview()},500))}},{key:"updateSlug",value:function(e){this.serpPermalinkField.val(e),this.elemSlug.val(e)}},{key:"seoAssessments",value:function(e){if(!1!==this.shouldAssess){var t=null;"title"===e?t=this.assessor.assessTitle(this.title):"permalink"===e?t=this.assessor.assessPermalink(this.permalink):"description"===e?(this.assessor.paper.setDescription(this.description),t=this.assessor.assessFocusKeyword(this.focusKeywords.getFocusKeyword())):"content"===e&&(t=this.assessor.assessContent(this.description)),this.setKeywordStatus(t)}}},{key:"seoTitleAssessments",value:function(){this.seoAssessments("title")}},{key:"seoPermalinkAssessments",value:function(){this.seoAssessments("permalink")}},{key:"seoFocusKeywordAssessments",value:function(){this.seoAssessments("description")}},{key:"seoContentAssessments",value:function(){this.seoAssessments("content")}},{key:"seoAssessAll",value:function(){if(!1!==this.shouldAssess){this.assessor.paper.setTitle(this.title),this.assessor.paper.setPermalink(this.permalink),this.assessor.paper.setKeyword(this.focusKeywords.getFocusKeyword().keyword),this.assessor.paper.setDescription(this.description);var e=this.assessor.runAll();this.setKeywordStatus(e)}}},{key:"setKeywordStatus",value:function(e){if(!1!==this.analyzeOnPage){var t=this.focusKeywords.getFocusKeyword();if(t.isPrimary||void 0===t.elem)this.checkList.display(e);else{var r={keywordDensity:e.keywordDensity,keywordInContent:e.keywordInContent,keywordInSubheadings:e.keywordInSubheadings};this.checkList.hidePrimary(),this.checkList.display(r),this.checkList.setSecondaryKeywordStatus(r,t.elem),delete e.keywordDensity,delete e.keywordInContent,delete e.keywordInSubheadings}this.primaryResult=i.default.extend({},this.primaryResult,e),this.checkList.setPrimaryKeywordStatus(this.primaryResult,this.focusKeywords.elem.next().find(">li:not(.placeholder)").eq(1))}}},{key:"updatePreview",value:function(){this.updateTitlePreview(),this.updatePermalinkPreview(),this.updateDescriptionPreview(),this.shouldAssess=this.analyzeOnPage,this.seoAssessAll(),this.focusKeywords.elem.trigger("content-loaded"),this.updateFocusKeywords()}},{key:"updateFocusKeywords",value:function(){var e=this.focusKeywords.getFocusKeyword().keyword;if(""!==e&&(this.setVariable("focuskw",e),this.serpBg.val(e)),this.focusKeywords.getFocusKeyword().isPrimary){this.shouldAssess=!1,this.updateDescriptionPreview(),this.shouldAssess=!0,this.seoFocusKeywordAssessments(),this.highlightKeywords(),this.updatePreviewCallbacks("description",this.description),this.updatePreviewCallbacks("focus-keyword",e);var t=(0,i.default)(".focus-keyword-link");t.length&&""!==e&&t.attr("href",t.attr("href").replace("%focus_keyword%",e).replace("%post_type%",rankMath.objectType).replace("%taxonomy%",rankMath.objectType))}else this.seoFocusKeywordAssessments()}},{key:"updateTitlePreview",value:function(){this.title=this.serpTitleField.val();var e=""!==this.title;this.title=this.swapVars(""!==this.title?this.title:this.serpTitle.data("format")),this.serpTitle.html(this.title),this.serpTitleField.attr("placeholder",e?this.title:this.serpTitle.data("format")),this.socialFields.facebookTitleField.attr("placeholder",this.title),this.socialFields.twitterTitleField.attr("placeholder",this.title),this.seoTitleAssessments(),this.highlightKeywords(this.serpTitle),this.updatePreviewCallbacks("title",this.title),this.serpTitle.trigger("rank-math-vars-replaced")}},{key:"updatePermalinkPreview",value:function(){var e=this.serpPermalink.data("format")||"",t=(0,a.default)(this.serpPermalinkField.val());this.permalink=""!==t?e.replace(/%(postname|pagename)%/,t).trimRight("/")+"/":"",this.serpCanonical.attr("placeholder",this.permalink),this.serpPermalink.html(this.permalink),this.seoPermalinkAssessments(),this.highlightKeywords(this.serpPermalink),this.updatePreviewCallbacks("permalink",this.permalink),this.serpPermalink.trigger("rank-math-vars-replaced")}},{key:"updateDescriptionPreview",value:function(){this.description=this.swapVars(this.getDescription()),this.serpDescription.html(this.description),this.serpDescriptionField.attr("placeholder",""!==this.description?this.description:this.serpDescription.data("format"));var e=this.getDescriptionTruncated(this.description,300);this.socialFields.facebookDescriptionField.attr("placeholder",e),this.socialFields.twitterDescriptionField.attr("placeholder",e),this.seoContentAssessments(),this.highlightKeywords(this.serpDescription),this.updatePreviewCallbacks("description",this.description),this.serpDescription.trigger("rank-math-vars-replaced")}},{key:"updatePreviewCallbacks",value:function(e,t){this.elemMetabox.trigger("rank-math-updating-preview-"+(e=e||"global")),this.elemMetabox.trigger("rank-math-"+e+"-updated",t)}},{key:"highlightKeywords",value:function(e){var t=this.focusKeywords.getFocusKeyword().keyword;!1!==t&&(e?(e.hasClass("serp-url")&&(t=this.assessor.paper.get("keywordPermalink")),e.rankMathUnhighlight(),e.rankMathHighlight(t)):(this.serpTitle.rankMathUnhighlight(),this.serpTitle.rankMathHighlight(t),this.serpPermalink.rankMathUnhighlight(),this.serpPermalink.rankMathHighlight(this.assessor.paper.get("keywordPermalink")),this.serpDescription.rankMathUnhighlight(),this.serpDescription.rankMathHighlight(t)))}},{key:"swapVars",value:function(e,t){var r=this;return(e=e||"")?(t=t||this.getMapObj(),(e=e.replace(" %page%","").replace("%sep% %sep%","%sep%")).replace(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/giu,function(e){var n=e.toLowerCase().replace(/%+/g,"");return["title","post_title","term","author","name"].includes(n)?r.isGutenbergAvailable?t.title:r.elemTitle.val():["description","tag_description","category_description","cat_description","author_description","user_description"].includes(n)?(0,i.default)("#description").val():["fk","focuskeyword","focuskw"].includes(n)?r.focusKeywords.getFocusKeyword().keyword:n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(n.includes("(")&&(n=n.split("(")[0]),n in t?t[n]:n)}).trim()):""}},{key:"getMapObj",value:function(){var e=this;return null!==this.variableMap?this.variableMap:(this.variableMap={},i.default.each(rankMath.variables,function(t,r){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.variableMap[t]=r.example}),this.variableMap)}},{key:"setVariable",value:function(e,t){null!==this.variableMap?this.variableMap[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}},{key:"getContent",value:function(){return this.assessor.paper.get("content")}},{key:"getDescription",value:function(){var e=!1,t=this.serpDescriptionField.val(),r=this.getExcerpt();t||""===r||(t=r,e=!0),t||(t=this.serpDescription.data("format")),this.assessor.refreshContent();var n=this.getContent();return!1===e&&(n=this.generateDescriptionFromContent(n),this.setVariable("excerpt",n)),t?(0,d.default)(t):n}},{key:"getExcerpt",value:function(){if(this.isGutenbergAvailable)return this.getMapObj().excerpt;var e=this.elemDescription.val();return this.setVariable("excerpt",e),this.setVariable("excerpt_only",e),this.setVariable("wc_shortdesc",e),e}},{key:"generateDescriptionFromContent",value:function(e){if(""===e)return"";var t=this.focusKeywords.getFocusKeyword().keyword,r=(0,o.default)((0,h.default)(e,!0),function(e){return""!==i.default.trim(e)});if(""!==t){var n=(0,o.default)(r,function(e){return(0,s.default)(e.toLowerCase(),t)});if(n.length>0)return this.getDescriptionTruncated(n[0],160)}return this.getDescriptionTruncated(r[0],160)}},{key:"getDescriptionTruncated",value:function(e,t){return t?this.truncate(e.replace(/\r?\n|\r/g," "),t):e.replace(/\r?\n|\r/g," ")}},{key:"truncate",value:function(e,t){return e.length>t?e.substring(0,t):e}}]),e}();t.default=g},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=s(r(6)),o=s(r(290)),a=s(r(81));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return(0,i.default)(".rank-math-term-description-wrap").prev().remove(),e.elemMetabox=(0,i.default)("#cmb2-metabox-rank_math_metabox"),e.elemSlug=(0,i.default)("#slug"),e.elemTitle=(0,i.default)("#name"),e.elemDescription=(0,i.default)("#description"),e.elemContent=null,e.researches={keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,titleStartWithKeyword:!0,keywordNotUsed:!0},e.init(),e.analyzeOnPage&&(e.elemDescription.on("input change",(0,a.default)(function(){e.updateDescriptionPreview(),e.socialFields.updateThumbnailPreview()},500)),(0,i.default)(window).on("load",function(){!e.isGutenbergAvailable&&"undefined"!=typeof tinymce&&tinymce.activeEditor&&tinyMCE.editors.description.on("keyup change",(0,a.default)(function(t){console.log("sss"),e.updateDescriptionPreview(),e.socialFields.updateThumbnailPreview()},500))})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),n(t,[{key:"seoTitleAssessments",value:function(){this.seoAssessAll()}},{key:"seoPermalinkAssessments",value:function(){this.seoAssessAll()}},{key:"seoFocusKeywordAssessments",value:function(){this.seoAssessAll()}},{key:"seoContentAssessments",value:function(){this.seoAssessAll()}},{key:"getExcerpt",value:function(){if(this.isGutenbergAvailable)return this.getMapObj().excerpt;var e="undefined"!=typeof tinymce&&tinymce.activeEditor&&"description"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():this.elemDescription.val();return this.setVariable("excerpt",e),this.setVariable("excerpt_only",e),this.setVariable("wc_shortdesc",e),e}}]),t}();(0,i.default)(function(){new u})}]);
|
assets/admin/js/user-metabox.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=419)}([function(e,t){e.exports=Array.isArray},function(e,t,r){var n=r(68),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},function(e,t,r){var n=r(94)("wks"),i=r(52),o=r(3).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(16),i=r(53);e.exports=r(5)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){e.exports=!r(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=jQuery},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=r(155),i=r(158);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},function(e,t,r){var n=r(21),i=r(134),o=r(135),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(89)("wks"),i=r(90),o=r(10).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(46),i=r(87);e.exports=r(32)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(17),i=r(96),o=r(98),a=Object.defineProperty;t.f=r(5)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(13);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(3),i=r(4),o=r(19),a=r(52)("src"),s=Function.toString,u=(""+s).split("toString");r(51).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(o(r,a)||i(r,a,e[t]?""+e[t]:u.join(t+""))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},,function(e,t,r){var n=r(1);e.exports=n.Symbol},function(e,t,r){var n=r(65),i=r(38);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,t,r){var n=r(131),i=r(114),o=r(22);e.exports=function(e){return o(e)?n(e):i(e)}},function(e,t,r){var n=r(145),i=r(146),o=r(147),a=r(148),s=r(149);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(71);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(8)(Object,"create");e.exports=n},function(e,t,r){var n=r(167);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(9),i=r(7);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},function(e,t,r){var n=r(28);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t){e.exports={}},function(e,t,r){var n=r(47);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){e.exports=!r(48)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(243),i=r(55);e.exports=function(e){return n(i(e))}},,function(e,t,r){var n=r(128),i=r(142)(n);e.exports=i},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&9007199254740991>=e}},function(e,t,r){var n=r(8)(r(1),"Map");e.exports=n},function(e,t,r){var n=r(159),i=r(166),o=r(168),a=r(169),s=r(170);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(0),i=r(28),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},function(e,t,r){var n=r(123),i=r(22),o=r(124),a=r(204),s=r(205),u=Math.max;e.exports=function(e,t,r,c){e=i(e)?e:s(e),r=r&&!c?a(r):0;var l=e.length;return 0>r&&(r=u(l+r,0)),o(e)?l>=r&&e.indexOf(t,r)>-1:!!l&&n(e,t,r)>-1}},function(e,t,r){var n=r(218),i=r(45);e.exports=function(e){return n(i(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(31),i=r(221),o=r(222),a=Object.defineProperty;t.f=r(32)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(89)("keys"),i=r(90);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(94)("keys"),i=r(52);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(4),i=r(18),o=r(34),a=r(55),s=r(2);e.exports=function(e,t,r){var u=s(e),c=r(a,u,""[e]),l=c[0],f=c[1];o(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(i(String.prototype,e,l),n(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,r){var n=r(143),i=r(186),o=r(108),a=r(0),s=r(194);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},,function(e,t,r){var n=r(133),i=r(7),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,r){!function(e){var n=r(1),i=r(136),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0;e.exports=(s?s.isBuffer:void 0)||i}(r(63)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(137),i=r(138),o=r(139),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},function(e,t,r){var n=r(9),i=r(14);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/<\/?[a-z][^>]*?>/gi,"\n")}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},function(e,t,r){var n;n=r(113),e.exports="object"==typeof n&&n&&n.Object===Object&&n},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&t>e}},function(e,t,r){var n=r(24),i=r(150),o=r(151),a=r(152),s=r(153),u=r(154);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(171),i=r(7);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},function(e,t,r){var n=r(116),i=r(174),o=r(117);e.exports=function(e,t,r,a,s,u){var c=1&r,l=e.length,f=t.length;if(!(l==f||c&&f>l))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,h=!0,v=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var g=e[d],m=t[d];if(a)var y=c?a(m,g,d,t,e,u):a(g,m,d,e,t,u);if(void 0!==y){if(y)continue;h=!1;break}if(v){if(!i(t,function(e,t){if(!o(v,t)&&(g===e||s(g,e,r,a,u)))return v.push(t)})){h=!1;break}}else if(g!==m&&!s(g,m,r,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},function(e,t,r){var n=r(14);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},function(e,t,r){var n=r(78),i=r(29);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&o>r;)e=e[i(t[r++])];return r&&r==o?e:void 0}},function(e,t,r){var n=r(0),i=r(41),o=r(188),a=r(79);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,r){var n=r(191);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(14),i=r(28),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var r=s.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},function(e,t,r){var n=r(14),i=r(272),o=r(80),a=Math.max,s=Math.min;e.exports=function(e,t,r){var u,c,l,f,p,d,h=0,v=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var r=u,n=c;return u=c=void 0,h=t,f=e.apply(n,r)}function b(e){var r=e-d;return void 0===d||r>=t||0>r||g&&e-h>=l}function k(){var e=i();if(b(e))return w(e);p=setTimeout(k,function(e){var r=t-(e-d);return g?s(r,l-(e-h)):r}(e))}function w(e){return p=void 0,m&&u?y(e):(u=c=void 0,f)}function x(){var e=i(),r=b(e);if(u=arguments,c=this,d=e,r){if(void 0===p)return function(e){return h=e,p=setTimeout(k,t),v?y(e):f}(d);if(g)return p=setTimeout(k,t),y(d)}return void 0===p&&(p=setTimeout(k,t)),f}return t=o(t)||0,n(r)&&(v=!!r.leading,l=(g="maxWait"in r)?a(o(r.maxWait)||0,t):l,m="trailing"in r?!!r.trailing:m),x.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=c=p=void 0},x.flush=function(){return void 0===p?f:w(i())},x}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(84),i=r(85),o=r(223),a=r(15),s=r(30),u=r(224),c=r(92),l=r(232),f=r(12)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,g,m){u(r,t,h);var y,b,k,w=function(e){if(!p&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",_="values"==v,j=!1,O=e.prototype,P=O[f]||O["@@iterator"]||v&&O[v],T=P||w(v),S=v?_?w("entries"):T:void 0,C="Array"==t&&O.entries||P;if(C&&(k=l(C.call(new e)))!==Object.prototype&&k.next&&(c(k,x,!0),n||"function"==typeof k[f]||a(k,f,d)),_&&P&&"values"!==P.name&&(j=!0,T=function(){return P.call(this)}),n&&!m||!p&&!j&&O[f]||a(O,f,T),s[t]=T,s[x]=d,v)if(y={values:_?T:w("values"),keys:g?T:w("keys"),entries:S},m)for(b in y)b in O||o(O,b,y[b]);else i(i.P+i.F*(p||j),t,y);return y}},function(e,t){e.exports=!0},function(e,t,r){var n=r(10),i=r(11),o=r(219),a=r(15),s=r(33),u=function(e,t,r){var c,l,f,p=e&u.F,d=e&u.G,h=e&u.S,v=e&u.P,g=e&u.B,m=e&u.W,y=d?i:i[t]||(i[t]={}),b=y.prototype,k=d?n:h?n[t]:(n[t]||{}).prototype;for(c in d&&(r=t),r)(l=!p&&k&&void 0!==k[c])&&s(y,c)||(f=l?k[c]:r[c],y[c]=d&&"function"!=typeof k[c]?r[c]:g&&l?o(f,n):m&&k[c]==f?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[c]=f,e&u.R&&b&&!b[c]&&a(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){var n=r(47),i=r(10).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(227),i=r(91);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(11),i=r(10),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(84)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(46).f,i=r(33),o=r(12)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(45);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(51),i=r(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(95)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,r){e.exports=!r(5)&&!r(34)(function(){return 7!=Object.defineProperty(r(97)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(13),i=r(3).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(13);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(246);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(102),i=r(57);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(19),i=r(35),o=r(250)(!1),a=r(56)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(16).f,i=r(19),o=r(2)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(13),i=r(99),o=r(2)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,r){var n=r(210),i=r(211),o=r(238);e.exports=function(e,t){return n(e)||i(e,t)||o()}},function(e,t,r){e.exports=r(258)},function(e,t){e.exports=function(e){return e}},function(e,t,r){var n=r(67),i=r(127),o=r(59),a=r(0);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},function(e,t,r){var n=r(42),i=r(59),o=r(208),a=r(0);e.exports=function(e,t){return(a(e)?n:o)(e,i(t,3))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,"").replace(i,"")};var n=/\[[^<>&\/\[\] - =]+?( [^\]]+?)?\]/g,i=/\[\/[^<>&\/\[\] - =]+?\]/g},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(115),i=r(140),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){var n=r(40),i=r(172),o=r(173);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},function(e,t,r){var n=r(183),i=r(39),o=r(184),a=r(120),s=r(121),u=r(9),c=r(72),l=c(n),f=c(i),p=c(o),d=c(a),h=c(s),v=u;(n&&"[object DataView]"!=v(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=v(new i)||o&&"[object Promise]"!=v(o.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,r){var n=r(8)(r(1),"Set");e.exports=n},function(e,t,r){var n=r(8)(r(1),"WeakMap");e.exports=n},function(e,t,r){var n=r(78),i=r(61),o=r(0),a=r(69),s=r(38),u=r(29);e.exports=function(e,t,r){for(var c=-1,l=(t=n(t,e)).length,f=!1;++c<l;){var p=u(t[c]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(p,l)&&(o(e)||i(e))}},function(e,t,r){var n=r(201),i=r(202),o=r(203);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},function(e,t,r){var n=r(9),i=r(0),o=r(7);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},function(e,t,r){var n=r(80);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?1.7976931348623157e308*(0>e?-1:1):e==e?e:0:0===e?e:0}},,function(e,t,r){var n=r(37);e.exports=function(e,t){var r=[];return n(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}},function(e,t,r){var n=r(129),i=r(23);e.exports=function(e,t){return e&&n(e,t,i)}},function(e,t,r){var n=r(130)();e.exports=n},function(e,t){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===r(o[u],u,o))break}return t}}},function(e,t,r){var n=r(132),i=r(61),o=r(0),a=r(62),s=r(69),u=r(64),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),l=!r&&i(e),f=!r&&!l&&a(e),p=!r&&!l&&!f&&u(e),d=r||l||f||p,h=d?n(e.length,String):[],v=h.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(9),i=r(7);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},function(e,t,r){var n=r(21),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(9),i=r(38),o=r(7),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){!function(e){var n=r(68),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}(r(63)(e))},function(e,t,r){var n=r(141)(Object.keys,Object);e.exports=n},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(22);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},function(e,t,r){var n=r(144),i=r(185),o=r(76);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(70),i=r(73);e.exports=function(e,t,r,o){var a=r.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=r[a])[0],f=e[l],p=c[1];if(u&&c[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(o)var h=o(f,p,l,e,t,d);if(!(void 0===h?i(p,f,3,o,d):h))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(25),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return r>=0&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(25);e.exports=function(e){var t=this.__data__,r=n(t,e);return 0>r?void 0:t[r][1]}},function(e,t,r){var n=r(25);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(25);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return 0>i?(++this.size,r.push([e,t])):r[i][1]=t,this}},function(e,t,r){var n=r(24);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(24),i=r(39),o=r(40);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||199>a.length)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(65),i=r(156),o=r(14),a=r(72),s=/^\[object .+?Constructor\]$/,u=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?u:s).test(a(e))}},function(e,t,r){var n,i=r(157),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(1);e.exports=n["__core-js_shared__"]},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(160),i=r(24),o=r(39);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},function(e,t,r){var n=r(161),i=r(162),o=r(163),a=r(164),s=r(165);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,r){var n=r(26);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(26),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(26),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},function(e,t,r){var n=r(26);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,r){var n=r(27);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(27);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},function(e,t,r){var n=r(70),i=r(74),o=r(175),a=r(178),s=r(119),u=r(0),c=r(62),l=r(64),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,g,m){var y=u(e),b=u(t),k=y?p:s(e),w=b?p:s(t),x=(k=k==f?d:k)==d,_=(w=w==f?d:w)==d,j=k==w;if(j&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(j&&!x)return m||(m=new n),y||l(e)?i(e,t,r,v,g,m):o(e,t,k,r,v,g,m);if(!(1&r)){var O=x&&h.call(e,"__wrapped__"),P=_&&h.call(t,"__wrapped__");if(O||P){var T=O?e.value():e,S=P?t.value():t;return m||(m=new n),g(T,S,r,v,m)}}return!!j&&(m||(m=new n),a(e,t,r,v,g,m))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t,r){var n=r(21),i=r(176),o=r(71),a=r(74),s=r(177),u=r(110),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":if(d||(d=u),e.size!=t.size&&!(1&n))return!1;var h=p.get(e);if(h)return h==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,c,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,r){var n=r(1);e.exports=n.Uint8Array},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},function(e,t,r){var n=r(179),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var u=1&r,c=n(e),l=c.length;if(l!=n(t).length&&!u)return!1;for(var f=l;f--;){var p=c[f];if(!(u?p in t:i.call(t,p)))return!1}var d=s.get(e);if(d&&s.get(t))return d==t;var h=!0;s.set(e,t),s.set(t,e);for(var v=u;++f<l;){var g=e[p=c[f]],m=t[p];if(o)var y=u?o(m,g,p,t,e,s):o(g,m,p,e,t,s);if(!(void 0===y?g===m||a(g,m,r,o,s):y)){h=!1;break}v||(v="constructor"==p)}if(h&&!v){var b=e.constructor,k=t.constructor;b!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof k&&k instanceof k)&&(h=!1)}return s.delete(e),s.delete(t),h}},function(e,t,r){var n=r(180),i=r(181),o=r(23);e.exports=function(e){return n(e,o,i)}},function(e,t,r){var n=r(118),i=r(0);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},function(e,t,r){var n=r(67),i=r(182),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return o.call(e,t)})}:i},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(8)(r(1),"DataView");e.exports=n},function(e,t,r){var n=r(8)(r(1),"Promise");e.exports=n},function(e,t,r){var n=r(75),i=r(23);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},function(e,t,r){var n=r(73),i=r(187),o=r(192),a=r(41),s=r(75),u=r(76),c=r(29);e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},function(e,t,r){var n=r(77);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r(189)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)}),t});e.exports=o},function(e,t,r){var n=r(190);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(40),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(21),i=r(42),o=r(0),a=r(28),s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},function(e,t,r){var n=r(193),i=r(122);e.exports=function(e,t){return null!=e&&i(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(195),i=r(196),o=r(41),a=r(29);e.exports=function(e){return o(e)?n(a(e)):i(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(77);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(0,i.default)(e)).replace(/ /gi,"-").toLowerCase()};var n,i=(n=r(198))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(199),i=r(79),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=/[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]/g;e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},function(e,t,r){var n=r(200)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(125);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},function(e,t,r){var n=r(206),i=r(23);e.exports=function(e){return null==e?[]:n(e,i(e))}},function(e,t,r){var n=r(42);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=u((0,i.autop)((0,a.default)(e)),t);return r.length>0?r:[e]};var n=s(r(111)),i=r(209),o=s(r(66)),a=s(r(112));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t){var r=[];t=t||!1;for(var i=/<p(?:[^>]+)?>(.*?)<\/p>/gi,a=void 0;null!==(a=i.exec(e));)r.push(a);return(0,n.default)(r,function(e){return t?(0,o.default)(e[1]):e[1]})}},function(e,t,r){var n=r(37),i=r(22);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,function(e,n,i){o[++r]=t(e,n,i)}),o}},function(e,t,r){"use strict";r.r(t),r.d(t,"autop",function(){return c}),r.d(t,"removep",function(){return l});var n=r(106),i=r.n(n),o=(r(239),r(256),r(257),r(107)),a=r.n(o),s=(r(261),r(262),/(<((?=!--|!\[CDATA\[)((?=!-)!(?:-(?!->)[^\-]*)*(?:-->)?|!\[CDATA\[[^\]]*(?:](?!]>)[^\]]*)*?(?:]]>)?)|[^>]*>?))/);function u(e,t){for(var r=function(e){for(var t,r=[],n=e;t=n.match(s);)r.push(n.slice(0,t.index)),r.push(t[0]),n=n.slice(t.index+t[0].length);return n.length&&r.push(n),r}(e),n=!1,i=a()(t),o=1;r.length>o;o+=2)for(var u=0;i.length>u;u++){var c=i[u];if(-1!==r[o].indexOf(c)){r[o]=r[o].replace(RegExp(c,"g"),t[c]),n=!0;break}}return n&&(e=r.join("")),e}function c(e){var t=1>=arguments.length||void 0===arguments[1]||arguments[1],r=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var n=e.split("</pre>"),o=n.pop();e="";for(var a=0;n.length>a;a++){var s=n[a],c=s.indexOf("<pre");if(-1!==c){var l="<pre wp-pre-tag-"+a+"></pre>";r.push([l,s.substr(c)+"</pre>"]),e+=s.substr(0,c)+l}else e+=s}e+=o}var f="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=u(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(RegExp("(<"+f+"[s/>])","g"),"\n\n$1")).replace(RegExp("(</"+f+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var p=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",p.forEach(function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(RegExp("<p>s*(</?"+f+"[^>]*>)s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(RegExp("<p>s*(</?"+f+"[^>]*>)","g"),"$1")).replace(RegExp("(</?"+f+"[^>]*>)s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,t){return t?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(RegExp("(</?"+f+"[^>]*>)s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),r.forEach(function(t){var r=i()(t,2);e=e.replace(r[0],r[1])}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function l(e){var t="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",r=t+"|div|p",n=t+"|pre",i=[],o=!1,a=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(e){return i.push(e),"<wp-preserve>"})),-1!==e.indexOf("<pre")&&(o=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(RegExp("\\s*</("+r+")>\\s*","g"),"</$1>\n")).replace(RegExp("\\s*<((?:"+r+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>.*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,function(e,t){return t&&-1!==t.indexOf("\n")?"\n\n":"\n"})).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(RegExp("\\s*<((?:"+n+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/[\r\n]+/g,"")})),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),o&&(e=e.replace(/<wp-line-break>/g,"\n")),a&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),i.length&&(e=e.replace(/<wp-preserve>/g,function(){return i.shift()})),e):""}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t,r){var n=r(212);e.exports=function(e,t){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n(e);!(i=(s=u.next()).done)&&(r.push(s.value),!t||r.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r}},function(e,t,r){e.exports=r(213)},function(e,t,r){r(214),r(233),e.exports=r(235)},function(e,t,r){r(215);for(var n=r(10),i=r(15),o=r(30),a=r(12)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;s.length>u;u++){var c=s[u],l=n[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},function(e,t,r){"use strict";var n=r(216),i=r(217),o=r(30),a=r(44);e.exports=r(83)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return e&&e.length>r?i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]]):(this._t=void 0,i(1))},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(82);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(220);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){e.exports=!r(32)&&!r(48)(function(){return 7!=Object.defineProperty(r(86)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(47);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){e.exports=r(15)},function(e,t,r){"use strict";var n=r(225),i=r(87),o=r(92),a={};r(15)(a,r(12)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(31),i=r(226),o=r(91),a=r(50)("IE_PROTO"),s=function(){},u=function(){var e,t=r(86)("iframe"),n=o.length;for(t.style.display="none",r(231).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(46),i=r(31),o=r(88);e.exports=r(32)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(33),i=r(44),o=r(228)(!1),a=r(50)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t,r){var n=r(44),i=r(229),o=r(230);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(49),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(49),i=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=n(e))?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(10).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(33),i=r(93),o=r(50)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){"use strict";var n=r(234)(!0);r(83)(String,"String",function(e){this._t=e+"",this._i=0},function(){var e,t=this._t,r=this._i;return t.length>r?(e=n(t,r),this._i+=e.length,{value:e,done:!1}):{value:void 0,done:!0}})},function(e,t,r){var n=r(49),i=r(45);e.exports=function(e){return function(t,r){var o,a,s=i(t)+"",u=n(r),c=s.length;return 0>u||u>=c?e?"":void 0:55296>(o=s.charCodeAt(u))||o>56319||u+1===c||56320>(a=s.charCodeAt(u+1))||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(e,t,r){var n=r(31),i=r(236);e.exports=r(11).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(237),i=r(12)("iterator"),o=r(30);e.exports=r(11).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){var n=r(82),i=r(12)("toStringTag"),o="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){for(var n=r(240),i=r(101),o=r(18),a=r(3),s=r(4),u=r(54),c=r(2),l=c("iterator"),f=c("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(d),v=0;h.length>v;v++){var g,m=h[v],y=d[m],b=a[m],k=b&&b.prototype;if(k&&(k[l]||s(k,l,p),k[f]||s(k,f,m),u[m]=p,y))for(g in n)k[g]||o(k,g,n[g],!0)}},function(e,t,r){"use strict";var n=r(241),i=r(242),o=r(54),a=r(35);e.exports=r(244)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return e&&e.length>r?i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]]):(this._t=void 0,i(1))},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){var n=r(2)("unscopables"),i=Array.prototype;void 0==i[n]&&r(4)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(99);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";var n=r(95),i=r(245),o=r(18),a=r(4),s=r(54),u=r(247),c=r(104),l=r(254),f=r(2)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,h,v,g,m){u(r,t,h);var y,b,k,w=function(e){if(!p&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",_="values"==v,j=!1,O=e.prototype,P=O[f]||O["@@iterator"]||v&&O[v],T=P||w(v),S=v?_?w("entries"):T:void 0,C="Array"==t&&O.entries||P;if(C&&(k=l(C.call(new e)))!==Object.prototype&&k.next&&(c(k,x,!0),n||"function"==typeof k[f]||a(k,f,d)),_&&P&&"values"!==P.name&&(j=!0,T=function(){return P.call(this)}),n&&!m||!p&&!j&&O[f]||a(O,f,T),s[t]=T,s[x]=d,v)if(y={values:_?T:w("values"),keys:g?T:w("keys"),entries:S},m)for(b in y)b in O||o(O,b,y[b]);else i(i.P+i.F*(p||j),t,y);return y}},function(e,t,r){var n=r(3),i=r(51),o=r(4),a=r(18),s=r(100),u=function(e,t,r){var c,l,f,p,d=e&u.F,h=e&u.G,v=e&u.P,g=e&u.B,m=h?n:e&u.S?n[t]||(n[t]={}):(n[t]||{}).prototype,y=h?i:i[t]||(i[t]={}),b=y.prototype||(y.prototype={});for(c in h&&(r=t),r)f=((l=!d&&m&&void 0!==m[c])?m:r)[c],p=g&&l?s(f,n):v&&"function"==typeof f?s(Function.call,f):f,m&&a(m,c,f,e&u.U),y[c]!=f&&o(y,c,p),v&&b[c]!=f&&(b[c]=f)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(248),i=r(53),o=r(104),a={};r(4)(a,r(2)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(17),i=r(249),o=r(57),a=r(56)("IE_PROTO"),s=function(){},u=function(){var e,t=r(97)("iframe"),n=o.length;for(t.style.display="none",r(253).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(16),i=r(17),o=r(101);e.exports=r(5)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(35),i=r(251),o=r(252);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(103),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(103),i=Math.max,o=Math.min;e.exports=function(e,t){return 0>(e=n(e))?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(3).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(19),i=r(255),o=r(56)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(55);e.exports=function(e){return Object(n(e))}},function(e,t,r){r(58)("split",2,function(e,t,n){"use strict";var i=r(105),o=n,a=[].push;if("".split(/.?/).length){var s=void 0===/()??/.exec("")[1];n=function(e,t){var r=this+"";if(void 0===e&&0===t)return[];if(!i(e))return o.call(r,e,t);var n,u,c,l,f,p=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=void 0===t?4294967295:t>>>0,g=RegExp(e.source,d+"g");for(s||(n=RegExp("^"+g.source+"$(?!\\s)",d));(u=g.exec(r))&&((c=u.index+u[0].length)<=h||(p.push(r.slice(h,u.index)),!s&&u.length>1&&u[0].replace(n,function(){for(f=1;arguments.length-2>f;f++)void 0===arguments[f]&&(u[f]=void 0)}),u.length>1&&r.length>u.index&&a.apply(p,u.slice(1)),l=u[0].length,h=c,v>p.length));)g.lastIndex===u.index&&g.lastIndex++;return h===r.length?!l&&g.test("")||p.push(""):p.push(r.slice(h)),p.length>v?p.slice(0,v):p}}return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(o+"",r,i)},n]})},function(e,t,r){r(58)("replace",2,function(e,t,r){return[function(n,i){"use strict";var o=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,o,i):r.call(o+"",n,i)},r]})},function(e,t,r){r(259),e.exports=r(11).Object.keys},function(e,t,r){var n=r(93),i=r(88);r(260)("keys",function(){return function(e){return i(n(e))}})},function(e,t,r){var n=r(85),i=r(11),o=r(48);e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*o(function(){r(1)}),"Object",a)}},function(e,t,r){r(58)("match",1,function(e,t,r){return[function(r){"use strict";var n=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,n):RegExp(r)[t](n+"")},r]})},function(e,t,r){var n=r(3),i=r(263),o=r(16).f,a=r(267).f,s=r(105),u=r(268),c=n.RegExp,l=c,f=c.prototype,p=/a/g,d=/a/g,h=new c(p)!==p;if(r(5)&&(!h||r(34)(function(){return d[r(2)("match")]=!1,c(p)!=p||c(d)==d||"/a/i"!=c(p,"i")}))){c=function(e,t){var r=this instanceof c,n=s(e),o=void 0===t;return!r&&n&&e.constructor===c&&o?e:i(h?new l(n&&!o?e.source:e,t):l((n=e instanceof c)?e.source:e,n&&o?u.call(e):t),r?this:f,c)};for(var v=function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},g=a(l),m=0;g.length>m;)v(g[m++]);f.constructor=c,c.prototype=f,r(18)(n,"RegExp",c)}r(269)("RegExp")},function(e,t,r){var n=r(13),i=r(264).set;e.exports=function(e,t,r){var o,a=t.constructor;return a!==r&&"function"==typeof a&&(o=a.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},function(e,t,r){var n=r(13),i=r(17),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(100)(Function.call,r(265).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){var n=r(266),i=r(53),o=r(35),a=r(98),s=r(19),u=r(96),c=Object.getOwnPropertyDescriptor;t.f=r(5)?c:function(e,t){if(e=o(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(102),i=r(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(17);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,r){"use strict";var n=r(3),i=r(16),o=r(5),a=r(2)("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n,i=(n=r(6))&&n.__esModule?n:{default:n};i.default.extend({rankMathHighlight:function(e,t,r,n){if(3===e.nodeType){var o=e.data.match(t);if(o){var a=document.createElement(r||"span");a.className=n||"highlight";var s=e.splitText(o.index);s.splitText(o[0].length);var u=s.cloneNode(!0);return a.appendChild(u),s.parentNode.replaceChild(a,s),1}}else if(1===e.nodeType&&e.childNodes&&!/(script|style)/i.test(e.tagName)&&(e.tagName!==r.toUpperCase()||e.className!==n))for(var c=0;e.childNodes.length>c;c++)c+=i.default.rankMathHighlight(e.childNodes[c],t,r,n);return 0}}),i.default.fn.rankMathUnhighlight=function(e){var t={className:"highlight",element:"span"};return i.default.extend(t,e),this.find(t.element+"."+t.className).each(function(){var e=this.parentNode;e.replaceChild(this.firstChild,this),e.normalize()}).end()},i.default.fn.rankMathHighlight=function(e,t){var r={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1};if(i.default.extend(r,t),void 0===e||""===e)return this;if(e.constructor===String&&(e=[e]),e=i.default.grep(e,function(e){return""!==e}),0===(e=i.default.map(e,function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).length)return this;var n=r.caseSensitive?"":"i",o="("+e.join("|")+")";r.wordsOnly&&(o="\\b"+o+"\\b");var a=RegExp(o,n);return this.each(function(){i.default.rankMathHighlight(this,a,r.element,r.className)})}},function(e,t,r){"use strict";var n,i=(n=r(6))&&n.__esModule?n:{default:n},o=document.createElement("div");i.default.fn.lengthIndicator=function(e){var t=this;e=i.default.extend({},{minLength:0,maxLength:1e3,source:null},e),t.wrap('<span class="length-indicator-wrapper"/>'),t.parent().append('<span class="length-indicator"><span/></span><span class="length-count">0 / '+e.maxLength+"</span>");var r=t.parent().find(".length-indicator"),n=r.find(">span"),a=t.parent().find(".length-count"),s=function(){var i=function(e){return e&&"string"==typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),o.innerHTML=e,e=o.textContent,o.textContent=""),e}(null===e.source?t.val():e.source.text()).length;r.removeClass("invalid short"),n.css("left",Math.min(100,Math.floor(i/e.maxLength*100))+"%"),a.text(i+" / "+e.maxLength),i>e.minLength&&e.maxLength>=i||r.addClass("invalid")};t.on("input",s),null!==e.source&&e.source.on("rank-math-vars-replaced",s),s()}},function(e,t,r){var n=r(1);e.exports=function(){return n.Date.now()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=a(r(6)),o=a(r(274));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elem=(0,i.default)("#rank-math-serp-checklist",t.elemMetabox),this.scoreElem=(0,i.default)('<div class="misc-pub-section rank-math-seo-score"><span class="score-text"><span class="dashicons dashicons-chart-area"></span> SEO: <strong>Not available</strong></span></div>'),this.scoreText=this.scoreElem.find("strong"),this.scoreField=(0,i.default)("#rank_math_seo_score"),this.fkScoreElem=(0,i.default)('<div class="rank-math-seo-score below-focus-keyword"><span class="score-text">Not available</span></div>'),this.fkScoreText=this.fkScoreElem.find("span"),(0,i.default)("#misc-publishing-actions").append(this.scoreElem),(0,i.default)(".cmb-td",".cmb2-id-rank-math-focus-keyword").append(this.fkScoreElem),this.events()}return n(e,[{key:"display",value:function(e){var t=this;i.default.each(e,function(e,r){var n=t.elem.find(".seo-check-"+e);n.removeClass("test-ok test-fail test-empty test-looking veryEasy difficult veryDifficult"),n.addClass("test-"+r.status),n.show(),"calculateFleschReading"===e&&n.addClass(r.factors[2]),n.find("span:eq(0)").html(r.message)})}},{key:"setPrimaryKeywordStatus",value:function(e,t){t.removeClass("good-fk ok-fk bad-fk");var r=(0,o.default)(e,function(e,t,r){return!1===t&&(t={score:0}),e+t.score},0);status="bad-fk",r>80?status="good-fk":r>50&&(status="ok-fk"),t.removeClass("bad-fk ok-fk good-fk"),this.scoreElem.removeClass("bad-fk ok-fk good-fk"),this.fkScoreElem.removeClass("bad-fk ok-fk good-fk"),t.addClass(status),this.scoreElem.addClass(status),this.fkScoreElem.addClass(status),this.scoreText.html(r+" / 100"),this.fkScoreText.html(r+" / 100"),this.scoreField.val(parseInt(r))}},{key:"setSecondaryKeywordStatus",value:function(e,t){t.removeClass("good-fk ok-fk bad-fk");var r=(0,o.default)(e,function(e,t){return e+("ok"===t.status?1:0)},0);t.addClass(3===r?"good-fk":2===r?"ok-fk":"bad-fk")}},{key:"hidePrimary",value:function(){this.elem.find("li.is-primary").hide()}},{key:"events",value:function(){var e=this;this.elem.on("click",".group-handle",function(t){t.preventDefault();var r=(0,i.default)(t.target).closest(".rank-math-serp-group"),n={};r.toggleClass("state-open state-closed"),e.updateGroupStatus(r),e.elem.find(">.rank-math-serp-group").each(function(){var e=(0,i.default)(this);n[e.data("id")]=e.hasClass("state-closed")?"closed":"open"}),i.default.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_save_checklist_layout",security:rankMath.security,layout:n}})})}},{key:"updateGroupStatus",value:function(e){(e=e||(0,i.default)(".rank-math-serp-group")).each(function(){var e=(0,i.default)(this);1>e.find("li.test-fail").length&&1>e.find("li.test-empty").length?e.find(".group-status").addClass("passed"):e.find(".group-status").removeClass("passed")})}}]),e}();t.default=s},function(e,t,r){var n=r(275),i=r(37),o=r(59),a=r(276),s=r(0);e.exports=function(e,t,r){var u=s(e)?n:a,c=3>arguments.length;return u(e,o(t,4),r,c,i)}},function(e,t){e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},function(e,t){e.exports=function(e,t,r,n,i){return i(e,function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)}),r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=(n=r(6))&&n.__esModule?n:{default:n},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metabox=t,this.currentNetwork="facebook",this.useFacebook=!0,this.shouldUpdatePreview=!1,this.facebookTitleField=t.elemMetabox.find("#rank_math_facebook_title"),this.facebookDescriptionField=t.elemMetabox.find("#rank_math_facebook_description"),this.twitterTitleField=t.elemMetabox.find("#rank_math_twitter_title"),this.twitterDescriptionField=t.elemMetabox.find("#rank_math_twitter_description"),this.facebookImageField=t.elemMetabox.find("#rank_math_facebook_image"),this.twitterImageField=t.elemMetabox.find("#rank_math_twitter_image"),this.facebookImageStatus=t.elemMetabox.find("#rank_math_facebook_image-status"),this.twitterImageStatus=t.elemMetabox.find("#rank_math_twitter_image-status"),this.socialWrapper=t.elemMetabox.find(".rank-math-social-preview"),this.socialPreview=this.socialWrapper.find(".rank-math-social-preview-item"),this.socialTitle=this.socialWrapper.find(".rank-math-social-preview-title"),this.socialDescription=this.socialWrapper.find(".rank-math-social-preview-description"),this.events(),this.shouldUpdatePreview=!0,this.updatePreview()}return i(e,[{key:"events",value:function(){var e=this;this.facebookTitleField.on("input",function(){e.updateTitlePreview()}),this.facebookDescriptionField.on("input",function(){e.updateDescriptionPreview()}),this.facebookImageField.on("input",function(){e.updateThumbnailPreview()}),this.twitterTitleField.on("input",function(){e.updateTitlePreview()}),this.twitterDescriptionField.on("input",function(){e.updateDescriptionPreview()}),this.twitterImageField.on("input",function(){e.updateThumbnailPreview()});var t=(0,o.default)(".rank-math-social-preview-button"),r=t.find(">span");t.on("click",function(t){t.preventDefault(),r.toggleClass("dashicons-arrow-down dashicons-arrow-up"),e.updatePreview(),e.socialWrapper.toggleClass("open"),e.socialPreview.slideToggle()});var n=(0,o.default)("#rank_math_twitter_card_type");(0,o.default)(".preview-network").on("click",function(r){(0,o.default)(r.target).hasClass("tab-facebook")?t.show():n.trigger("change"),e.updatePreview()}),n.on("change",function(){var r=n.val();"player"===r&&(0,o.default)(".cmb2-id-rank-math-twitter-image, .cmb2-id-rank-math-twitter-title, .cmb2-id-rank-math-twitter-description").show();var i="player"===r||"app"===r;t.toggle(!i),(0,o.default)(".cmb2-id-rank-math-twitter-use-facebook").toggle(!i),e.updatePreview()}).trigger("change");var i=(0,o.default)("#rank_math_twitter_use_facebook2");(0,o.default)("#rank_math_twitter_use_facebook1, #rank_math_twitter_use_facebook2").on("input change",function(){e.useFacebook=i.is(":checked"),e.updatePreview()}).trigger("change"),(0,o.default)(".cmb2-id-rank-math-facebook-enable-image-overlay, .cmb2-id-rank-math-facebook-image-overlay, .cmb2-id-rank-math-twitter-enable-image-overlay, .cmb2-id-rank-math-twitter-image-overlay").on("change","input",function(){e.updateThumbnailOverlay()}),(0,o.default)(document).on("cmb_media_modal_select",function(t,r,n){"rank_math_facebook_image"!==n.field&&"rank_math_twitter_image"!==n.field||e.updateThumbnailPreview()}),(0,o.default)(document).on("cmb_init",function(t,r){r.$metabox.on("click",".cmb2-remove-file-button",function(){e.updateThumbnailPreview()})})}},{key:"updatePreview",value:function(){!1!==this.shouldUpdatePreview&&(this.currentNetwork=(0,o.default)(".preview-network.tab-active").attr("href").replace("#setting-panel-social-",""),this.socialWrapper.removeClass(),this.socialWrapper.addClass("rank-math-social-preview rank-math-social-preview-"+this.currentNetwork),"twitter"===this.currentNetwork&&this.socialWrapper.addClass((0,o.default)("#rank_math_twitter_card_type").val()),this.updateTitlePreview(),this.updateDescriptionPreview(),this.updateThumbnailPreview())}},{key:"updateTitlePreview",value:function(){var e=this[this.currentNetwork+"TitleField"].val()||this.metabox.title;"twitter"===this.currentNetwork&&this.useFacebook&&(e=this.facebookTitleField.val()||this.metabox.title),e=this.metabox.truncate(this.metabox.swapVars(e),90),this.socialTitle.html(e)}},{key:"updateDescriptionPreview",value:function(){var e=this[this.currentNetwork+"DescriptionField"].val()||this.description;"twitter"===this.currentNetwork&&this.useFacebook&&(e=this.facebookDescriptionField.val()||this.metabox.description),e=this.metabox.truncate(this.metabox.swapVars(e),240),this.socialDescription.html(e)}},{key:"updateThumbnailPreview",value:function(){var e=(0,o.default)("#rank_math_post_thumbnail").attr("src"),t=this.metabox.getContent(),r=!!/<img(?:[^>]+)?>/.test(t)&&(0,o.default)(t).find("img:first").attr("src"),n=this.facebookImageField.val()||e||r||rankMath.defautOgImage,i=this.twitterImageField.val()||e||r||rankMath.defautOgImage;if("twitter"===this.currentNetwork&&this.useFacebook)i=n;else if(this.twitterImageStatus.find("img.cmb-file-field-image").length){var a=this.twitterImageStatus.siblings(".notice"),s=this.twitterImageStatus.find("img.cmb-file-field-image")[0];a.addClass("hidden"),setTimeout(function(){(200>s.naturalWidth||200>s.naturalHeight)&&a.removeClass("hidden")},300)}var u=this.facebookImageStatus.siblings(".notice"),c=this.facebookImageStatus.find("img.cmb-file-field-image");u.addClass("hidden"),"facebook"===this.currentNetwork&&this.facebookImageField.val()&&c.length&&setTimeout(function(){(200>c[0].naturalWidth||200>c[0].naturalHeight)&&u.removeClass("hidden")},300);var l=(0,o.default)(".rank-math-social-preview-image");(0,o.default)(".facebook-thumbnail",l).attr("src",n),(0,o.default)(".twitter-thumbnail",l).attr("src",i),l.toggleClass("no-facebook-image",!n),l.toggleClass("no-twitter-image",!i),l.parents(".rank-math-social-preview-facebook").find(".error-msg").toggleClass("show",!n),l.parents(".rank-math-social-preview-twitter").find(".error-msg").toggleClass("show",!i),this.updateThumbnailOverlay()}},{key:"updateThumbnailOverlay",value:function(){var e=(0,o.default)(".rank-math-social-preview-image-overlay"),t=(0,o.default)('[name="rank_math_'+this.currentNetwork+'_enable_image_overlay"]:checked').val(),r=(0,o.default)('[name="rank_math_'+this.currentNetwork+'_image_overlay"]:checked').val(),n=!(0,o.default)(".rank-math-social-preview-image").hasClass("no-"+this.currentNetwork+"-image");"twitter"===this.currentNetwork&&this.useFacebook&&(r=(0,o.default)('[name="rank_math_facebook_image_overlay"]:checked').val(),n=!1);var i=(0,o.default)(".cmb2-id-rank-math-"+this.currentNetwork+"-enable-image-overlay"),a="on"===i.find("input:checked").val();i.toggle(n),i.find(".notice-warning").toggle(a),"on"===t?(e.attr("src",rankMath.overlayImages[r].url).show(),(0,o.default)(".cmb2-id-rank-math-"+this.currentNetwork+"-image-overlay").toggle(n)):e.hide()}}]),e}();t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=a(r(6)),o=a(r(81));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elem=(0,i.default)("#rank_math_focus_keyword");var n=(0,o.default)(function(){t.updateFocusKeywords()},200),a=(0,o.default)(function(e,r){var n=e.find("li:last").prev(),i=t.assessor.assessFocusKeyword({elem:n,isPrimary:!1,keyword:r});t.checkList.setSecondaryKeywordStatus(i,n)},200);this.elem.on("content-loaded",function(){var e=r.elem.next("ul"),n=r.getFocusKeywords();(0,i.default)(e).find("li:gt(1)").each(function(){var e=(0,i.default)(this),r=t.assessor.assessFocusKeyword({elem:e,isPrimary:!1,keyword:n[e.index()-1]});t.checkList.setSecondaryKeywordStatus(r,e)})}),this.elem.tagEditor({autocomplete:1===rankMath.maxTags?null:this.getAutocompleteOptions(),sortable:!0,placeholder:this.elem.attr("placeholder"),onChange:function(e,t,r){1===r.length&&t.find("li:not(.placeholder)").last().addClass("selected-fk"),n()},onSelect:function(e,t){var r=e.parent();return!(!r.hasClass("selected-fk")&&""!==e.html()&&(t.find(".tag-editor-tag.active").length&&t.find("input").blur(),r.addClass("selected-fk").siblings().removeClass("selected-fk"),n(),1))},beforeTagDelete:function(e,t,r){return 1===r.length||(e.hasClass("selected-fk")&&t.find(">li").eq(1).addClass("selected-fk"),!0)},beforeTagSave:function(e,t,r,n,i){if(0!==r.length&&i)return a(t,i),i}}),this.elem.next().find(">li:not(.placeholder)").eq(1).addClass("selected-fk");var s=this.elem.parent();s.append(s.find(".cmb2-metabox-description"))}return n(e,[{key:"getAutocompleteOptions",value:function(){return{minLength:2,source:function(e,t){i.default.ajax({url:"https://clients1.google.com/complete/search",dataType:"jsonp",data:{q:e.term,nolabels:"t",client:"hp",ds:"",lr:"lang_"+rankMath.locale,hl:rankMath.locale},success:function(e){t(i.default.map(e[1],function(e){return{value:(0,i.default)("<span>").html(e[0]).text()}}))}})}}}},{key:"getFocusKeywords",value:function(){var e=this.elem.tagEditor("getTags")[0];return e?e.tags:[]}},{key:"getFocusKeyword",value:function(){var e=this.elem.tagEditor("getTags")[0];if(!e)return{isPrimary:!0,keyword:""};var t=e.editor.find(".selected-fk").first();return t.length?{elem:t,isPrimary:1===t.index(),keyword:t.find(".tag-editor-tag").text()}:e.tags.length?{isPrimary:!0,keyword:e.tags[0]}:{isPrimary:!0,keyword:""}}},{key:"clearFocusKeywords",value:function(){this.elem.tagEditor("clearTags")}},{key:"addFocusKeyword",value:function(e){this.elem.tagEditor("addTag",e)}}]),e}();t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=(n=r(6))&&n.__esModule?n:{default:n},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.focusKeywords=t,this.modal=(0,o.default)("#rank-math-compare-keywords-wrapper"),this.holder=this.modal.find(".rank-math-keywords-fields"),this.iframe=this.modal.find("iframe.attachments-browser"),this.btnCompare=this.modal.find(".compare-keywords"),this.events()}return i(e,[{key:"events",value:function(){var e=this;(0,o.default)("#rank-math-compare-keywords-trigger").on("click",function(t){t.preventDefault();var r=e.focusKeywords.getFocusKeywords();e.holder.html(""),r.length?o.default.each(r,function(t,r){e.addNewField(r)}):e.addNewField(),e.modal.toggle(),e.btnCompare.trigger("click")}),this.modal.on("click",".media-modal-close",function(){e.modal.toggle()}),this.modal.on("click",".add-new-keywords",function(){e.addNewField()}),this.modal.on("click",".remove-keyword",function(e){(0,o.default)(e.currentTarget).parent().remove(),btnCompare.trigger("click")}),this.modal.on("click",".use-these-keywords",function(){e.focusKeywords.clearFocusKeywords(),e.holder.find("input").each(function(t,r){var n=(0,o.default)(r).val().trim();""!==n&&e.focusKeywords.addFocusKeyword(n)}),e.modal.toggle()}),this.btnCompare.on("click",function(){var t=[];if(e.holder.find("input").each(function(){var e=(0,o.default)(this).val().trim();""!==e&&t.push({keyword:e,geo:"",time:"today 12-m"})}),0===t.length)return!1;t={comparisonItem:t,category:0,property:""},e.iframe.attr("src",e.iframe.data("srcbase")+"&req="+encodeURIComponent(JSON.stringify(t)))}),this.holder.on("keydown","input",function(t){if(13===t.keyCode)return t.preventDefault(),e.btnCompare.trigger("click"),!1})}},{key:"addNewField",value:function(e){var t=(0,o.default)("<div/>"),r=(0,o.default)("<input/>",{type:"text",class:"widefat",value:e||""});t.append(r),t.append('<button class="button-small button-link button-link-delete remove-keyword"><span class="dashicons dashicons-trash"></span></button>'),this.holder.append(t),r.autocomplete(this.focusKeywords.getAutocompleteOptions()).focus()}}]),e}();t.default=a},,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=v(r(6));r(270),r(271);var o=v(r(109)),a=v(r(197)),s=v(r(43)),u=v(r(81)),c=v(r(273)),l=v(r(277)),f=v(r(278)),p=v(r(279)),d=v(r(66)),h=v(r(207));function v(e){return e&&e.__esModule?e:{default:e}}var g=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"init",value:function(){this.title="",this.permalink="",this.description="",this.variableMap=null,this.analyzeOnPage=null!==document.getElementById("rank-math-serp-checklist"),this.shouldAssess=!1,this.primaryResult={},this.serpCanonical=this.elemMetabox.find("#rank_math_canonical_url"),this.serpTitleField=this.elemMetabox.find("#rank_math_title"),this.serpPermalinkField=this.elemMetabox.find("#rank_math_permalink"),this.serpDescriptionField=this.elemMetabox.find("#rank_math_description"),this.serpWrapper=this.elemMetabox.find(".serp-preview"),this.serpBg=this.elemMetabox.find(".serp-preview-bg input"),this.serpTitle=this.serpWrapper.find(".serp-title"),this.serpPermalink=this.serpWrapper.find(".serp-url"),this.serpDescription=this.serpWrapper.find(".serp-description"),this.desktopSnippet=this.serpWrapper.find(".serp-snippet-data"),this.assessor=new Assessor({elemContent:this.elemContent,researches:this.researches}),this.analyzeOnPage&&(this.checkList=new c.default(this)),this.socialFields=new l.default(this),this.compareKeywords=new p.default(this.focusKeywords),this.focusKeywords=new f.default(this),this.wrapInGroup(),this.serpEvents(),this.updateEvents(),this.updatePreview(),this.initLengthIndicator(),rankMathAdmin.variableInserter(!1)}},{key:"wrapInGroup",value:function(){this.serpTitle.wrap('<div class="group"></div>'),this.serpPermalink.wrap('<div class="group"></div>'),this.serpDescription.wrap('<div class="group"></div>'),(0,i.default)(".cmb2-id-rank-math-title").insertAfter(this.serpTitle),(0,i.default)(".cmb2-id-rank-math-permalink").insertAfter(this.serpPermalink),(0,i.default)(".cmb2-id-rank-math-description").insertAfter(this.serpDescription),(0,i.default)(".group",this.serpWrapper).prepend('<span class="dashicons dashicons-no-alt serp-close"></span>')}},{key:"initLengthIndicator",value:function(){this.serpTitleField.lengthIndicator({minLength:15,maxLength:60,source:this.serpTitle}),this.serpPermalinkField.lengthIndicator({minLength:5,maxLength:75,source:this.serpPermalink}),this.serpDescriptionField.lengthIndicator({minLength:80,maxLength:160,source:this.serpDescription})}},{key:"serpEvents",value:function(){var e=this,t=this.elemMetabox.find(".rank-math-select-device");t.on("click",function(r){r.preventDefault();var n,o=(0,i.default)(r.currentTarget),a=o.hasClass("active");n=function(t){switch(t){case"desktop-preview":e.serpWrapper.removeClass("mobile-preview"),e.serpWrapper.addClass("desktop-preview expanded-preview");break;case"mobile-preview":e.serpWrapper.removeClass("desktop-preview"),e.serpWrapper.addClass("mobile-preview expanded-preview");break;default:e.serpWrapper.removeClass("mobile-preview expanded-preview"),e.serpWrapper.addClass("desktop-preview")}},t.removeClass("active"),a?n("normal"):o.hasClass("device-desktop")?(n("desktop-preview"),o.addClass("active")):o.hasClass("device-mobile")&&(n("mobile-preview"),o.addClass("active"))});var r=!0,n=this.elemMetabox.find(".rank-math-edit-snippet");this.elemMetabox.on("click",".rank-math-edit-snippet",function(t){t.preventDefault(),n.toggleClass("hidden active"),e.desktopSnippet.toggle();var i={type:"click",isHidden:r=!r};e.serpTitle.trigger(i),e.serpPermalink.trigger(i),e.serpDescription.trigger(i)}),this.elemMetabox.on("click",".serp-title, .serp-url, .serp-description, .serp-close",function(t){t.preventDefault();var o=(0,i.default)(t.target).parent();"isHidden"in t?o.toggleClass("active",!t.isHidden):(o.toggleClass("active"),0===e.serpWrapper.find(".group.active").length&&n.hasClass("active")&&(r=!r,n.toggleClass("hidden active")),3!==e.serpWrapper.find(".group.active").length||n.hasClass("active")||(r=!1,n.toggleClass("hidden active")))});var o=(0,i.default)("#rank_math_use_default_robots1"),a=(0,i.default)("#rank_math_robots1");(0,i.default)("#rank_math_robots1, #rank_math_use_default_robots1, #rank_math_use_default_robots2").on("change",function(){if(!o.is(":checked"))return e.serpWrapper.removeClass("noindex-preview"),!1;a.is(":checked")?e.serpWrapper.addClass("noindex-preview"):e.serpWrapper.removeClass("noindex-preview")}).trigger("change"),(0,i.default)("textarea[data-autoresize]").each(function(){var e=(0,i.default)(this);e.on("keyup input",function(){e.css("height","auto").css("height",e.prop("scrollHeight"))})})}},{key:"updateEvents",value:function(){var e=this;this.serpTitleField.on("input",(0,u.default)(function(){e.updateTitlePreview()},500)).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemTitle.on("input",(0,u.default)(function(){e.setVariable("title",e.elemTitle.val()),e.setVariable("term",e.elemTitle.val()),e.setVariable("author",e.elemTitle.val()),e.setVariable("name",e.elemTitle.val()),e.updateTitlePreview()},500)),this.serpPermalinkField.val(this.serpPermalinkField.val()||this.elemSlug.val()).on("input",(0,u.default)(function(){var t=e.serpPermalinkField.val();e.updateSlug(t),e.updatePermalinkPreview()},500)).on("blur",function(){var t=(0,a.default)(e.serpPermalinkField.val());e.updateSlug(t)}).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemSlug.on("input",(0,u.default)(function(){e.serpPermalinkField.val(e.elemSlug.val()).trigger("input")},500)),this.serpDescriptionField.on("input",(0,u.default)(function(){e.updateDescriptionPreview()},500)).on("keypress",function(e){if(13===e.which||13===e.keyCode)return e.preventDefault(),(0,i.default)(e.target).closest(".cmb-row").prev().trigger("click"),!1}),this.elemDescription.on("input",(0,u.default)(function(){e.updateDescriptionPreview()},500))}},{key:"updateSlug",value:function(e){this.serpPermalinkField.val(e),this.elemSlug.val(e)}},{key:"seoAssessments",value:function(e){if(!1!==this.shouldAssess){var t=null;"title"===e?t=this.assessor.assessTitle(this.title):"permalink"===e?t=this.assessor.assessPermalink(this.permalink):"description"===e?(this.assessor.paper.setDescription(this.description),t=this.assessor.assessFocusKeyword(this.focusKeywords.getFocusKeyword())):"content"===e&&(t=this.assessor.assessContent(this.description)),this.setKeywordStatus(t)}}},{key:"seoTitleAssessments",value:function(){this.seoAssessments("title")}},{key:"seoPermalinkAssessments",value:function(){this.seoAssessments("permalink")}},{key:"seoFocusKeywordAssessments",value:function(){this.seoAssessments("description")}},{key:"seoContentAssessments",value:function(){this.seoAssessments("content")}},{key:"seoAssessAll",value:function(){if(!1!==this.shouldAssess){this.assessor.paper.setTitle(this.title),this.assessor.paper.setPermalink(this.permalink),this.assessor.paper.setKeyword(this.focusKeywords.getFocusKeyword().keyword),this.assessor.paper.setDescription(this.description);var e=this.assessor.runAll();this.setKeywordStatus(e)}}},{key:"setKeywordStatus",value:function(e){if(!1!==this.analyzeOnPage){var t=this.focusKeywords.getFocusKeyword();if(t.isPrimary||void 0===t.elem)this.checkList.display(e);else{var r={keywordDensity:e.keywordDensity,keywordInContent:e.keywordInContent,keywordInSubheadings:e.keywordInSubheadings};this.checkList.hidePrimary(),this.checkList.display(r),this.checkList.setSecondaryKeywordStatus(r,t.elem),delete e.keywordDensity,delete e.keywordInContent,delete e.keywordInSubheadings}this.primaryResult=i.default.extend({},this.primaryResult,e),this.checkList.setPrimaryKeywordStatus(this.primaryResult,this.focusKeywords.elem.next().find(">li:not(.placeholder)").eq(1))}}},{key:"updatePreview",value:function(){this.updateTitlePreview(),this.updatePermalinkPreview(),this.updateDescriptionPreview(),this.shouldAssess=this.analyzeOnPage,this.seoAssessAll(),this.focusKeywords.elem.trigger("content-loaded"),this.updateFocusKeywords()}},{key:"updateFocusKeywords",value:function(){var e=this.focusKeywords.getFocusKeyword().keyword;if(""!==e&&(this.setVariable("focuskw",e),this.serpBg.val(e)),this.focusKeywords.getFocusKeyword().isPrimary){this.shouldAssess=!1,this.updateDescriptionPreview(),this.shouldAssess=!0,this.seoFocusKeywordAssessments(),this.highlightKeywords(),this.updatePreviewCallbacks("description",this.description),this.updatePreviewCallbacks("focus-keyword",e);var t=(0,i.default)(".focus-keyword-link");t.length&&""!==e&&t.attr("href",t.attr("href").replace("%focus_keyword%",e).replace("%post_type%",rankMath.objectType).replace("%taxonomy%",rankMath.objectType))}else this.seoFocusKeywordAssessments()}},{key:"updateTitlePreview",value:function(){this.title=this.serpTitleField.val();var e=""!==this.title;this.title=this.swapVars(""!==this.title?this.title:this.serpTitle.data("format")),this.serpTitle.html(this.title),this.serpTitleField.attr("placeholder",e?this.title:this.serpTitle.data("format")),this.socialFields.facebookTitleField.attr("placeholder",this.title),this.socialFields.twitterTitleField.attr("placeholder",this.title),this.seoTitleAssessments(),this.highlightKeywords(this.serpTitle),this.updatePreviewCallbacks("title",this.title),this.serpTitle.trigger("rank-math-vars-replaced")}},{key:"updatePermalinkPreview",value:function(){var e=this.serpPermalink.data("format")||"",t=(0,a.default)(this.serpPermalinkField.val());this.permalink=""!==t?e.replace(/%(postname|pagename)%/,t).trimRight("/")+"/":"",this.serpCanonical.attr("placeholder",this.permalink),this.serpPermalink.html(this.permalink),this.seoPermalinkAssessments(),this.highlightKeywords(this.serpPermalink),this.updatePreviewCallbacks("permalink",this.permalink),this.serpPermalink.trigger("rank-math-vars-replaced")}},{key:"updateDescriptionPreview",value:function(){this.description=this.swapVars(this.getDescription()),this.serpDescription.html(this.description),this.serpDescriptionField.attr("placeholder",""!==this.description?this.description:this.serpDescription.data("format"));var e=this.getDescriptionTruncated(this.description,300);this.socialFields.facebookDescriptionField.attr("placeholder",e),this.socialFields.twitterDescriptionField.attr("placeholder",e),this.seoContentAssessments(),this.highlightKeywords(this.serpDescription),this.updatePreviewCallbacks("description",this.description),this.serpDescription.trigger("rank-math-vars-replaced")}},{key:"updatePreviewCallbacks",value:function(e,t){this.elemMetabox.trigger("rank-math-updating-preview-"+(e=e||"global")),this.elemMetabox.trigger("rank-math-"+e+"-updated",t)}},{key:"highlightKeywords",value:function(e){var t=this.focusKeywords.getFocusKeyword().keyword;!1!==t&&(e?(e.hasClass("serp-url")&&(t=this.assessor.paper.get("keywordPermalink")),e.rankMathUnhighlight(),e.rankMathHighlight(t)):(this.serpTitle.rankMathUnhighlight(),this.serpTitle.rankMathHighlight(t),this.serpPermalink.rankMathUnhighlight(),this.serpPermalink.rankMathHighlight(this.assessor.paper.get("keywordPermalink")),this.serpDescription.rankMathUnhighlight(),this.serpDescription.rankMathHighlight(t)))}},{key:"swapVars",value:function(e,t){var r=this;return(e=e||"")?(t=t||this.getMapObj(),(e=e.replace(" %page%","").replace("%sep% %sep%","%sep%")).replace(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/giu,function(e){var n=e.toLowerCase().replace(/%+/g,"");return["title","post_title","term","author","name"].includes(n)?r.isGutenbergAvailable?t.title:r.elemTitle.val():["description","tag_description","category_description","cat_description","author_description","user_description"].includes(n)?(0,i.default)("#description").val():["fk","focuskeyword","focuskw"].includes(n)?r.focusKeywords.getFocusKeyword().keyword:n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(n.includes("(")&&(n=n.split("(")[0]),n in t?t[n]:n)}).trim()):""}},{key:"getMapObj",value:function(){var e=this;return null!==this.variableMap?this.variableMap:(this.variableMap={},i.default.each(rankMath.variables,function(t,r){t=t.toLowerCase().replace(/%+/g,"").split("(")[0],e.variableMap[t]=r.example}),this.variableMap)}},{key:"setVariable",value:function(e,t){null!==this.variableMap?this.variableMap[e]=t:void 0!==rankMath.variables[e]&&(rankMath.variables[e].example=t)}},{key:"getContent",value:function(){return this.assessor.paper.get("content")}},{key:"getDescription",value:function(){var e=!1,t=this.serpDescriptionField.val(),r=this.getExcerpt();t||""===r||(t=r,e=!0),t||(t=this.serpDescription.data("format")),this.assessor.refreshContent();var n=this.getContent();return!1===e&&(n=this.generateDescriptionFromContent(n),this.setVariable("excerpt",n)),t?(0,d.default)(t):n}},{key:"getExcerpt",value:function(){if(this.isGutenbergAvailable)return this.getMapObj().excerpt;var e=this.elemDescription.val();return this.setVariable("excerpt",e),this.setVariable("excerpt_only",e),this.setVariable("wc_shortdesc",e),e}},{key:"generateDescriptionFromContent",value:function(e){if(""===e)return"";var t=this.focusKeywords.getFocusKeyword().keyword,r=(0,o.default)((0,h.default)(e,!0),function(e){return""!==i.default.trim(e)});if(""!==t){var n=(0,o.default)(r,function(e){return(0,s.default)(e.toLowerCase(),t)});if(n.length>0)return this.getDescriptionTruncated(n[0],160)}return this.getDescriptionTruncated(r[0],160)}},{key:"getDescriptionTruncated",value:function(e,t){return t?this.truncate(e.replace(/\r?\n|\r/g," "),t):e.replace(/\r?\n|\r/g," ")}},{key:"truncate",value:function(e,t){return e.length>t?e.substring(0,t):e}}]),e}();t.default=g},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=a(r(6)),o=a(r(290));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.elemMetabox=(0,i.default)("#cmb2-metabox-rank_math_metabox"),e.elemSlug=(0,i.default)("#rank_math_permalink"),e.elemTitle=(0,i.default)("#display_name"),e.elemDescription=(0,i.default)("#description"),e.elemContent=null,e.researches={keywordInTitle:!0,keywordInMetaDescription:!0,keywordInPermalink:!0,titleStartWithKeyword:!0,keywordNotUsed:!0},e.init(),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),n(t,[{key:"seoTitleAssessments",value:function(){this.seoAssessAll()}},{key:"seoPermalinkAssessments",value:function(){this.seoAssessAll()}},{key:"seoFocusKeywordAssessments",value:function(){this.seoAssessAll()}},{key:"seoContentAssessments",value:function(){this.seoAssessAll()}}]),t}();(0,i.default)(function(){new s})}]);
|
assets/admin/js/wizard.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(t){var e={};function n(a){if(e[a])return e[a].exports;var i=e[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(a,i,function(e){return t[e]}.bind(null,i));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=315)}({315:function(t,e,n){"use strict";var a;(a=jQuery)(function(){window.rankMathSetupWizard={init:function(){rankMath.currentStep in this&&this[rankMath.currentStep](),a(document).on("cmb_init",function(){a(".cmb-multicheck-toggle",".multicheck-checked").trigger("click")})},compatibility:function(){a(".wizard-deactivate-plugin").on("click",function(t){t.preventDefault();var e=a(this);if(!e.hasClass("disabled")){var n=e.closest("tr");a.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_deactivate_plugins",security:rankMath.security,plugin:e.data("plugin")}}).always(function(t){"1"===t?(n.find(".dashicons-warning").removeClass("dashicons-warning").addClass("dashicons-yes"),e.addClass("disabled").text(rankMath.deactivated)):console.log("Deactivation error")})}})},import:function(){var t=a("#import-progress"),e=a("#import-progress-bar"),n=0,i=0,r=function(t,e){var n=new Date,a=e.val()+"["+(10>n.getHours()?"0":"")+n.getHours()+":"+(10>n.getMinutes()?"0":"")+n.getMinutes()+":"+(10>n.getSeconds()?"0":"")+n.getSeconds()+"] "+t+"\n";e.text(a).scrollTop(e[0].scrollHeight-e.height()-20)},o=function(t){t>100&&(t=100),e.find(".number").html(t),e.find("#importBar").css("width",t+"%")};a(".button-import",".form-footer").on("click",function(n){if(n.preventDefault(),rankMath.isConfigured&&!window.confirm(rankMath.confirm))return!1;var u=a(this),s=a(".import-data:checkbox:checked"),l={},p=[];if(!s.length)return alert("Please select plugin to import data."),!1;a.each(s,function(t){var e=a(this).val(),n=a(this).parents(".cmb-group-description").next().find(":checkbox:checked"),r=n.data("active"),o=a(this).data("plugin");p.push(o);var c=a.map(n,function(t){return t.value});c.length>0&&r&&c.push("deactivate"),i+=c.length,l[e]={plugin:o,actions:c}}),u.prop("disabled",!0),t.show(),e.show(),e.find(".plugin-from").html(p.join()),r("Import started...",t),c(l,t,function(){o(100),u.prop("disabled",!1),a(".button",".form-footer").hide(),a(".button-continue").show()})});var c=function e(c,u,s){var l=Object.keys(c),p=l.length,d=c[l[0]],h=Object.keys(c)[0];if(delete c[h],0===p)return r("Import finished. Click on the button below to continue the Setup Wizard.",u),void s();!function t(e,c,u,s,l,p){if(0!==c.length){var d=c.shift();s=s||1,r("deactivate"===d?"Deactivating "+p:"Importing "+d+" from "+p,u),a.ajax({url:rankMath.ajaxurl,type:"POST",data:{perform:d,pluginSlug:e,paged:s,action:"rank_math_import_plugin",security:rankMath.security}}).success(function(a){var s=1;a&&a.page&&a.total_pages>a.page&&(s=a.page+1,c.unshift(d)),o(n+=Math.ceil(100/i)),r(a.success?a.message:a.error,u),t(e,c,u,s,l,p)}).error(function(n){r(n.statusText,u),t(e,c,u,null,l,p)})}else l()}(h,d.actions,t,null,function(){e(c,u,s)},d.plugin)};a(".import-data").on("change",function(){for(var t=this.checked,e=a(this).parents(".cmb-group-description").next().find(".cmb2-option"),n=0;e.length>n;n++)"checkbox"==e[n].type&&(e[n].checked=t);t&&("yoast"===a(this).val()?a('.import-data[value="aioseo"]').prop("checked",!1).trigger("change"):"aioseo"===a(this).val()&&a('.import-data[value="yoast"]').prop("checked",!1).trigger("change"))}),a(".cmb-type-group .cmb2-checkbox-list .cmb2-option").on("click",function(){var t=a(this),e=t.attr("name"),n=t.parents("ul").find('input[name="'+e+'"]:checkbox:checked'),i=t.parents("ul").find('input[name="'+e+'"]');n.length===i.length&&t.parents(".cmb-type-group").find(".import-data").prop("checked",!0).trigger("change")}),a(".button-deactivate-plugins").on("click",function(t){var e=a(this);e.parents("form").find("input[data-active]").length&&(t.preventDefault(),e.text(e.data("deactivate-message")),a.ajax({url:rankMath.ajaxurl,type:"POST",data:{action:"rank_math_deactivate_plugins",security:rankMath.security,plugin:"all"}}).success(function(t){e.parents("form").trigger("submit")}).error(function(t){alert("Something went wrong! Please try again later.")}))})},yoursite:function(){a("#rank-math-search-input").on("input keypress",function(t){var e=a(this),n=e.next();if(13===t.keyCode||13===t.which){if("createEvent"in document){var i=this.ownerDocument,r=i.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,i.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null),n[0].dispatchEvent(r)}return!1}n.attr("href",n.data("href")+encodeURIComponent(e.val()))});var t=a("#business_type");0!==parseInt(t.data("default"))&&a("#site_type").on("change",function(){var e=a(this).val();"news"!==e&&"webshop"!==e&&"otherbusiness"!==e||t.val("Organization").trigger("change"),"business"===e&&t.val("LocalBusiness").trigger("change")})},searchconsole:function(){a("#console_authorization_code").on("paste",function(){var t=a(this).next(".button");setTimeout(function(){t.trigger("click")},100)})}},window.rankMathSetupWizard.init()})}});
|
assets/admin/js/wplink.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=316)}({316:function(e,t,n){"use strict";!function(e,t,n){var i,r,l,a,o,s,c=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,63}$/i,u=/^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,63}[^ "]*$/i,p={},d={},h="ontouchend"in document;function f(){return s||i.dom.getParent(i.selection.getNode(),"a[href]")}window.wpLink={timeToTriggerRiver:150,minRiverAJAXDuration:200,riverBottomThreshold:5,keySensitivity:100,lastSearch:"",textarea:"",modalOpen:!1,init:function(){p.wrap=e("#wp-link-wrap"),p.dialog=e("#wp-link"),p.backdrop=e("#wp-link-backdrop"),p.submit=e("#wp-link-submit"),p.close=e("#wp-link-close");var n=e('<div class="link-nofollow"><label><span> </span> <input type="checkbox" id="wp-link-nofollow"> '+t.relCheckbox+"</label></div>"),i=e('<div class="wp-link-title-field"> <label><span>'+t.linkTitle+'</span> <input id="wp-link-title" type="text"></label></div>');n.insertAfter("#wp-link .link-target"),i.insertAfter("#wp-link .wp-link-text-field"),e("#wp-link .query-results").css("top","260px"),p.text=e("#wp-link-text"),p.url=e("#wp-link-url"),p.nonce=e("#_ajax_linking_nonce"),p.openInNewTab=e("#wp-link-target"),p.search=e("#wp-link-search"),p.nofollow=e("#wp-link-nofollow"),p.title=e("#wp-link-title"),d.search=new l(e("#search-results")),d.recent=new l(e("#most-recent-results")),d.elements=p.dialog.find(".query-results"),p.queryNotice=e("#query-notice-message"),p.queryNoticeTextDefault=p.queryNotice.find(".query-notice-default"),p.queryNoticeTextHint=p.queryNotice.find(".query-notice-hint"),p.dialog.keydown(wpLink.keydown),p.dialog.keyup(wpLink.keyup),p.submit.click(function(e){e.preventDefault(),wpLink.update()}),p.close.add(p.backdrop).add("#wp-link-cancel button").click(function(e){e.preventDefault(),wpLink.close()}),d.elements.on("river-select",wpLink.updateFields),p.search.on("focus.wplink",function(){p.queryNoticeTextDefault.hide(),p.queryNoticeTextHint.removeClass("screen-reader-text").show()}).on("blur.wplink",function(){p.queryNoticeTextDefault.show(),p.queryNoticeTextHint.addClass("screen-reader-text").hide()}),p.search.on("keyup input",function(){window.clearTimeout(r),r=window.setTimeout(function(){wpLink.searchInternalLinks()},500)}),p.url.on("paste",function(){setTimeout(wpLink.correctURL,0)}),p.url.on("blur",wpLink.correctURL)},correctURL:function(){var t=e.trim(p.url.val());t&&o!==t&&!/^(?:[a-z]+:|#|\?|\.|\/)/.test(t)&&(p.url.val("http://"+t),o=t)},open:function(t,n,r,l){var a,o=e(document.body);o.addClass("modal-open"),wpLink.modalOpen=!0,s=l,wpLink.range=null,t&&(window.wpActiveEditor=t),window.wpActiveEditor&&(this.textarea=e("#"+window.wpActiveEditor).get(0),void 0!==window.tinymce&&(o.append(p.backdrop,p.wrap),a=window.tinymce.get(window.wpActiveEditor),i=a&&!a.isHidden()?a:null),!wpLink.isMCE()&&document.selection&&(this.textarea.focus(),this.range=document.selection.createRange()),p.wrap.show(),p.backdrop.show(),wpLink.refresh(n,r),e(document).trigger("wplink-open",p.wrap))},isMCE:function(){return i&&!i.isHidden()},refresh:function(e,t){d.search.refresh(),d.recent.refresh(),wpLink.isMCE()?wpLink.mceRefresh(e,t):(p.wrap.hasClass("has-text-field")||p.wrap.addClass("has-text-field"),document.selection?document.selection.createRange().text:void 0!==this.textarea.selectionStart&&this.textarea.selectionStart!==this.textarea.selectionEnd&&(t=this.textarea.value.substring(this.textarea.selectionStart,this.textarea.selectionEnd)||t||""),p.text.val(t),wpLink.setDefaultValues()),h?p.url.focus().blur():window.setTimeout(function(){p.url[0].select(),p.url.focus()}),d.recent.ul.children().length||d.recent.ajax(),o=p.url.val().replace(/^http:\/\//,"")},hasSelectedText:function(e){var t,n,r,l=i.selection.getContent();if(/</.test(l)&&(!/^<a [^>]+>[^<]+<\/a>$/.test(l)||-1===l.indexOf("href=")))return!1;if(e){if(0===(n=e.childNodes).length)return!1;for(r=n.length-1;r>=0;r--)if(3!=(t=n[r]).nodeType&&!window.tinymce.dom.BookmarkManager.isBookmarkNode(t))return!1}return!0},mceRefresh:function(n,r){var l,a,o=f(),s=this.hasSelectedText(o);o?(l=o.textContent||o.innerText,a=i.dom.getAttrib(o,"href"),e.trim(l)||(l=r||""),n&&(u.test(n)||c.test(n))&&(a=n),"_wp_link_placeholder"!==a?(p.url.val(a),p.openInNewTab.prop("checked","_blank"===i.dom.getAttrib(o,"target")),p.nofollow.prop("checked","nofollow"===i.dom.getAttrib(o,"rel")),p.title.val(i.dom.getAttrib(o,"title")),p.submit.val(t.update)):this.setDefaultValues(l),p.search.val(n&&n!==a?n:""),window.setTimeout(function(){wpLink.searchInternalLinks()})):(l=i.selection.getContent({format:"text"})||r||"",this.setDefaultValues(l)),s?(p.text.val(l),p.wrap.addClass("has-text-field")):(p.text.val(""),p.wrap.removeClass("has-text-field"))},close:function(t){e(document.body).removeClass("modal-open"),wpLink.modalOpen=!1,"noReset"!==t&&(wpLink.isMCE()?(i.plugins.wplink&&i.plugins.wplink.close(),i.focus()):(wpLink.textarea.focus(),wpLink.range&&(wpLink.range.moveToBookmark(wpLink.range.getBookmark()),wpLink.range.select()))),p.backdrop.hide(),p.wrap.hide(),o=!1,e(document).trigger("wplink-close",p.wrap)},getAttrs:function(){wpLink.correctURL();var t={href:e.trim(p.url.val()),target:p.openInNewTab.prop("checked")?"_blank":null,rel:p.nofollow.prop("checked")?"nofollow":""};return e.trim(p.title.val())&&(t.title=e.trim(p.title.val())),t},buildHtml:function(e){var t='<a href="'+e.href+'"';return e.target&&(t+=' target="'+e.target+'"'),e.rel&&(t+=' rel="'+e.rel+'"'),e.title&&(t+=' title="'+e.title+'"'),t+">"},update:function(){wpLink.isMCE()?wpLink.mceUpdate():wpLink.htmlUpdate()},htmlUpdate:function(){var i,r,l,a,o,s,c,u=wpLink.textarea;if(u){i=wpLink.getAttrs(),r=p.text.val();var d=document.createElement("a");d.href=i.href,"javascript:"!==d.protocol&&"data:"!==d.protocol||(i.href=""),i.href&&(l=wpLink.buildHtml(i),document.selection&&wpLink.range?(u.focus(),wpLink.range.text=l+(r||wpLink.range.text)+"</a>",wpLink.range.moveToBookmark(wpLink.range.getBookmark()),wpLink.range.select(),wpLink.range=null):void 0!==u.selectionStart&&(o=u.selectionEnd,s=(a=u.selectionStart)+(l=l+(c=r||u.value.substring(a,o))+"</a>").length,a!==o||c||(s-=4),u.value=u.value.substring(0,a)+l+u.value.substring(o,u.value.length),u.selectionStart=u.selectionEnd=s),wpLink.close(),u.focus(),e(u).trigger("change"),n.a11y.speak(t.linkInserted))}},mceUpdate:function(){var r,l,a,o,s=wpLink.getAttrs(),c=document.createElement("a");if(c.href=s.href,"javascript:"!==c.protocol&&"data:"!==c.protocol||(s.href=""),!s.href)return i.execCommand("unlink"),void wpLink.close();r=i.$(f()),i.undoManager.transact(function(){r.length||(i.execCommand("mceInsertLink",!1,{href:"_wp_link_placeholder","data-wp-temp-link":1}),r=i.$('a[data-wp-temp-link="1"]').removeAttr("data-wp-temp-link"),a=e.trim(r.text())),r.length?(p.wrap.hasClass("has-text-field")&&((l=p.text.val())?r.text(l):a||r.text(s.href)),s["data-wplink-edit"]=null,s["data-mce-href"]=null,s.hasOwnProperty("rel")&&!s.rel&&(s.rel=null),r.attr(s)):i.execCommand("unlink")}),wpLink.close("noReset"),i.focus(),r.length&&((o=r.parent("#_mce_caret")).length&&o.before(r.removeAttr("data-mce-bogus")),i.selection.select(r[0]),i.selection.collapse(),i.plugins.wplink&&i.plugins.wplink.checkLink(r[0])),i.nodeChanged(),n.a11y.speak(t.linkInserted)},updateFields:function(e,t){p.url.val(t.children(".item-permalink").val())},getUrlFromSelection:function(t){return t||(this.isMCE()?t=i.selection.getContent({format:"text"}):document.selection&&wpLink.range?t=wpLink.range.text:void 0!==this.textarea.selectionStart&&(t=this.textarea.value.substring(this.textarea.selectionStart,this.textarea.selectionEnd))),(t=e.trim(t))&&c.test(t)?"mailto:"+t:t&&u.test(t)?t.replace(/&|�?38;/gi,"&"):""},setDefaultValues:function(e){p.url.val(this.getUrlFromSelection(e)),p.search.val(""),wpLink.searchInternalLinks(),p.submit.val(t.save)},searchInternalLinks:function(){var e,t=p.search.val()||"";if(t.length>2){if(d.recent.hide(),d.search.show(),wpLink.lastSearch===t)return;wpLink.lastSearch=t,e=p.search.parent().find(".spinner").addClass("is-active"),d.search.change(t),d.search.ajax(function(){e.removeClass("is-active")})}else d.search.hide(),d.recent.show()},next:function(){d.search.next(),d.recent.next()},prev:function(){d.search.prev(),d.recent.prev()},keydown:function(e){var t,n;27===e.keyCode?(wpLink.close(),e.stopImmediatePropagation()):9===e.keyCode&&("wp-link-submit"!==(n=e.target.id)||e.shiftKey?"wp-link-close"===n&&e.shiftKey&&(p.submit.focus(),e.preventDefault()):(p.close.focus(),e.preventDefault())),e.shiftKey||38!==e.keyCode&&40!==e.keyCode||(!document.activeElement||"link-title-field"!==document.activeElement.id&&"url-field"!==document.activeElement.id)&&(t=38===e.keyCode?"prev":"next",clearInterval(wpLink.keyInterval),wpLink[t](),wpLink.keyInterval=setInterval(wpLink[t],wpLink.keySensitivity),e.preventDefault())},keyup:function(e){38!==e.keyCode&&40!==e.keyCode||(clearInterval(wpLink.keyInterval),e.preventDefault())},delayedCallback:function(e,t){var n,i,r,l;return t?(setTimeout(function(){if(i)return e.apply(l,r);n=!0},t),function(){if(n)return e.apply(this,arguments);r=arguments,l=this,i=!0}):e}},e.extend((l=function(t,n){var i=this;this.element=t,this.ul=t.children("ul"),this.contentHeight=t.children("#link-selector-height"),this.waiting=t.find(".river-waiting"),this.change(n),this.refresh(),e("#wp-link .query-results, #wp-link #link-selector").scroll(function(){i.maybeLoad()}),t.on("click","li",function(t){i.select(e(this),t)})}).prototype,{refresh:function(){this.deselect(),this.visible=this.element.is(":visible")},show:function(){this.visible||(this.deselect(),this.element.show(),this.visible=!0)},hide:function(){this.element.hide(),this.visible=!1},select:function(e,t){var n,i,r,l;e.hasClass("unselectable")||e===this.selected||(this.deselect(),this.selected=e.addClass("selected"),n=e.outerHeight(),i=this.element.height(),r=e.position().top,l=this.element.scrollTop(),0>r?this.element.scrollTop(l+r):r+n>i&&this.element.scrollTop(l+r-i+n),this.element.trigger("river-select",[e,t,this]))},deselect:function(){this.selected&&this.selected.removeClass("selected"),this.selected=!1},prev:function(){var e;this.visible&&this.selected&&(e=this.selected.prev("li")).length&&this.select(e)},next:function(){if(this.visible){var t=this.selected?this.selected.next("li"):e("li:not(.unselectable):first",this.element);t.length&&this.select(t)}},ajax:function(e){var t=this,n=1==this.query.page?0:wpLink.minRiverAJAXDuration,i=wpLink.delayedCallback(function(n,i){t.process(n,i),e&&e(n,i)},n);this.query.ajax(i)},change:function(e){this.query&&this._search===e||(this._search=e,this.query=new a(e),this.element.scrollTop(0))},process:function(n,i){var r="",l=!0,a="",o=1===i.page;n?e.each(n,function(){a=l?"alternate":"",r+=(a+=this.title?"":" no-title")?'<li class="'+a+'">':"<li>",r+='<input type="hidden" class="item-permalink" value="'+this.permalink+'" />',r+='<span class="item-title">',r+=this.title?this.title:t.noTitle,r+='</span><span class="item-info">'+this.info+"</span></li>",l=!l}):o&&(r+='<li class="unselectable no-matches-found"><span class="item-title"><em>'+t.noMatchesFound+"</em></span></li>"),this.ul[o?"html":"append"](r)},maybeLoad:function(){var e=this,t=this.element,n=t.scrollTop()+t.height();this.query.ready()&&n>=this.contentHeight.height()-wpLink.riverBottomThreshold&&setTimeout(function(){var n=t.scrollTop(),i=n+t.height();e.query.ready()&&i>=e.contentHeight.height()-wpLink.riverBottomThreshold&&(e.waiting.addClass("is-active"),t.scrollTop(n+e.waiting.outerHeight()),e.ajax(function(){e.waiting.removeClass("is-active")}))},wpLink.timeToTriggerRiver)}}),e.extend((a=function(e){this.page=1,this.allLoaded=!1,this.querying=!1,this.search=e}).prototype,{ready:function(){return!(this.querying||this.allLoaded)},ajax:function(t){var n=this,i={action:"wp-link-ajax",page:this.page,_ajax_linking_nonce:p.nonce.val()};this.search&&(i.search=this.search),this.querying=!0,e.post(window.ajaxurl,i,function(e){n.page++,n.querying=!1,n.allLoaded=!e,t(e,i)},"json")}}),e(document).ready(wpLink.init)}(jQuery,window.wpLinkL10n,window.wp)}});
|
assets/front/css/modules/_base.css
ADDED
File without changes
|
assets/front/css/rank-math-contact-info.css
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: rank-math-contact-info.css
|
5 |
+
*/
|
6 |
+
/**
|
7 |
+
* Styling for Rank Math [contact-info] shortcode
|
8 |
+
*/
|
9 |
+
.rank-math-contact-section {
|
10 |
+
clear: left;
|
11 |
+
margin: 1rem 0; }
|
12 |
+
.rank-math-contact-section label {
|
13 |
+
font-weight: bold; }
|
14 |
+
|
15 |
+
.rank-math-contact-hours-details .rank-math-opening-hours {
|
16 |
+
margin-bottom: 6px; }
|
17 |
+
.rank-math-contact-hours-details .rank-math-opening-hours:last-child {
|
18 |
+
margin-bottom: 0; }
|
19 |
+
|
20 |
+
.rank-math-contact-hours .rank-math-opening-days,
|
21 |
+
.rank-math-contact-hours .rank-math-opening-time {
|
22 |
+
display: block; }
|
23 |
+
|
24 |
+
.rank-math-phone-number {
|
25 |
+
margin: 6px 0; }
|
26 |
+
|
27 |
+
.rank-math-contact-social {
|
28 |
+
margin: 14px 0 6px;
|
29 |
+
line-height: 32px; }
|
30 |
+
.rank-math-contact-social a {
|
31 |
+
display: inline-block;
|
32 |
+
background: #3b5998;
|
33 |
+
color: #fff !important;
|
34 |
+
font-size: 13px;
|
35 |
+
padding: 4px 12px;
|
36 |
+
line-height: 20px;
|
37 |
+
border-radius: 3px;
|
38 |
+
-webkit-box-shadow: inset 0 -2px 0 0 rgba(41, 41, 41, 0.25);
|
39 |
+
box-shadow: inset 0 -2px 0 0 rgba(41, 41, 41, 0.25); }
|
40 |
+
.rank-math-contact-social .type-facebook {
|
41 |
+
background: #3b5998; }
|
42 |
+
.rank-math-contact-social .type-twitter {
|
43 |
+
background: #55acee; }
|
44 |
+
.rank-math-contact-social .type-gplus {
|
45 |
+
background: #dd4b39; }
|
46 |
+
.rank-math-contact-social .type-linkedin {
|
47 |
+
background: #007bb5; }
|
48 |
+
.rank-math-contact-social .type-instagram {
|
49 |
+
background: #125688; }
|
50 |
+
.rank-math-contact-social .type-youtube {
|
51 |
+
background: #bb0000; }
|
52 |
+
.rank-math-contact-social .type-pinterest {
|
53 |
+
background: #cb2027; }
|
54 |
+
.rank-math-contact-social .type-soundcloud {
|
55 |
+
background: #f50; }
|
56 |
+
.rank-math-contact-social .type-tumblr {
|
57 |
+
background: #32506d; }
|
58 |
+
.rank-math-contact-social .type-myspace {
|
59 |
+
background: #222; }
|
60 |
+
.rank-math-contact-social .type-yelp {
|
61 |
+
background: #d32323; }
|
62 |
+
.rank-math-contact-social .type-foursquare {
|
63 |
+
background: #0072b1; }
|
64 |
+
.rank-math-contact-social .type-flickr {
|
65 |
+
background: #ff0084; }
|
66 |
+
.rank-math-contact-social .type-reddit {
|
67 |
+
background: #ff4500; }
|
68 |
+
|
69 |
+
.rank-math-contact-map iframe {
|
70 |
+
width: 100%;
|
71 |
+
height: 300px; }
|
72 |
+
|
73 |
+
.clear {
|
74 |
+
clear: both; }
|
assets/front/css/rank-math.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Plugin: Rank Math
|
3 |
+
* URL: https://mythemeshop.com/plugins/wordpress-seo/
|
4 |
+
* Name: rank-math.css
|
5 |
+
*/#wp-admin-bar-rank-math .rank-math-icon{display:inline-block;top:6px;position:relative;padding-right:10px}#wp-admin-bar-rank-math .rank-math-icon svg{fill-rule:evenodd;fill:#dedede}#wp-admin-bar-rank-math:hover .rank-math-icon svg{fill-rule:evenodd;fill:#00b9eb}
|
assets/front/img/rank-math-icon.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg viewBox="0 0 45.85 48.28" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="m16 30.49a1.5 1.5 0 0 0 1 .4v8.55l-8.51-3.89v-.22z" fill="#586c7d"/><path d="m8.49 25h8.51v2.84a1.53 1.53 0 0 0 -1.43 1l-7.08 4.61z" fill="#41b5e7"/><path d="m23.76 34.48a1.75 1.75 0 0 0 1.75 1.73v7.12l-8.51-3.89v-8.55a1.52 1.52 0 0 0 1-.39z" fill="#2c3d48"/><path d="m17 19.43h8.51v13.28a1.67 1.67 0 0 0 -1.07.37l-6-4.14a1.54 1.54 0 0 0 -1.44-1.12z" fill="#0097d5"/><path d="m34 27.26v6.07l-3.76 8.23a3.61 3.61 0 0 1 -4.75 1.77v-7.12a1.75 1.75 0 0 0 1.76-1.75 1.27 1.27 0 0 0 0-.34z" fill="#071016"/><path d="m25.51 13.77h8.49v11.31l-7.74 7.81a1.69 1.69 0 0 0 -.78-.18z" fill="#006faa"/><path d="m14.17 6.08-10.63 23.27a5.16 5.16 0 0 0 2.54 6.8l18.8 8.59a5.14 5.14 0 0 0 6.79-2.54l10.63-23.28a5.13 5.13 0 0 0 -2.53-6.79l-18.77-8.59a5.16 5.16 0 0 0 -6.8 2.54zm-13.43 21.99 10.63-23.27a8.22 8.22 0 0 1 10.88-4.06l18.8 8.59a8.24 8.24 0 0 1 4.06 10.87l-10.63 23.28a8.23 8.23 0 0 1 -10.88 4.06l-18.8-8.54a8.22 8.22 0 0 1 -4.06-10.93z" fill="#071016"/><path d="m16 30.49a1.5 1.5 0 0 0 1 .4v8.55l-8.51-3.89v-.22z" fill="#586c7d"/><path d="m8.49 25h8.51v2.84a1.53 1.53 0 0 0 -1.43 1l-7.08 4.61z" fill="#94a3d3"/><path d="m23.76 34.48a1.75 1.75 0 0 0 1.75 1.73v7.12l-8.51-3.89v-8.55a1.52 1.52 0 0 0 1-.39z" fill="#2c3d48"/><path d="m17 19.43h8.51v13.28a1.67 1.67 0 0 0 -1.07.37l-6-4.14a1.54 1.54 0 0 0 -1.44-1.12z" fill="#7b8cc6"/><path d="m34 27.26v6.07l-3.76 8.23a3.61 3.61 0 0 1 -4.75 1.77v-7.12a1.75 1.75 0 0 0 1.76-1.75 1.27 1.27 0 0 0 0-.34z" fill="#071016"/><path d="m25.51 13.77h8.49v11.31l-7.74 7.81a1.69 1.69 0 0 0 -.78-.18z" fill="#656fb4"/></g></svg>
|
assets/front/js/rank-math.js
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Rank Math
|
3 |
+
*
|
4 |
+
* @version 0.9.0
|
5 |
+
* @author MyThemeShop
|
6 |
+
*/
|
7 |
+
;(function( $ ) {
|
8 |
+
|
9 |
+
'use strict';
|
10 |
+
|
11 |
+
// Document Ready
|
12 |
+
$(function() {
|
13 |
+
|
14 |
+
window.rankMathFront = {
|
15 |
+
|
16 |
+
init: function() {
|
17 |
+
this.adminMenu();
|
18 |
+
},
|
19 |
+
|
20 |
+
adminMenu: function() {
|
21 |
+
var menu = $( '#wp-admin-bar-rank-math-mark-me' ),
|
22 |
+
self = this,
|
23 |
+
icon = '<span class="dashicons dashicons-yes" style="font-family: dashicons; font-size: 19px;"></span>';
|
24 |
+
|
25 |
+
menu.on( 'click', '.mark-page-as a', function( event ) {
|
26 |
+
event.preventDefault();
|
27 |
+
self.ajax( 'mark_page_as', {
|
28 |
+
objectID: rankMath.objectID,
|
29 |
+
objectType: rankMath.objectType,
|
30 |
+
what: $( this ).attr( 'href' ).replace( '#', '' )
|
31 |
+
} );
|
32 |
+
|
33 |
+
if ( $(this).find('.dashicons').length ) {
|
34 |
+
$(this).find('.dashicons').remove();
|
35 |
+
} else {
|
36 |
+
$(this).prepend(icon);
|
37 |
+
}
|
38 |
+
});
|
39 |
+
},
|
40 |
+
|
41 |
+
ajax: function( action, data, method ) {
|
42 |
+
return $.ajax({
|
43 |
+
url: rankMath.ajaxurl,
|
44 |
+
type: method || 'POST',
|
45 |
+
dataType: 'json',
|
46 |
+
data: $.extend( true, {
|
47 |
+
action: 'rank_math_' + action,
|
48 |
+
security: rankMath.security
|
49 |
+
}, data )
|
50 |
+
});
|
51 |
+
}
|
52 |
+
};
|
53 |
+
|
54 |
+
window.rankMathFront.init();
|
55 |
+
});
|
56 |
+
|
57 |
+
})( jQuery );
|
assets/vendor/clipboard.min.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* clipboard.js v2.0.0
|
3 |
+
* https://zenorocha.github.io/clipboard.js
|
4 |
+
*
|
5 |
+
* Licensed MIT © Zeno Rocha
|
6 |
+
*/
|
7 |
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e,n){var o,r,i;!function(a,c){r=[t,n(7)],o=c,void 0!==(i="function"==typeof o?o.apply(e,r):o)&&(t.exports=i)}(0,function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(t){return t&&t.__esModule?t:{default:t}}(e),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function(){function t(e){n(this,t),this.resolveOptions(e),this.initSelection()}return i(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":r(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=a})},function(t,e,n){function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!c.string(e))throw new TypeError("Second argument must be a String");if(!c.fn(n))throw new TypeError("Third argument must be a Function");if(c.node(t))return r(t,e,n);if(c.nodeList(t))return i(t,e,n);if(c.string(t))return a(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function r(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function i(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}function a(t,e,n){return u(document.body,t,e,n)}var c=n(6),u=n(5);t.exports=o},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){r.off(t,o),e.apply(n,arguments)}var r=this;return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;for(o;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,a=o.length;i<a;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=n},function(t,e,n){var o,r,i;!function(a,c){r=[t,n(0),n(2),n(1)],o=c,void 0!==(i="function"==typeof o?o.apply(e,r):o)&&(t.exports=i)}(0,function(t,e,n,o){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var l=r(e),s=r(n),f=r(o),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),p=function(t){function e(t,n){i(this,e);var o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.resolveOptions(n),o.listenClick(t),o}return c(e,t),h(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===d(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,f.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(s.default);t.exports=p})},function(t,e){function n(t,e){for(;t&&t.nodeType!==o;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}var o=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=n},function(t,e,n){function o(t,e,n,o,r){var a=i.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}function r(t,e,n,r,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,n,r,i)}))}function i(t,e,n,o){return function(n){n.delegateTarget=a(n.target,e),n.delegateTarget&&o.call(t,n)}}var a=n(4);t.exports=r},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}t.exports=n}])});
|
assets/vendor/jquery.caret.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
// http://code.accursoft.com/caret - 1.3.3
|
2 |
+
jQuery.fn.caret=function(e){var t=this[0],n=t&&"true"===t.contentEditable;if(0!=arguments.length)return t&&(-1==e&&(e=this[n?"text":"val"]().length),window.getSelection?n?(t.focus(),window.getSelection().collapse(t.firstChild,e)):t.setSelectionRange(e,e):document.body.createTextRange&&(n?((a=document.body.createTextRange()).moveToElementText(t),a.moveStart("character",e),a.collapse(!0)):(a=t.createTextRange()).move("character",e),a.select()),n||t.focus()),this;if(t){if(window.getSelection)return n?(t.focus(),(c=(o=window.getSelection().getRangeAt(0)).cloneRange()).selectNodeContents(t),c.setEnd(o.endContainer,o.endOffset),c.toString().length):t.selectionStart;if(document.selection){if(t.focus(),n){var o=document.selection.createRange();return(c=document.body.createTextRange()).moveToElementText(t),c.setEndPoint("EndToEnd",o),c.text.length}e=0;var c,a=t.createTextRange(),r=(c=document.selection.createRange().duplicate()).getBookmark();for(a.moveToBookmark(r);0!==a.moveStart("character",-1);)e++;return e}if(t.selectionStart)return t.selectionStart}};
|
assets/vendor/powerwords.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php return array( 'a cut above', 'absolute', 'absolutely lowest', 'absolutely', 'absurd', 'abuse', 'accurate', 'accuse', 'achieve', 'actionable', 'adaptable', 'adequate', 'admit', 'adorable', 'advantage', 'advice', 'affordable', 'aggravate', 'aggressive', 'agitated', 'agonizing', 'agony', 'alarmed', 'alarming', 'alienated', 'aligned', 'all-inclusive', 'alluring', 'always', 'amazing', 'amp', 'animated', 'annihilate', 'announcing', 'anonymous', 'antagonistic', 'anxious', 'apocalypse', 'appalled', 'approved', 'approving', 'argumentative', 'armageddon', 'arrogant', 'ass kicking', 'assault', 'assured', 'astonishing', 'astounded', 'astounding', 'at ease', 'atrocious', 'attractive', 'audacity', 'authentic', 'authoritative', 'authority', 'aware', 'awe-inspiring', 'awesome', 'awkward', 'backbone', 'backdoor', 'backed', 'backlash', 'backstabbing', 'badass', 'balanced', 'banned', 'bargain', 'barrage', 'basic', 'battle', 'beaming', 'beat down', 'beating', 'beautiful', 'beauty', 'begging', 'behind the scenes', 'belief', 'best-selling', 'best', 'better', 'beware', 'big', 'billion', 'black market', 'blacklisted', 'blast', 'blessed', 'blinded', 'blissful', 'blood', 'bloodbath', 'bloodcurdling', 'bloody', 'blunder', 'blushing', 'bold', 'bomb', 'bona fide', 'bonanza', 'bonus', 'bootleg', 'bottom line', 'bountiful', 'brave', 'bravery', 'brazen', 'break', 'breaking', 'breakthrough', 'breathtaking', 'bright', 'brilliant', 'broke', 'brutal', 'budget', 'buffoon', 'bullshit', 'bully', 'bumbling', 'buy', 'cadaver', 'calm', 'cancel anytime', 'capable', 'captivate', 'captivating', 'carefree', 'case study', 'cash', 'cataclysmic', 'catapult', 'catastrophe', 'caution', 'censored', 'centered', 'certain', 'certainly', 'certified', 'challenge', 'charming', 'cheap', 'cheat-sheet', 'cheat', 'cheer', 'cheerful', 'child-like', 'clarity', 'classified', 'clear', 'clueless', 'collapse', 'colorful', 'colossal', 'comfortable', 'compare', 'competitive', 'complete', 'completely', 'completeness', 'comprehensive', 'compromise', 'compulsive', 'concealed', 'conclusive', 'condemning', 'condescending', 'confess', 'confession', 'confessions', 'confident', 'confidential', 'conquer', 'conscientious', 'constructive', 'content', 'contrary', 'controlling', 'controversial', 'convenient', 'convert', 'cooperative', 'copy', 'corpse', 'corrupt', 'corrupting', 'courage', 'courageous', 'cover-up', 'covert', 'coward', 'cowardly', 'crammed', 'crave', 'crazy', 'creative', 'cringeworthy', 'cripple', 'crisis', 'critical', 'crooked', 'crush', 'crushing', 'damaging', 'danger', 'dangerous', 'daring', 'dazzling', 'dead', 'deadline', 'deadly', 'death', 'decadent', 'deceived', 'deceptive', 'defiance', 'definitely', 'definitive', 'defying', 'dejected', 'delicious', 'delight', 'delighted', 'delightful', 'delirious', 'delivered', 'deplorable', 'depraved', 'desire', 'desperate', 'despicable', 'destiny', 'destroy', 'detailed', 'devastating', 'devoted', 'diagnosed', 'direct', 'dirty', 'disadvantages', 'disastrous', 'discount', 'discover', 'disdainful', 'disempowered', 'disgusted', 'disgusting', 'dishonest', 'disillusioned', 'disoriented', 'distracted', 'distraught', 'distressed', 'distrustful', 'divulge', 'document', 'dollar', 'doomed', 'double', 'doubtful', 'download', 'dreadful', 'dreamy', 'drive', 'drowning', 'dumb', 'dynamic', 'eager', 'earnest', 'easily', 'easy', 'economical', 'ecstatic', 'edge', 'effective', 'efficient', 'effortless', 'elated', 'eliminate', 'elite', 'embarrass', 'embarrassed', 'emergency', 'emerging', 'emphasize', 'empowered', 'enchant', 'encouraged', 'endorsed', 'energetic', 'energy', 'enormous', 'enraged', 'enthusiastic', 'epic', 'epidemic', 'essential', 'ethical', 'euphoric', 'evil', 'exactly', 'exasperated', 'excellent', 'excited', 'excitement', 'exciting', 'exclusive', 'exclusivity', 'excruciating', 'exhilarated', 'expensive', 'expert', 'explode', 'exploit', 'explosive', 'exposed', 'exquisite', 'extra', 'extraordinary', 'extremely', 'exuberant', 'eye-opening', 'fail-proof', 'fail', 'failure', 'faith', 'famous', 'fantasy', 'fascinating', 'fatigued', 'faux pas', 'fearless', 'feast', 'feeble', 'festive', 'fierce', 'fight', 'final', 'fine', 'fired', 'first ever', 'first', 'flirt', 'fluid', 'focus', 'focused', 'fool', 'fooled', 'foolish', 'forbidden', 'force-fed', 'forever', 'forgiving', 'forgotten', 'formula', 'fortune', 'foul', 'frantic', 'free', 'freebie', 'freedom', 'frenzied', 'frenzy', 'frightening', 'frisky', 'frugal', 'frustrated', 'fulfill', 'fulfilled', 'full', 'fully', 'fun-loving', 'fundamentals', 'funniest', 'funny', 'furious', 'gambling', 'gargantuan', 'genius', 'genuine', 'gift', 'gigantic', 'giveaway', 'glamorous', 'gleeful', 'glorious', 'glowing', 'gorgeous', 'graceful', 'grateful', 'gratified', 'gravity', 'greatest', 'greatness', 'greed', 'greedy', 'grit', 'grounded', 'growth', 'guaranteed', 'guilt-free', 'guilt', 'gullible', 'guts', 'hack', 'happiness', 'happy', 'harmful', 'harsh', 'hate', 'have you heard', 'havoc', 'hazardous', 'healthy', 'heart', 'heartbreaking', 'heartwarming', 'heavenly', 'helpful', 'helplessness', 'hero', 'hesitant', 'hidden', 'high tech', 'highest', 'highly effective', 'hilarious', 'hoak', 'hoax', 'holocaust', 'honest', 'honored', 'hope', 'hopeful', 'horrific', 'horror', 'hostile', 'how to', 'huge', 'humility', 'humor', 'hurricane', 'hurry', 'hypnotic', 'idiot', 'ignite', 'illegal', 'illusive', 'imagination', 'immediately', 'imminently', 'impatience', 'impatient', 'impenetrable', 'important', 'improved', 'in the zone', 'incapable', 'incapacitated', 'incompetent', 'inconsiderate', 'increase', 'incredible', 'indecisive', 'indulgence', 'indulgent', 'inexpensive', 'inferior', 'informative', 'infuriated', 'ingredients', 'innocent', 'innovative', 'insane', 'insecure', 'insider', 'insider', 'insidious', 'inspired', 'inspiring', 'instant savings', 'instantly', 'instructive', 'intel', 'intelligent', 'intense', 'interesting', 'intriguing', 'introducing', 'invasion', 'investment', 'iron-clad', 'ironclad', 'irresistible', 'irs', 'is here', 'jackpot', 'jail', 'jaw-dropping', 'jealous', 'jeopardy', 'jittery', 'jovial', 'joyous', 'jubilant', 'judgmental', 'jumpstart', 'just arrived', 'keen', 'kickass', 'kickstart', 'know it all', 'lame', 'largest', 'lascivious', 'last chance', 'last minute', 'last', 'latest', 'laugh', 'laughing', 'launch', 'launching', 'lavishly', 'lawsuit', 'left behind', 'legendary', 'legitimate', 'liberal', 'liberated', 'lick', 'lies', 'life-changing', 'lifetime', 'light', 'lighthearted', 'likely', 'limited', 'literally', 'little-known', 'loathsome', 'lonely', 'looming', 'loser', 'lost', 'love', 'lunatic', 'lurking', 'lust', 'luxurious', 'luxury', 'lying', 'magic', 'magical', 'magnificent', 'mainstream', 'malicious', 'mammoth', 'manipulative', 'marked down', 'massive', 'maul', 'mediocre', 'meditative', 'meltdown', 'memorability', 'memorable', 'menacing', 'mesmerizing', 'meticulous', 'mind-blowing', 'minimalist', 'miracle', 'mired', 'mischievous', 'misgiving', 'missing out', 'mistake', 'monetize', 'money', 'moneyback', 'moneygrubbing', 'monumental', 'most important', 'motivated', 'mouth-watering', 'murder', 'mystery', 'nail', 'naked', 'natural', 'naughty', 'nazi', 'nest egg', 'never', 'new', 'nightmare', 'no good', 'no obligation', 'no one talks about', 'no questions asked', 'no risk', 'no strings attached', 'non-controlling', 'noted', 'novelty', 'now', 'obnoxious', 'obsessed', 'obsession', 'obvious', 'odd', 'off-kilter', 'off-limits', 'off-the record', 'offensive', 'official', 'okay', 'on-demand', 'open-minded', 'opportunities', 'optimistic', 'ordeal', 'outlawed', 'outrageousness', 'outstanding', 'overcome', 'overjoyed', 'overnight', 'overwhelmed', 'painful', 'painless', 'painstaking', 'pale', 'panic', 'panicked', 'paralyzed', 'passionate', 'pathetic', 'pay zero', 'payback', 'peril', 'perplexed', 'perspective', 'pessimistic', 'pioneering', 'piranha', 'pitfall', 'pitiful', 'placid', 'plague', 'played', 'playful', 'pleased', 'pluck', 'plummet', 'plunge', 'poison', 'poisonous', 'poor', 'popular', 'portfolio', 'pound', 'powerful', 'powerless', 'practical', 'preposterous', 'prestige', 'price', 'priceless', 'pride', 'prison', 'privacy', 'private', 'privileged', 'prize', 'productive', 'professional', 'profit', 'profitable', 'profound', 'promiscuous', 'promising', 'promote', 'protect', 'protected', 'proven', 'provocative', 'provoke', 'psychological', 'pummel', 'punch', 'punish', 'pus', 'quadruple', 'quality', 'quarrelsome', 'quick-start', 'quick', 'quickly', 'quiet', 'radiant', 'rare', 'ravenous', 'rebellious', 'recession-proof', 'reckoning', 'recognized', 'recommend', 'recreate', 'reduced', 'reflective', 'refugee', 'refund', 'refundable', 'reject', 'relaxed', 'release', 'reliable', 'remarkable', 'replicate', 'report', 'reprimanding', 'repulsed', 'repulsive', 'research', 'resentful', 'resourceful', 'responsible', 'responsive', 'rested', 'restricted', 'results', 'retaliating', 'reveal', 'revealing', 'revenge', 'revengeful', 'revisited', 'revolting', 'revolutionary', 'reward', 'rich', 'ridiculous', 'risky', 'riveting', 'rookie', 'rowdy', 'ruin', 'rules', 'ruthless', 'sabotaging', 'sacred', 'sadistic', 'sadly', 'sadness', 'safe', 'safety', 'sale', 'sampler', 'sarcastic', 'satisfied', 'savage', 'savagery', 'save', 'savings', 'savvy', 'scam', 'scandal', 'scandalous', 'scarce', 'scared', 'scary', 'scornful', 'scream', 'searing', 'secret agenda', 'secret plot', 'secret', 'secrets', 'secure', 'security', 'seductive', 'seething', 'seize', 'selected', 'self-hating', 'self-sufficient', 'sensational', 'senseless', 'sensual', 'serene', 'severe', 'sex', 'sexy', 'shaking', 'shameful', 'shameless', 'shaming', 'shatter', 'shellacking', 'shocking', 'should', 'shrewd', 'sick and tired', 'signs', 'silly', 'simple', 'simplicity', 'simplified', 'simplistic', 'sincere', 'sinful', 'sins', 'six-figure', 'sizable', 'skill', 'skyrocket', 'slaughter', 'slave', 'sleazy', 'sleeping', 'sly', 'smash', 'smiling', 'smug', 'smuggled', 'sneak-peek', 'sneaky', 'sniveling', 'snob', 'snooty', 'snotty', 'soar', 'soaring', 'solid', 'solution', 'spank', 'special', 'spectacular', 'speedy', 'spell-binding', 'spine', 'spirit', 'spirited', 'spiteful', 'spoiler', 'spontaneous', 'spotlight', 'spunky', 'squirming', 'stable', 'staggering', 'startling', 'steady', 'stealthy', 'steamy', 'step-by-step', 'still', 'stoic', 'strange', 'strangle', 'strategy', 'stressed', 'strong', 'strongly suggest', 'struggle', 'stuck up', 'studies', 'stunning', 'stupid-simple', 'stupid', 'sturdy', 'sublime', 'succeed', 'success', 'successful', 'suck', 'suddenly', 'suffer', 'sunny', 'super-human', 'superb', 'supercharge', 'superior', 'supported', 'supportive', 'sure fire', 'sure', 'surefire', 'surge', 'surging', 'surprise', 'surprised', 'surprising', 'survival', 'survive', 'suspicious', 'sweaty', 'swoon-worthy', 'swoon', 'tailspin', 'tank', 'tantalizing', 'targeted', 'tawdry', 'tease', 'technology', 'teetering', 'tempting', 'tenacious', 'tense', 'terrible', 'terrific', 'terrified', 'terrifying', 'terror', 'terrorist', 'tested', 'thankful', 'the truth', 'threaten', 'threatened', 'thrilled', 'thrilling', 'thug', 'ticked off', 'tickled', 'timely', 'today', 'torture', 'toxic', 'track record', 'trade secret', 'tragedy', 'tragic', 'transform', 'transparency', 'trap', 'trapped', 'trauma', 'treacherous', 'treasure', 'tremendous', 'trend', 'tricks', 'triggers', 'triple', 'triumph', 'truly', 'trusting', 'trustworthy', 'truth', 'truthful', 'turbo-charge', 'tweaks', 'twitching', 'ultimate', 'unadulterated', 'unassuming', 'unauthorized', 'unbelievable', 'unburdened', 'uncaring', 'uncensored', 'uncertain', 'uncomfortable', 'unconditional', 'uncontrollable', 'unconventional', 'uncovered', 'undeniable', 'under priced', 'undercover', 'underground', 'underhanded', 'underused', 'unexpected', 'unforgettable', 'unheard of', 'unhurried', 'uninterested', 'unique', 'unjustified', 'unknowingly', 'unleashed', 'unlimited', 'unlock', 'unparalleled', 'unreliable', 'unresponsive', 'unseen', 'unstable', 'unstoppable', 'unsure', 'unsurpassed', 'untapped', 'unusual', 'up-sell', 'upbeat', 'uplifted', 'uplifting', 'urge', 'urgent', 'useful', 'useless', 'validate', 'valor', 'valuable', 'value', 'vanquish', 'vaporize', 'venomous', 'verify', 'vibrant', 'vicious', 'victim', 'victory', 'vigorous', 'vilified', 'vindictive', 'violated', 'violent', 'volatile', 'vulnerable', 'waiting', 'wanted', 'wanton', 'warning', 'waste', 'weak', 'wealth', 'weird', 'what no one tells you', 'whip', 'whopping', 'wicked', 'wild', 'willpower', 'withheld', 'wonderful', 'wondrous', 'woozy', 'world', 'worry', 'worst', 'worthwhile', 'wounded', 'wreaking', 'youthful', 'zen', 'zinger', 'kill', 'kills', 'killed', 'killing', 'sizzle', 'sizzles', 'sizzled', 'sizzling', 'sizzlingly', 'turbocharges', 'turbo-chargesmugglechallenge', 'discovercrave', 'unpopular', 'impressive', 'embarrassing', 'sensationalsinful', 'zensurprising', 'alive', 'oddravenous', 'lazy', 'avoid', 'demoralizing', 'problem', 'horrifying', 'attack', 'traumatized', 'insult', 'horribly', 'hell', 'relentless', 'master', 'perfect', 'super', 'create', 'packed', 'deep', 'gripping', 'goddamn', 'seriously', 'envy', 'lucrative', 'steal', 'bona', 'fide', 'masterclass', 'faux', 'pas', 'belong', 'stop', 'polarizing', 'dominate' );
|
assets/vendor/select2/select2.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
|
assets/vendor/select2/select2.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Select2 4.0.6-rc.1 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return v.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=b&&b.split("/"),p=t.map,q=p&&p["*"]||{};if(a){for(a=a.split("/"),g=a.length-1,t.nodeIdCompat&&x.test(a[g])&&(a[g]=a[g].replace(x,"")),"."===a[0].charAt(0)&&o&&(n=o.slice(0,o.length-1),a=n.concat(a)),k=0;k<a.length;k++)if("."===(m=a[k]))a.splice(k,1),k-=1;else if(".."===m){if(0===k||1===k&&".."===a[2]||".."===a[k-1])continue;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}if((o||q)&&p){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),o)for(l=o.length;l>0;l-=1)if((e=p[o.slice(0,l).join("/")])&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&q&&q[d]&&(i=q[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=w.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),o.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){r[a]=b}}function j(a){if(e(s,a)){var c=s[a];delete s[a],u[a]=!0,n.apply(b,c)}if(!e(r,a)&&!e(u,a))throw new Error("No "+a);return r[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return a?k(a):[]}function m(a){return function(){return t&&t.config&&t.config[a]||{}}}var n,o,p,q,r={},s={},t={},u={},v=Object.prototype.hasOwnProperty,w=[].slice,x=/\.js$/;p=function(a,b){var c,d=k(a),e=d[0],g=b[1];return a=d[1],e&&(e=f(e,g),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(g)):f(a,g):(a=f(a,g),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},q={require:function(a){return g(a)},exports:function(a){var b=r[a];return void 0!==b?b:r[a]={}},module:function(a){return{id:a,uri:"",exports:r[a],config:m(a)}}},n=function(a,c,d,f){var h,k,m,n,o,t,v,w=[],x=typeof d;if(f=f||a,t=l(f),"undefined"===x||"function"===x){for(c=!c.length&&d.length?["require","exports","module"]:c,o=0;o<c.length;o+=1)if(n=p(c[o],t),"require"===(k=n.f))w[o]=q.require(a);else if("exports"===k)w[o]=q.exports(a),v=!0;else if("module"===k)h=w[o]=q.module(a);else if(e(r,k)||e(s,k)||e(u,k))w[o]=j(k);else{if(!n.p)throw new Error(a+" missing "+k);n.p.load(n.n,g(f,!0),i(k),{}),w[o]=r[k]}m=d?d.apply(r[a],w):void 0,a&&(h&&h.exports!==b&&h.exports!==r[a]?r[a]=h.exports:m===b&&v||(r[a]=m))}else a&&(r[a]=d)},a=c=o=function(a,c,d,e,f){if("string"==typeof a)return q[a]?q[a](c):j(p(a,l(c)).f);if(!a.splice){if(t=a,t.deps&&o(t.deps,t.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?n(b,a,c,d):setTimeout(function(){n(b,a,c,d)},4),o},o.config=function(a){return o(a)},a._defined=r,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(r,a)||e(s,a)||(s[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){"function"==typeof b[d]&&("constructor"!==d&&c.push(d))}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){return Array.prototype.unshift.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice,c=b.call(arguments,1);this.listeners=this.listeners||{},null==c&&(c=[]),0===c.length&&c.push({}),c[0]._type=a,a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;c<d;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;c<a;c++){b+=Math.floor(36*Math.random()).toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return(e!==f||"hidden"!==f&&"visible"!==f)&&("scroll"===e||"scroll"===f||(d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth))},c.escapeMarkup=function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c.__cache={};var e=0;return c.GetUniqueElementId=function(a){var b=a.getAttribute("data-select2-id");return null==b&&(a.id?(b=a.id,a.setAttribute("data-select2-id",b)):(a.setAttribute("data-select2-id",++e),b=e.toString())),b},c.StoreData=function(a,b,d){var e=c.GetUniqueElementId(a);c.__cache[e]||(c.__cache[e]={}),c.__cache[e][b]=d},c.GetData=function(b,d){var e=c.GetUniqueElementId(b);return d?c.__cache[e]&&null!=c.__cache[e][d]?c.__cache[e][d]:a(b).data(d):c.__cache[e]},c.RemoveData=function(a){var b=c.GetUniqueElementId(a);null!=c.__cache[b]&&delete c.__cache[b]},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select2-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){b.find(".select2-results").append(a)},c.prototype.sort=function(a){return this.options.get("sorter")(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option[aria-selected]"),b=a.filter("[aria-selected=true]");b.length>0?b.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var c=this;this.data.current(function(d){var e=a.map(d,function(a){return a.id.toString()});c.$results.find(".select2-results__option[aria-selected]").each(function(){var c=a(this),d=b.GetData(this,"data"),f=""+d.id;null!=d.element&&d.element.selected||null==d.element&&a.inArray(f,e)>-1?c.attr("aria-selected","true"):c.attr("aria-selected","false")})})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(c){var d=document.createElement("li");d.className="select2-results__option";var e={role:"treeitem","aria-selected":"false"};c.disabled&&(delete e["aria-selected"],e["aria-disabled"]="true"),null==c.id&&delete e["aria-selected"],null!=c._resultId&&(d.id=c._resultId),c.title&&(d.title=c.title),c.children&&(e.role="group",e["aria-label"]=c.text,delete e["aria-selected"]);for(var f in e){var g=e[f];d.setAttribute(f,g)}if(c.children){var h=a(d),i=document.createElement("strong");i.className="select2-results__group";a(i);this.template(c,i);for(var j=[],k=0;k<c.children.length;k++){var l=c.children[k],m=this.option(l);j.push(m)}var n=a("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});n.append(j),h.append(i),h.append(n)}else this.template(c,d);return b.StoreData(d,"data",c),d},c.prototype.bind=function(c,d){var e=this,f=c.id+"-results";this.$results.attr("id",f),c.on("results:all",function(a){e.clear(),e.append(a.data),c.isOpen()&&(e.setClasses(),e.highlightFirstItem())}),c.on("results:append",function(a){e.append(a.data),c.isOpen()&&e.setClasses()}),c.on("query",function(a){e.hideMessages(),e.showLoading(a)}),c.on("select",function(){c.isOpen()&&(e.setClasses(),e.highlightFirstItem())}),c.on("unselect",function(){c.isOpen()&&(e.setClasses(),e.highlightFirstItem())}),c.on("open",function(){e.$results.attr("aria-expanded","true"),e.$results.attr("aria-hidden","false"),e.setClasses(),e.ensureHighlightVisible()}),c.on("close",function(){e.$results.attr("aria-expanded","false"),e.$results.attr("aria-hidden","true"),e.$results.removeAttr("aria-activedescendant")}),c.on("results:toggle",function(){var a=e.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),c.on("results:select",function(){var a=e.getHighlightedResults();if(0!==a.length){var c=b.GetData(a[0],"data");"true"==a.attr("aria-selected")?e.trigger("close",{}):e.trigger("select",{data:c})}}),c.on("results:previous",function(){var a=e.getHighlightedResults(),b=e.$results.find("[aria-selected]"),c=b.index(a);if(!(c<=0)){var d=c-1;0===a.length&&(d=0);var f=b.eq(d);f.trigger("mouseenter");var g=e.$results.offset().top,h=f.offset().top,i=e.$results.scrollTop()+(h-g);0===d?e.$results.scrollTop(0):h-g<0&&e.$results.scrollTop(i)}}),c.on("results:next",function(){var a=e.getHighlightedResults(),b=e.$results.find("[aria-selected]"),c=b.index(a),d=c+1;if(!(d>=b.length)){var f=b.eq(d);f.trigger("mouseenter");var g=e.$results.offset().top+e.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=e.$results.scrollTop()+h-g;0===d?e.$results.scrollTop(0):h>g&&e.$results.scrollTop(i)}}),c.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),c.on("results:message",function(a){e.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=e.$results.scrollTop(),c=e.$results.get(0).scrollHeight-b+a.deltaY,d=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=e.$results.height();d?(e.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(e.$results.scrollTop(e.$results.get(0).scrollHeight-e.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(c){var d=a(this),f=b.GetData(this,"data");if("true"===d.attr("aria-selected"))return void(e.options.get("multiple")?e.trigger("unselect",{originalEvent:c,data:f}):e.trigger("close",{}));e.trigger("select",{originalEvent:c,data:f})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(c){var d=b.GetData(this,"data");e.getHighlightedResults().removeClass("select2-results__option--highlighted"),e.trigger("results:focus",{data:d,element:a(this)})})},c.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),c<=2?this.$results.scrollTop(0):(g>this.$results.outerHeight()||g<0)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var c=a('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=b.GetData(this.$element[0],"old-tabindex")?this._tabindex=b.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),c.attr("title",this.$element.attr("title")),c.attr("tabindex",this._tabindex),this.$selection=c,c},d.prototype.bind=function(a,b){var d=this,e=(a.id,a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),window.setTimeout(function(){d.$selection.focus()},0),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(c){a(document.body).on("mousedown.select2."+c.id,function(c){var d=a(c.target),e=d.closest(".select2");a(".select2.select2-container--open").each(function(){a(this),this!=e[0]&&b.GetData(this,"element").select2("close")})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){b.find(".selection").append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",d).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("focus",function(b){a.isOpen()||c.$selection.focus()})},e.prototype.clear=function(){var a=this.$selection.find(".select2-selection__rendered");a.empty(),a.removeAttr("title")},e.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.attr("title",b.title||b.text)},e}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,e){var f=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){f.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!f.options.get("disabled")){var d=a(this),e=d.parent(),g=c.GetData(e[0],"data");f.trigger("unselect",{originalEvent:b,data:g})}})},d.prototype.clear=function(){var a=this.$selection.find(".select2-selection__rendered");a.empty(),a.removeAttr("title")},d.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},d.prototype.selectionContainer=function(){return a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.attr("title",e.title||e.text),c.StoreData(f[0],"data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id;if(b.length>1||c)return a.call(this,b);this.clear();var d=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(d)},b}),b.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(a,b,c){function d(){}return d.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},d.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var d=this.$selection.find(".select2-selection__clear");if(0!==d.length){b.stopPropagation();var e=c.GetData(d[0],"data"),f=this.$element.val();this.$element.val(this.placeholder.id);var g={data:e};if(this.trigger("clear",g),g.prevented)return void this.$element.val(f);for(var h=0;h<e.length;h++)if(g={data:e[h]},this.trigger("unselect",g),g.prevented)return void this.$element.val(f);this.$element.trigger("change"),this.trigger("toggle",{})}}},d.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||c.which!=b.DELETE&&c.which!=b.BACKSPACE||this._handleClear(c)},d.prototype.update=function(b,d){if(b.call(this,d),!(this.$selection.find(".select2-selection__placeholder").length>0||0===d.length)){var e=a('<span class="select2-selection__clear">×</span>');c.StoreData(e[0],"data",d),this.$selection.find(".select2-selection__rendered").prepend(e)}},d}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,d,e){var f=this;a.call(this,d,e),d.on("open",function(){f.$search.trigger("focus")}),d.on("close",function(){f.$search.val(""),f.$search.removeAttr("aria-activedescendant"),f.$search.trigger("focus")}),d.on("enable",function(){f.$search.prop("disabled",!1),f._transferTabIndex()}),d.on("disable",function(){f.$search.prop("disabled",!0)}),d.on("focus",function(a){f.$search.trigger("focus")}),d.on("results:focus",function(a){f.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){f.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){f._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){if(a.stopPropagation(),f.trigger("keypress",a),f._keyUpPrevented=a.isDefaultPrevented(),a.which===c.BACKSPACE&&""===f.$search.val()){var d=f.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var e=b.GetData(d[0],"data");f.searchRemoveChoice(e),a.preventDefault()}}});var g=document.documentMode,h=g&&g<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){if(h)return void f.$selection.off("input.search input.searchcheck");f.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(h&&"input"===a.type)return void f.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&f.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;if(this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c){this.$element.find("[data-select2-tag]").length?this.$element.focus():this.$search.focus()}},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{a=.75*(this.$search.val().length+1)+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],g=["opening","closing","selecting","unselecting","clearing"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),null!=c.id?d+="-"+c.id.toString():d+="-"+a.generateChars(4),d},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple")){if(a.selected=!1,c(a.element).is("option"))return a.element.selected=!1,void this.$element.trigger("change");this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})}},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){b.RemoveData(this)})},d.prototype.query=function(a,b){var d=[],e=this;this.$element.children().each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var d;a.children?(d=document.createElement("optgroup"),d.label=a.text):(d=document.createElement("option"),void 0!==d.textContent?d.textContent=a.text:d.innerText=a.text),void 0!==a.id&&(d.value=a.id),a.disabled&&(d.disabled=!0),a.selected&&(d.selected=!0),a.title&&(d.title=a.title);var e=c(d),f=this._normalizeItem(a);return f.element=d,b.StoreData(d,"data",f),e},d.prototype.item=function(a){var d={};if(null!=(d=b.GetData(a[0],"data")))return d;if(a.is("option"))d={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){d={text:a.prop("label"),children:[],title:a.prop("title")};for(var e=a.children("option"),f=[],g=0;g<e.length;g++){var h=c(e[g]),i=this.item(h);f.push(i)}d.children=f}return d=this._normalizeItem(d),d.element=a[0],b.StoreData(a[0],"data",d),d},d.prototype._normalizeItem=function(a){a!==Object(a)&&(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){return this.options.get("matcher")(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){"status"in d&&(0===d.status||"0"===d.status)||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0);if((i.text||"").toUpperCase()===(b.term||"").toUpperCase()||j)return!f&&(a.data=g,void c(a))}if(f)return!0;var k=e.createTag(b);if(null!=k){var l=e.option(k);l.attr("data-select2-tag",!0),e.addOptions([l]),e.insertTag(g,k)}a.results=g,c(a)}var e=this;if(this._removeOldTags(),null==b.term||null!=b.page)return void a.call(this,b,c);a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b);if(!g.$element.find("option").filter(function(){return a(this).val()===c.id}).length){var d=g.option(c);d.attr("data-select2-tag",!0),g._removeOldTags(),g.addOptions([d])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){if(b.term=b.term||"",b.term.length<this.minimumInputLength)return void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}});a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){if(b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength)return void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}});a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;if(d.maximumSelectionLength>0&&f>=d.maximumSelectionLength)return void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}});a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val(""),e.$search.blur()}),c.on("focus",function(){c.isOpen()||e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){e.showSearch(a)?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){e.$results.offset().top+e.$results.outerHeight(!1)+50>=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1)&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){b.StoreData(this,"select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(c){var d=b.GetData(this,"select2-scroll-position");a(this).scrollTop(d.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id;this.$container.parents().filter(b.hasScroll).off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return!(a(c.data.results)<this.minimumResultsForSearch)&&b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",["../utils"],function(a){function b(){}return b.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},b.prototype._handleSelectOnClose=function(b,c){if(c&&null!=c.originalSelect2Event){var d=c.originalSelect2Event;if("select"===d._type||"unselect"===d._type)return}var e=this.getHighlightedResults();if(!(e.length<1)){var f=a.GetData(e[0],"data");null!=f.element&&f.element.selected||null==f.element&&f.selected||this.trigger("select",{data:f})}},b}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){return"Please enter "+(a.minimum-a.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}return D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),null==l.tokenSeparators&&null==l.tokenizer||(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(a){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(a){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var O=k.loadPath(this.defaults.amdLanguageBase+"en"),P=new k(l.language);P.extend(O),l.translations=P}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){null==c(d,e.children[g])&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var h=b(e.text).toUpperCase(),i=b(d.term).toUpperCase();return h.indexOf(i)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(!0,this.defaults,f)},new D}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),d.GetData(a[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),d.StoreData(a[0],"data",d.GetData(a[0],"select2Tags")),d.StoreData(a[0],"tags",!0)),d.GetData(a[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",d.GetData(a[0],"ajaxUrl")),d.StoreData(a[0],"ajax-Url",d.GetData(a[0],"ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,d.GetData(a[0])):d.GetData(a[0]);var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,d){null!=c.GetData(a[0],"select2")&&c.GetData(a[0],"select2").destroy(),this.$element=a,this.id=this._generateId(a),d=d||{},this.options=new b(d,a),e.__super__.constructor.call(this);var f=a.attr("tabindex")||0;c.StoreData(a[0],"old-tabindex",f),a.attr("tabindex","-1");var g=this.options.get("dataAdapter");this.dataAdapter=new g(a,this.options);var h=this.render();this._placeContainer(h);var i=this.options.get("selectionAdapter");this.selection=new i(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,h);var j=this.options.get("dropdownAdapter");this.dropdown=new j(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,h);var k=this.options.get("resultsAdapter");this.results=new k(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){l.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),c.StoreData(a[0],"select2",this),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return e<=0?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;h<i;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select2",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=a&&0!==a.length||(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",c.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),c.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),c.StoreData(b[0],"element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(a,b,c,d,e){if(null==a.fn.select2){var f=["open","close","destroy"];a.fn.select2=function(b){if("object"==typeof(b=b||{}))return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,g=Array.prototype.slice.call(arguments,1);return this.each(function(){var a=e.GetData(this,"select2");null==a&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=a[b].apply(a,g)}),a.inArray(b,f)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
|
includes/admin/class-admin.php
ADDED
@@ -0,0 +1,701 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The admin-specific functionality of the plugin.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\Helper as GlobalHelper;
|
14 |
+
use RankMath\Traits\Ajax;
|
15 |
+
use RankMath\Traits\Hooker;
|
16 |
+
|
17 |
+
defined( 'ABSPATH' ) || exit;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Admin class.
|
21 |
+
*/
|
22 |
+
class Admin {
|
23 |
+
|
24 |
+
use Hooker, Ajax;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Hold allowed post types.
|
28 |
+
*
|
29 |
+
* @var array
|
30 |
+
*/
|
31 |
+
private $allowed_post_types = null;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Hold allowed taxonomies.
|
35 |
+
*
|
36 |
+
* @var array
|
37 |
+
*/
|
38 |
+
private $allowed_taxonomies = null;
|
39 |
+
|
40 |
+
/**
|
41 |
+
* The Constructor.
|
42 |
+
*/
|
43 |
+
public function __construct() {
|
44 |
+
|
45 |
+
$this->includes();
|
46 |
+
$this->hooks();
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Fires when admin is loaded.
|
50 |
+
*/
|
51 |
+
$this->do_action( 'admin/loaded' );
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Include required files.
|
56 |
+
*/
|
57 |
+
private function includes() {
|
58 |
+
|
59 |
+
// Just Init.
|
60 |
+
new Post_Columns;
|
61 |
+
new Metabox;
|
62 |
+
if ( filter_input( INPUT_GET, 'page' ) === 'rank-math-wizard' || filter_input( INPUT_POST, 'action' ) === 'rank_math_save_wizard' ) {
|
63 |
+
new Setup_Wizard;
|
64 |
+
}
|
65 |
+
new Import_Export;
|
66 |
+
new Notices;
|
67 |
+
new Watcher;
|
68 |
+
new CMB2_Fields;
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Hook into actions and filters.
|
73 |
+
*/
|
74 |
+
private function hooks() {
|
75 |
+
|
76 |
+
$this->action( 'init', 'register_pages', 1 );
|
77 |
+
$this->action( 'init', 'check_registration', 1 );
|
78 |
+
$this->action( 'init', 'flush', 999 );
|
79 |
+
$this->action( 'admin_menu', 'fix_first_submenu', 999 );
|
80 |
+
$this->action( 'admin_enqueue_scripts', 'register_scripts' );
|
81 |
+
$this->action( 'admin_enqueue_scripts', 'enqueue_scripts', 25 );
|
82 |
+
$this->action( 'admin_enqueue_scripts', 'overwrite_wplink', 99 );
|
83 |
+
$this->filter( 'user_contactmethods', 'update_contactmethods' );
|
84 |
+
$this->action( 'admin_head', 'icon_css' );
|
85 |
+
$this->action( 'save_post', 'canonical_check_notice' );
|
86 |
+
$this->action( 'wp_dashboard_setup', 'add_dashboard_widgets' );
|
87 |
+
$this->action( 'cmb2_save_options-page_fields', 'update_is_configured_value', 10, 2 );
|
88 |
+
|
89 |
+
// AJAX.
|
90 |
+
$this->ajax( 'is_keyword_new', 'is_keyword_new' );
|
91 |
+
$this->ajax( 'deactivate_feedback', 'deactivate_feedback' );
|
92 |
+
$this->ajax( 'save_checklist_layout', 'save_checklist_layout' );
|
93 |
+
$this->ajax( 'deactivate_plugins', 'deactivate_plugins' );
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* If the flush option is set, flush the rewrite rules.
|
98 |
+
*/
|
99 |
+
public function flush() {
|
100 |
+
if ( get_option( 'rank_math_flush_rewrite' ) ) {
|
101 |
+
flush_rewrite_rules();
|
102 |
+
delete_option( 'rank_math_flush_rewrite' );
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* Register styles and scripts required by plugin.
|
108 |
+
*/
|
109 |
+
public function register_scripts() {
|
110 |
+
|
111 |
+
$js = rank_math()->plugin_url() . 'assets/admin/js/';
|
112 |
+
$css = rank_math()->plugin_url() . 'assets/admin/css/';
|
113 |
+
$vendor = rank_math()->plugin_url() . 'assets/vendor/';
|
114 |
+
|
115 |
+
// Styles.
|
116 |
+
wp_register_style( 'rank-math-common', $css . 'common.css', null, rank_math()->get_version() );
|
117 |
+
wp_register_style( 'rank-math-cmb2', $css . 'cmb2.css', null, rank_math()->get_version() );
|
118 |
+
wp_register_style( 'rank-math-dashboard', $css . 'dashboard.css', array( 'rank-math-common' ), rank_math()->get_version() );
|
119 |
+
wp_register_style( 'rank-math-plugin-feedback', $css . 'feedback.css', array( 'rank-math-common' ), rank_math()->get_version() );
|
120 |
+
|
121 |
+
// Scripts.
|
122 |
+
wp_register_script( 'clipboard', rank_math()->plugin_url() . 'assets/vendor/clipboard.min.js', null, '2.0.0', true );
|
123 |
+
wp_register_script( 'rank-math-common', $js . 'common.js', array( 'jquery' ), rank_math()->get_version(), true );
|
124 |
+
wp_register_script( 'rank-math-dashboard', $js . 'dashboard.js', array( 'jquery', 'clipboard' ), rank_math()->get_version(), true );
|
125 |
+
wp_register_script( 'rank-math-plugin-feedback', $js . 'feedback.js', array( 'jquery' ), rank_math()->get_version(), true );
|
126 |
+
|
127 |
+
// Select2.
|
128 |
+
wp_register_style( 'select2-rm', $vendor . 'select2/select2.min.css', null, '4.0.6-rc.1' );
|
129 |
+
wp_register_script( 'select2-rm', $vendor . 'select2/select2.min.js', null, '4.0.6-rc.1', true );
|
130 |
+
|
131 |
+
rank_math()->add_json( 'hasPremium', \class_exists( '\\RankMath\\Premium' ) );
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Allow other plugins to register styles or scripts into admin after plugin assets.
|
135 |
+
*/
|
136 |
+
$this->do_action( 'admin/register_scripts' );
|
137 |
+
}
|
138 |
+
|
139 |
+
/**
|
140 |
+
* Enqueue Styles and Scripts required by plugin.
|
141 |
+
*/
|
142 |
+
public function enqueue_scripts() {
|
143 |
+
$screen = get_current_screen();
|
144 |
+
|
145 |
+
// Deactivate Survey.
|
146 |
+
if ( in_array( $screen->id, array( 'plugins', 'plugins-network' ) ) ) {
|
147 |
+
wp_enqueue_style( 'rank-math-plugin-feedback' );
|
148 |
+
wp_enqueue_script( 'rank-math-plugin-feedback' );
|
149 |
+
$this->filter( 'admin_footer_text', 'deactivate_feedback_dialog' );
|
150 |
+
}
|
151 |
+
|
152 |
+
// Our screens only.
|
153 |
+
if ( ! in_array( $screen->taxonomy, $this->get_allowed_taxonomies() ) && ! in_array( $screen->id, $this->get_admin_screen_ids() ) ) {
|
154 |
+
return;
|
155 |
+
}
|
156 |
+
|
157 |
+
// Add thank you.
|
158 |
+
$this->filter( 'admin_footer_text', 'admin_footer_text' );
|
159 |
+
|
160 |
+
rank_math()->add_json( 'maxTags', GlobalHelper::is_mythemeshop_connected() ? 5 : 1 );
|
161 |
+
|
162 |
+
/**
|
163 |
+
* Allow other plugins to enqueue styles or scripts into admin after plugin assets.
|
164 |
+
*/
|
165 |
+
$this->do_action( 'admin/enqueue_scripts' );
|
166 |
+
}
|
167 |
+
|
168 |
+
/**
|
169 |
+
* Print icon CSS for admin menu bar.
|
170 |
+
*/
|
171 |
+
public function icon_css() {
|
172 |
+
?>
|
173 |
+
<style>
|
174 |
+
#wp-admin-bar-rank-math .rank-math-icon {
|
175 |
+
display: inline-block;
|
176 |
+
top: 6px;
|
177 |
+
position: relative;
|
178 |
+
padding-right: 10px;
|
179 |
+
max-width: 20px;
|
180 |
+
}
|
181 |
+
#wp-admin-bar-rank-math .rank-math-icon svg {
|
182 |
+
fill-rule: evenodd;
|
183 |
+
fill: #dedede;
|
184 |
+
}
|
185 |
+
#wp-admin-bar-rank-math:hover .rank-math-icon svg {
|
186 |
+
fill-rule: evenodd;
|
187 |
+
fill: #00b9eb;
|
188 |
+
}
|
189 |
+
</style>
|
190 |
+
<?php
|
191 |
+
}
|
192 |
+
|
193 |
+
/**
|
194 |
+
* Overwrite wplink script file.
|
195 |
+
*/
|
196 |
+
public function overwrite_wplink() {
|
197 |
+
|
198 |
+
wp_deregister_script( 'wplink' );
|
199 |
+
wp_register_script( 'wplink', rank_math()->plugin_url() . 'assets/admin/js/wplink.js', array( 'jquery', 'wpdialogs' ), null, true );
|
200 |
+
|
201 |
+
wp_localize_script( 'wplink', 'wpLinkL10n', array(
|
202 |
+
'title' => esc_html__( 'Insert/edit link', 'rank-math' ),
|
203 |
+
'update' => esc_html__( 'Update', 'rank-math' ),
|
204 |
+
'save' => esc_html__( 'Add Link', 'rank-math' ),
|
205 |
+
'noTitle' => esc_html__( '(no title)', 'rank-math' ),
|
206 |
+
'noMatchesFound' => esc_html__( 'No matches found.', 'rank-math' ),
|
207 |
+
'linkSelected' => esc_html__( 'Link selected.', 'rank-math' ),
|
208 |
+
'linkInserted' => esc_html__( 'Link inserted.', 'rank-math' ),
|
209 |
+
'relCheckbox' => __( 'Add <code>rel="nofollow"</code>', 'rank-math' ),
|
210 |
+
'linkTitle' => esc_html__( 'Link Title', 'rank-math' ),
|
211 |
+
) );
|
212 |
+
}
|
213 |
+
|
214 |
+
/**
|
215 |
+
* Register admin pages for plugin.
|
216 |
+
*/
|
217 |
+
public function register_pages() {
|
218 |
+
|
219 |
+
// Dashboard / Welcome / About.
|
220 |
+
new Page( 'rank-math', esc_html__( 'Rank Math', 'rank-math' ), array(
|
221 |
+
'position' => 80,
|
222 |
+
'capability' => 'manage_options',
|
223 |
+
'icon' => 'dashicons-chart-area',
|
224 |
+
'render' => Helper::get_view( 'dashboard' ),
|
225 |
+
'assets' => array(
|
226 |
+
'styles' => array( 'rank-math-dashboard' => '' ),
|
227 |
+
'scripts' => array( 'rank-math-dashboard' => '' ),
|
228 |
+
),
|
229 |
+
'is_network' => GlobalHelper::is_plugin_active_for_network() && is_network_admin(),
|
230 |
+
));
|
231 |
+
|
232 |
+
// Help & Support.
|
233 |
+
new Page( 'rank-math-help', esc_html__( 'Help & Support', 'rank-math' ), array(
|
234 |
+
'position' => 99,
|
235 |
+
'parent' => 'rank-math',
|
236 |
+
'capability' => 'level_1',
|
237 |
+
'render' => Helper::get_view( 'help-manager' ),
|
238 |
+
'assets' => array(
|
239 |
+
'styles' => array( 'rank-math-common' => '' ),
|
240 |
+
'scripts' => array( 'rank-math-common' => '' ),
|
241 |
+
),
|
242 |
+
));
|
243 |
+
}
|
244 |
+
|
245 |
+
/**
|
246 |
+
* Fix first submenu name.
|
247 |
+
*/
|
248 |
+
public function fix_first_submenu() {
|
249 |
+
global $submenu;
|
250 |
+
if ( isset( $submenu['rank-math'] ) ) {
|
251 |
+
if ( current_user_can( 'manage_options' ) && 'Rank Math' === $submenu['rank-math'][0][0] ) {
|
252 |
+
$submenu['rank-math'][0][0] = esc_html__( 'Dashboard', 'rank-math' );
|
253 |
+
} else {
|
254 |
+
unset( $submenu['rank-math'][0] );
|
255 |
+
}
|
256 |
+
|
257 |
+
// Store ID of first_menu item so we can use it in the Admin menu item.
|
258 |
+
set_transient( 'rank_math_first_submenu_id', array_values( $submenu['rank-math'] )[0][2] );
|
259 |
+
}
|
260 |
+
}
|
261 |
+
|
262 |
+
/**
|
263 |
+
* Filter the $contactmethods array and add Facebook, Google+ and Twitter.
|
264 |
+
* These are used with the Facebook author, rel="author" and Twitter cards implementation.
|
265 |
+
*
|
266 |
+
* @param array $contactmethods Currently set contactmethods.
|
267 |
+
* @return array $contactmethods with added contactmethods.
|
268 |
+
*/
|
269 |
+
public function update_contactmethods( $contactmethods ) {
|
270 |
+
$contactmethods['googleplus'] = esc_html__( 'Google+', 'rank-math' );
|
271 |
+
$contactmethods['twitter'] = esc_html__( 'Twitter username (without @)', 'rank-math' );
|
272 |
+
$contactmethods['facebook'] = esc_html__( 'Facebook profile URL', 'rank-math' );
|
273 |
+
|
274 |
+
return $contactmethods;
|
275 |
+
}
|
276 |
+
|
277 |
+
/**
|
278 |
+
* Register dashboard widget.
|
279 |
+
*/
|
280 |
+
public function add_dashboard_widgets() {
|
281 |
+
wp_add_dashboard_widget( 'rank_math_dashboard_widget', esc_html__( 'Rank Math', 'rank-math' ), array( $this, 'render_dashboard_widget' ) );
|
282 |
+
}
|
283 |
+
|
284 |
+
/**
|
285 |
+
* Render dashboard widget.
|
286 |
+
*/
|
287 |
+
public function render_dashboard_widget() {
|
288 |
+
?>
|
289 |
+
<div id="published-posts" class="activity-block">
|
290 |
+
<?php $this->do_action( 'dashboard/widget' ); ?>
|
291 |
+
</div>
|
292 |
+
<?php
|
293 |
+
}
|
294 |
+
|
295 |
+
/**
|
296 |
+
* Display dashabord tabs.
|
297 |
+
*/
|
298 |
+
public function display_dashboard_nav() {
|
299 |
+
$tabs = array(
|
300 |
+
'modules' => array(
|
301 |
+
'url' => '',
|
302 |
+
'args' => 'view=modules',
|
303 |
+
'cap' => 'manage_options',
|
304 |
+
'title' => esc_html__( 'Modules', 'rank-math' ),
|
305 |
+
),
|
306 |
+
'help' => array(
|
307 |
+
'url' => '',
|
308 |
+
'args' => 'view=help',
|
309 |
+
'cap' => 'manage_options',
|
310 |
+
'title' => esc_html__( 'Help', 'rank-math' ),
|
311 |
+
),
|
312 |
+
'wizard' => array(
|
313 |
+
'url' => 'wizard',
|
314 |
+
'args' => '',
|
315 |
+
'cap' => 'manage_options',
|
316 |
+
'title' => esc_html__( 'Setup Wizard', 'rank-math' ),
|
317 |
+
),
|
318 |
+
'import-export' => array(
|
319 |
+
'url' => 'import-export',
|
320 |
+
'args' => '',
|
321 |
+
'cap' => 'manage_options',
|
322 |
+
'title' => esc_html__( 'Import & Export', 'rank-math' ),
|
323 |
+
),
|
324 |
+
);
|
325 |
+
|
326 |
+
if ( GlobalHelper::is_plugin_active_for_network() ) {
|
327 |
+
unset( $tabs['help'] );
|
328 |
+
}
|
329 |
+
|
330 |
+
$current = isset( $_GET['view'] ) ? $_GET['view'] : 'modules';
|
331 |
+
?>
|
332 |
+
<h2 class="nav-tab-wrapper">
|
333 |
+
<?php
|
334 |
+
foreach ( $tabs as $id => $link ) :
|
335 |
+
if ( isset( $link['cap'] ) && ! current_user_can( $link['cap'] ) ) {
|
336 |
+
continue;
|
337 |
+
}
|
338 |
+
?>
|
339 |
+
<a class="nav-tab<?php echo $id === $current ? ' nav-tab-active' : ''; ?>" href="<?php echo esc_url( GlobalHelper::get_admin_url( $link['url'], $link['args'] ) ); ?>" title="<?php echo $link['title']; ?>"><?php echo $link['title']; ?></a>
|
340 |
+
<?php endforeach; ?>
|
341 |
+
</h2>
|
342 |
+
<?php
|
343 |
+
}
|
344 |
+
|
345 |
+
/**
|
346 |
+
* Add footer credit on admin pages.
|
347 |
+
*
|
348 |
+
* @param string $text Default text for admin footer.
|
349 |
+
* @return string
|
350 |
+
*/
|
351 |
+
public function admin_footer_text( $text ) {
|
352 |
+
/* translators: plugin url */
|
353 |
+
return GlobalHelper::is_whitelabel() ? $text : '<em>' . sprintf( wp_kses_post( __( 'Thank you for using <a href="%s" target="_blank">Rank Math</a>', 'rank-math' ) ), 'https://mythemeshop.com/plugins/wordpress-seo/' ) . '</em>';
|
354 |
+
}
|
355 |
+
|
356 |
+
/**
|
357 |
+
* Print deactivate feedback dialog.
|
358 |
+
*/
|
359 |
+
public function deactivate_feedback_dialog() {
|
360 |
+
include_once Helper::get_view( 'feedback-modal' );
|
361 |
+
}
|
362 |
+
|
363 |
+
/**
|
364 |
+
* Show notice when canonical URL is not a valid URL.
|
365 |
+
*
|
366 |
+
* @param int $post_id The post id.
|
367 |
+
*/
|
368 |
+
public function canonical_check_notice( $post_id ) {
|
369 |
+
$post_type = get_post_type( $post_id );
|
370 |
+
if ( ! in_array( $post_type, $this->get_allowed_post_types() ) ) {
|
371 |
+
return $post_id;
|
372 |
+
}
|
373 |
+
|
374 |
+
if ( ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || isset( $_REQUEST['bulk_edit'] ) ) {
|
375 |
+
return $post_id;
|
376 |
+
}
|
377 |
+
|
378 |
+
if ( ! empty( $_POST['rank_math_canonical_url'] ) && false === filter_var( $_POST['rank_math_canonical_url'], FILTER_VALIDATE_URL ) ) {
|
379 |
+
$message = esc_html__( 'The canonical URL you entered does not seem to be a valid URL. Please double check it in the SEO meta box » Advanced tab.', 'rank-math' );
|
380 |
+
rank_math()->add_deferred_error( $message, 'error' );
|
381 |
+
}
|
382 |
+
}
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Save checklist layout.
|
386 |
+
*/
|
387 |
+
public function save_checklist_layout() {
|
388 |
+
|
389 |
+
check_ajax_referer( 'rank-math-ajax-nonce', 'security' );
|
390 |
+
|
391 |
+
if ( empty( $_POST['layout'] ) || ! is_array( $_POST['layout'] ) ) {
|
392 |
+
return;
|
393 |
+
}
|
394 |
+
|
395 |
+
$layout = $_POST['layout'];
|
396 |
+
$allowed = array(
|
397 |
+
'basic' => 1,
|
398 |
+
'advanced' => 1,
|
399 |
+
'title-readability' => 1,
|
400 |
+
'content-readability' => 1,
|
401 |
+
);
|
402 |
+
$layout = array_intersect_key( $layout, $allowed );
|
403 |
+
|
404 |
+
update_user_meta( get_current_user_id(), 'rank_math_metabox_checklist_layout', $layout );
|
405 |
+
exit;
|
406 |
+
}
|
407 |
+
|
408 |
+
/**
|
409 |
+
* Check for registration.
|
410 |
+
*/
|
411 |
+
public function check_registration() {
|
412 |
+
|
413 |
+
$what = isset( $_POST['registration-action'] ) ? $_POST['registration-action'] : false;
|
414 |
+
if ( false === $what ) {
|
415 |
+
return;
|
416 |
+
}
|
417 |
+
|
418 |
+
if ( 'register' === $what ) {
|
419 |
+
Helper::allow_tracking();
|
420 |
+
Helper::register_product( $_POST['connect-username'], $_POST['connect-password'] );
|
421 |
+
}
|
422 |
+
|
423 |
+
if ( 'deregister' === $what ) {
|
424 |
+
Helper::registration_data( false );
|
425 |
+
}
|
426 |
+
}
|
427 |
+
|
428 |
+
/**
|
429 |
+
* Send deactivated feedback to api.
|
430 |
+
*/
|
431 |
+
public function deactivate_feedback() {
|
432 |
+
|
433 |
+
check_ajax_referer( 'rank_math_deactivate_feedback_nonce', 'security' );
|
434 |
+
|
435 |
+
$reason_key = '';
|
436 |
+
$reason_text = '';
|
437 |
+
if ( ! empty( $_POST['reason_key'] ) ) {
|
438 |
+
$reason_key = $_POST['reason_key'];
|
439 |
+
}
|
440 |
+
if ( ! empty( $_POST[ "reason_{$reason_key}" ] ) ) {
|
441 |
+
$reason_text = $_POST[ "reason_{$reason_key}" ];
|
442 |
+
}
|
443 |
+
|
444 |
+
wp_safe_remote_post( 'https://mythemeshop.com/mtsapi/v1/deactivate_feedback', array(
|
445 |
+
'timeout' => 30,
|
446 |
+
'blocking' => false,
|
447 |
+
'sslverify' => false,
|
448 |
+
'cookies' => array(),
|
449 |
+
'headers' => array( 'user-agent' => 'RankMath/' . md5( esc_url( home_url( '/' ) ) ) . ';' ),
|
450 |
+
'body' => array(
|
451 |
+
'product_name' => 'rank-math',
|
452 |
+
'product_version' => rank_math()->get_version(),
|
453 |
+
'site_url' => esc_url( site_url() ),
|
454 |
+
'site_lang' => get_bloginfo( 'language' ),
|
455 |
+
'feedback_key' => $reason_key,
|
456 |
+
'feedback' => $reason_text,
|
457 |
+
),
|
458 |
+
));
|
459 |
+
}
|
460 |
+
|
461 |
+
/**
|
462 |
+
* CHeck if the keyword already used or not.
|
463 |
+
*/
|
464 |
+
public function is_keyword_new() {
|
465 |
+
global $wpdb;
|
466 |
+
|
467 |
+
check_ajax_referer( 'rank-math-ajax-nonce', 'security' );
|
468 |
+
|
469 |
+
$result = array( 'isNew' => true );
|
470 |
+
if ( empty( $_GET['keyword'] ) ) {
|
471 |
+
$this->success( $result );
|
472 |
+
}
|
473 |
+
|
474 |
+
$keyword = $_GET['keyword'];
|
475 |
+
$object_id = $_GET['objectID'];
|
476 |
+
$object_type = $_GET['objectType'];
|
477 |
+
$column_ids = array(
|
478 |
+
'post' => 'ID',
|
479 |
+
'term' => 'term_id',
|
480 |
+
'user' => 'ID',
|
481 |
+
);
|
482 |
+
if ( ! in_array( $object_type, array( 'post', 'term', 'user' ) ) ) {
|
483 |
+
$object_type = 'post';
|
484 |
+
}
|
485 |
+
|
486 |
+
$main = $wpdb->{$object_type . 's'};
|
487 |
+
$meta = $wpdb->{$object_type . 'meta'};
|
488 |
+
|
489 |
+
$query = sprintf( 'select %1$s from %2$s inner join %3$s on %2$s.%1$s = %3$s.%4$s_id where ', $column_ids[ $object_type ], $main, $meta, $object_type );
|
490 |
+
if ( 'post' === $object_type ) {
|
491 |
+
$query .= sprintf( '%s.post_status = \'publish\' and ', $main );
|
492 |
+
}
|
493 |
+
$query .= sprintf( '%1$s.meta_key = \'rank_math_focus_keyword\' and %1$s.meta_value like %2$s and %1$s.%3$s_id != %4$d', $meta, '%s', $object_type, $object_id );
|
494 |
+
|
495 |
+
$data = $wpdb->get_row( $wpdb->prepare( $query, '%' . $wpdb->esc_like( $keyword ) . '%' ) ); // WPCS: unprepared SQL ok.
|
496 |
+
|
497 |
+
$result['isNew'] = empty( $data );
|
498 |
+
|
499 |
+
$this->success( $result );
|
500 |
+
}
|
501 |
+
|
502 |
+
/**
|
503 |
+
* Get admin screen ids.
|
504 |
+
*
|
505 |
+
* @return array
|
506 |
+
*/
|
507 |
+
private function get_admin_screen_ids() {
|
508 |
+
$pages = array(
|
509 |
+
'toplevel_page_rank-math',
|
510 |
+
'rank-math_page_rank-math-role-manager',
|
511 |
+
'rank-math_page_rank-math-seo-analysis',
|
512 |
+
'rank-math_page_rank-math-404-monitor',
|
513 |
+
'rank-math_page_rank-math-redirections',
|
514 |
+
'rank-math_page_rank-math-link-builder',
|
515 |
+
'rank-math_page_rank-math-search-console',
|
516 |
+
'rank-math_page_rank-math-import-export',
|
517 |
+
'rank-math_page_rank-math-help',
|
518 |
+
'user-edit',
|
519 |
+
'profile',
|
520 |
+
);
|
521 |
+
|
522 |
+
return array_merge( $pages, $this->get_allowed_post_types() );
|
523 |
+
}
|
524 |
+
|
525 |
+
/**
|
526 |
+
* Get accessible post types.
|
527 |
+
*
|
528 |
+
* @return array
|
529 |
+
*/
|
530 |
+
public function get_allowed_post_types() {
|
531 |
+
|
532 |
+
if ( ! is_null( $this->allowed_post_types ) ) {
|
533 |
+
return $this->allowed_post_types;
|
534 |
+
}
|
535 |
+
|
536 |
+
$this->allowed_post_types = array();
|
537 |
+
foreach ( GlobalHelper::get_accessible_post_types() as $post_type ) {
|
538 |
+
if ( false === $this->do_filter( 'metabox/add_seo_metabox', GlobalHelper::get_settings( 'titles.pt_' . $post_type . '_add_meta_box', true ) ) ) {
|
539 |
+
continue;
|
540 |
+
}
|
541 |
+
|
542 |
+
$this->allowed_post_types[] = $post_type;
|
543 |
+
}
|
544 |
+
|
545 |
+
return $this->allowed_post_types;
|
546 |
+
}
|
547 |
+
|
548 |
+
/**
|
549 |
+
* Get accessible taxonomies.
|
550 |
+
*
|
551 |
+
* @return array
|
552 |
+
*/
|
553 |
+
public function get_allowed_taxonomies() {
|
554 |
+
|
555 |
+
if ( ! is_null( $this->allowed_taxonomies ) ) {
|
556 |
+
return $this->allowed_taxonomies;
|
557 |
+
}
|
558 |
+
|
559 |
+
$this->allowed_taxonomies = array();
|
560 |
+
foreach ( GlobalHelper::get_accessible_taxonomies() as $taxonomy => $object ) {
|
561 |
+
if ( false === GlobalHelper::get_settings( 'titles.tax_' . $taxonomy . '_add_meta_box' ) ) {
|
562 |
+
continue;
|
563 |
+
}
|
564 |
+
|
565 |
+
$this->allowed_taxonomies[] = $taxonomy;
|
566 |
+
}
|
567 |
+
|
568 |
+
return $this->allowed_taxonomies;
|
569 |
+
}
|
570 |
+
|
571 |
+
/**
|
572 |
+
* Get link suggestions for the current post.
|
573 |
+
*
|
574 |
+
* @param int|WP_Post $post Current post.
|
575 |
+
* @return array
|
576 |
+
*/
|
577 |
+
public function get_link_suggestions( $post ) {
|
578 |
+
global $pagenow;
|
579 |
+
|
580 |
+
if ( 'post-new.php' === $pagenow ) {
|
581 |
+
return;
|
582 |
+
}
|
583 |
+
|
584 |
+
$output = array();
|
585 |
+
$post = get_post( $post );
|
586 |
+
$args = array(
|
587 |
+
'post_type' => $post->post_type,
|
588 |
+
'post__not_in' => array( $post->ID ),
|
589 |
+
'posts_per_page' => 5,
|
590 |
+
'meta_key' => 'rank_math_pillar_content',
|
591 |
+
'meta_value' => 'on',
|
592 |
+
'tax_query' => array( 'relation' => 'OR' ),
|
593 |
+
);
|
594 |
+
|
595 |
+
$taxonomies = GlobalHelper::get_object_taxonomies( $post, 'names' );
|
596 |
+
$exclude_taxonomies = array( 'post_format', 'product_shipping_class' );
|
597 |
+
|
598 |
+
foreach ( $taxonomies as $taxonomy ) {
|
599 |
+
|
600 |
+
if ( GlobalHelper::str_start_with( 'pa_', $taxonomy ) || in_array( $taxonomy, $exclude_taxonomies ) ) {
|
601 |
+
continue;
|
602 |
+
}
|
603 |
+
|
604 |
+
$terms = wp_get_post_terms( $post->ID, $taxonomy, array( 'fields' => 'ids' ) );
|
605 |
+
if ( empty( $terms ) ) {
|
606 |
+
continue;
|
607 |
+
}
|
608 |
+
|
609 |
+
$args['tax_query'][] = array(
|
610 |
+
'taxonomy' => $taxonomy,
|
611 |
+
'field' => 'term_id',
|
612 |
+
'terms' => $terms,
|
613 |
+
);
|
614 |
+
}
|
615 |
+
|
616 |
+
$posts = get_posts( $args );
|
617 |
+
foreach ( $posts as $related_post ) {
|
618 |
+
$item = array(
|
619 |
+
'title' => get_the_title( $related_post->ID ),
|
620 |
+
'url' => get_permalink( $related_post->ID ),
|
621 |
+
'post_id' => $related_post->ID,
|
622 |
+
'focus_keywords' => get_post_meta( $related_post->ID, 'rank_math_focus_keyword', true ),
|
623 |
+
);
|
624 |
+
|
625 |
+
$item['focus_keywords'] = empty( $item['focus_keywords'] ) ? array() : explode( ',', $item['focus_keywords'] );
|
626 |
+
|
627 |
+
$output[] = $item;
|
628 |
+
}
|
629 |
+
|
630 |
+
return $output;
|
631 |
+
}
|
632 |
+
|
633 |
+
/**
|
634 |
+
* Output link suggestions.
|
635 |
+
*
|
636 |
+
* @param array $suggestions Link items.
|
637 |
+
* @return string
|
638 |
+
*/
|
639 |
+
public function get_link_suggestions_html( $suggestions ) {
|
640 |
+
$output = '<div class="rank-math-link-suggestions-content" data-count="' . count( $suggestions ) . '">';
|
641 |
+
|
642 |
+
$is_use_fk = 'focus_keywords' === GlobalHelper::get_settings( 'titles.pt_' . get_post_type() . '_ls_use_fk' );
|
643 |
+
foreach ( $suggestions as $suggestion ) {
|
644 |
+
$label = $suggestion['title'];
|
645 |
+
if ( $is_use_fk && ! empty( $suggestion['focus_keywords'] ) ) {
|
646 |
+
$label = $suggestion['focus_keywords'][0];
|
647 |
+
}
|
648 |
+
|
649 |
+
$output .= sprintf(
|
650 |
+
'<div class="suggestion-item">
|
651 |
+
<div class="suggestion-actions">
|
652 |
+
<span class="dashicons dashicons-clipboard suggestion-copy" title="%5$s" data-clipboard-text="%2$s"></span>
|
653 |
+
<span class="dashicons dashicons-admin-links suggestion-insert" title="%6$s" data-url="%2$s" data-text="%7$s"></span>
|
654 |
+
</div>
|
655 |
+
<span class="suggestion-title" data-fk=\'%1$s\'><a target="_blank" href="%2$s" title="%3$s">%4$s</a></span>
|
656 |
+
</div>',
|
657 |
+
esc_attr( json_encode( $suggestion['focus_keywords'] ) ),
|
658 |
+
$suggestion['url'], $suggestion['title'], $label,
|
659 |
+
esc_attr__( 'Copy Link URL to Clipboard', 'rank-math' ),
|
660 |
+
esc_attr__( 'Insert Link in Content', 'rank-math' ),
|
661 |
+
esc_attr( $label )
|
662 |
+
);
|
663 |
+
}
|
664 |
+
|
665 |
+
$output .= '</div>';
|
666 |
+
|
667 |
+
return $output;
|
668 |
+
}
|
669 |
+
|
670 |
+
/**
|
671 |
+
* Updates the is_configured value.
|
672 |
+
*
|
673 |
+
* @param int $object_id The ID of the current object.
|
674 |
+
* @param string $cmb_id The current box ID.
|
675 |
+
*/
|
676 |
+
public function update_is_configured_value( $object_id, $cmb_id ) {
|
677 |
+
if ( 0 !== strpos( $cmb_id, 'rank_math' ) && 0 !== strpos( $cmb_id, 'rank-math' ) ) {
|
678 |
+
return;
|
679 |
+
}
|
680 |
+
GlobalHelper::is_configured( true );
|
681 |
+
}
|
682 |
+
|
683 |
+
/**
|
684 |
+
* Deactivate plugin.
|
685 |
+
*/
|
686 |
+
public function deactivate_plugins() {
|
687 |
+
check_ajax_referer( 'rank-math-ajax-nonce', 'security' );
|
688 |
+
if ( 'all' !== $_POST['plugin'] ) {
|
689 |
+
deactivate_plugins( $_POST['plugin'] );
|
690 |
+
die( '1' );
|
691 |
+
}
|
692 |
+
|
693 |
+
$detector = new Importers\Detector();
|
694 |
+
$plugins = $detector->get();
|
695 |
+
foreach ( $plugins as $plugin ) {
|
696 |
+
deactivate_plugins( $plugin['file'] );
|
697 |
+
}
|
698 |
+
|
699 |
+
die( '1' );
|
700 |
+
}
|
701 |
+
}
|
includes/admin/class-cmb2-fields.php
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The CMB2 fields for the plugin.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\Traits\Hooker;
|
14 |
+
|
15 |
+
defined( 'ABSPATH' ) || exit;
|
16 |
+
|
17 |
+
/**
|
18 |
+
* CMB2_Fields class.
|
19 |
+
*/
|
20 |
+
class CMB2_Fields {
|
21 |
+
|
22 |
+
use Hooker;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* The Constructor.
|
26 |
+
*/
|
27 |
+
public function __construct() {
|
28 |
+
// CMB2 Custom Fields.
|
29 |
+
if ( ! has_action( 'cmb2_render_switch' ) ) {
|
30 |
+
$this->action( 'cmb2_render_switch', 'render_switch', 10, 5 );
|
31 |
+
}
|
32 |
+
if ( ! has_action( 'cmb2_render_notice' ) ) {
|
33 |
+
$this->action( 'cmb2_render_notice', 'render_notice' );
|
34 |
+
}
|
35 |
+
if ( ! has_action( 'cmb2_render_address' ) ) {
|
36 |
+
$this->action( 'cmb2_render_address', 'render_address', 10, 5 );
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Render switch field.
|
42 |
+
*
|
43 |
+
* @param array $field The passed in `CMB2_Field` object.
|
44 |
+
* @param mixed $escaped_value The value of this field escaped
|
45 |
+
* It defaults to `sanitize_text_field`.
|
46 |
+
* If you need the unescaped value, you can access it
|
47 |
+
* via `$field->value()`.
|
48 |
+
* @param int $object_id The ID of the current object.
|
49 |
+
* @param string $object_type The type of object you are working with.
|
50 |
+
* Most commonly, `post` (this applies to all post-types),
|
51 |
+
* but could also be `comment`, `user` or `options-page`.
|
52 |
+
* @param object $field_type_object This `CMB2_Types` object.
|
53 |
+
*/
|
54 |
+
public function render_switch( $field, $escaped_value, $object_id, $object_type, $field_type_object ) {
|
55 |
+
|
56 |
+
if ( empty( $field->args['options'] ) ) {
|
57 |
+
$field->args['options'] = array(
|
58 |
+
'off' => esc_html( $field->get_string( 'off', __( 'Off', 'rank-math' ) ) ),
|
59 |
+
'on' => esc_html( $field->get_string( 'on', __( 'On', 'rank-math' ) ) ),
|
60 |
+
);
|
61 |
+
}
|
62 |
+
$field->set_options();
|
63 |
+
|
64 |
+
echo $field_type_object->radio_inline();
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Render notices
|
69 |
+
*
|
70 |
+
* @param array $field The passed in `CMB2_Field` object.
|
71 |
+
*/
|
72 |
+
public function render_notice( $field ) {
|
73 |
+
$hash = array(
|
74 |
+
'error' => 'notice notice-alt notice-error error inline',
|
75 |
+
'info' => 'notice notice-alt notice-info info inline',
|
76 |
+
'warning' => 'notice notice-alt notice-warning warning inline',
|
77 |
+
);
|
78 |
+
|
79 |
+
echo '<div class="' . $hash[ $field->args( 'what' ) ] . '"><p>' . $field->args( 'content' ) . '</p></div>';
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Render address field.
|
84 |
+
*
|
85 |
+
* @param array $field The passed in `CMB2_Field` object.
|
86 |
+
* @param mixed $escaped_value The value of this field escaped
|
87 |
+
* It defaults to `sanitize_text_field`.
|
88 |
+
* If you need the unescaped value, you can access it
|
89 |
+
* via `$field->value()`.
|
90 |
+
* @param int $object_id The ID of the current object.
|
91 |
+
* @param string $object_type The type of object you are working with.
|
92 |
+
* Most commonly, `post` (this applies to all post-types),
|
93 |
+
* but could also be `comment`, `user` or `options-page`.
|
94 |
+
* @param object $field_type_object This `CMB2_Types` object.
|
95 |
+
*/
|
96 |
+
public function render_address( $field, $escaped_value, $object_id, $object_type, $field_type_object ) {
|
97 |
+
|
98 |
+
// Make sure we assign each part of the value we need.
|
99 |
+
$value = wp_parse_args( $escaped_value, array(
|
100 |
+
'streetAddress' => '',
|
101 |
+
'addressLocality' => '',
|
102 |
+
'addressRegion' => '',
|
103 |
+
'postalCode' => '',
|
104 |
+
'addressCountry' => '',
|
105 |
+
) );
|
106 |
+
|
107 |
+
$strings = array(
|
108 |
+
'streetAddress' => 'Street Address',
|
109 |
+
'addressLocality' => 'Locality',
|
110 |
+
'addressRegion' => 'Region',
|
111 |
+
'postalCode' => 'Postal Code',
|
112 |
+
'addressCountry' => 'Country',
|
113 |
+
);
|
114 |
+
|
115 |
+
foreach ( array_keys( $value ) as $id ) :
|
116 |
+
echo '<div class="cmb-address-field">' . $field_type_object->input( array(
|
117 |
+
'name' => $field_type_object->_name( '[' . $id . ']' ),
|
118 |
+
'id' => $field_type_object->_id( '_' . $id ),
|
119 |
+
'value' => $value[ $id ],
|
120 |
+
'placeholder' => esc_html( $field->get_string( $id . '_text', $strings[ $id ] ) ),
|
121 |
+
) ) . '</div>';
|
122 |
+
endforeach;
|
123 |
+
}
|
124 |
+
}
|
includes/admin/class-helper.php
ADDED
@@ -0,0 +1,393 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin helper Functions.
|
4 |
+
*
|
5 |
+
* This file contains functions need during the admin screens.
|
6 |
+
*
|
7 |
+
* @since 0.9.0
|
8 |
+
* @package RankMath
|
9 |
+
* @subpackage RankMath\Admin
|
10 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
11 |
+
*/
|
12 |
+
|
13 |
+
namespace RankMath\Admin;
|
14 |
+
|
15 |
+
use RankMath\Helper as GlobalHelper;
|
16 |
+
|
17 |
+
defined( 'ABSPATH' ) || exit;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Helper class.
|
21 |
+
*/
|
22 |
+
class Helper {
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Instantiates the WordPress filesystem for use.
|
26 |
+
*
|
27 |
+
* @return object
|
28 |
+
*/
|
29 |
+
public static function init_filesystem() {
|
30 |
+
|
31 |
+
if ( ! defined( 'FS_METHOD' ) ) {
|
32 |
+
define( 'FS_METHOD', 'direct' );
|
33 |
+
}
|
34 |
+
|
35 |
+
global $wp_filesystem;
|
36 |
+
if ( empty( $wp_filesystem ) ) {
|
37 |
+
require_once ABSPATH . '/wp-admin/includes/file.php';
|
38 |
+
WP_Filesystem();
|
39 |
+
}
|
40 |
+
|
41 |
+
return $wp_filesystem;
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Get robots.txt related data.
|
46 |
+
*
|
47 |
+
* @return array
|
48 |
+
*/
|
49 |
+
public static function get_robots_data() {
|
50 |
+
$wp_filesystem = self::init_filesystem();
|
51 |
+
|
52 |
+
if ( $wp_filesystem->exists( ABSPATH . 'robots.txt' ) ) {
|
53 |
+
return array(
|
54 |
+
'exists' => true,
|
55 |
+
'default' => $wp_filesystem->get_contents( ABSPATH . 'robots.txt' ),
|
56 |
+
);
|
57 |
+
}
|
58 |
+
|
59 |
+
$default = "User-agent: *\n";
|
60 |
+
$public = get_option( 'blog_public' );
|
61 |
+
if ( '0' === $public ) {
|
62 |
+
$default .= "Disallow: /\n";
|
63 |
+
} else {
|
64 |
+
$site_url = parse_url( site_url() );
|
65 |
+
$path = ! empty( $site_url['path'] ) ? $site_url['path'] : '';
|
66 |
+
$default .= "Disallow: $path/wp-admin/\n";
|
67 |
+
$default .= "Allow: $path/wp-admin/admin-ajax.php\n";
|
68 |
+
}
|
69 |
+
|
70 |
+
return array(
|
71 |
+
'exists' => false,
|
72 |
+
'default' => apply_filters( 'robots_txt', $default, $public ),
|
73 |
+
);
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Get htaccess related data.
|
78 |
+
*
|
79 |
+
* @return array
|
80 |
+
*/
|
81 |
+
public static function get_htaccess_data() {
|
82 |
+
$wp_filesystem = self::init_filesystem();
|
83 |
+
|
84 |
+
$file = get_home_path() . '.htaccess';
|
85 |
+
if ( ! $wp_filesystem->exists( $file ) ) {
|
86 |
+
return false;
|
87 |
+
}
|
88 |
+
|
89 |
+
return array(
|
90 |
+
'content' => $wp_filesystem->get_contents( $file ),
|
91 |
+
'writable' => $wp_filesystem->is_writable( $file ),
|
92 |
+
);
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Create htaccess backup.
|
97 |
+
*
|
98 |
+
* @return bool
|
99 |
+
*/
|
100 |
+
public static function do_htaccess_backup() {
|
101 |
+
$wp_filesystem = self::init_filesystem();
|
102 |
+
|
103 |
+
$path = get_home_path();
|
104 |
+
if ( ! $wp_filesystem->is_writable( $path ) ) {
|
105 |
+
return false;
|
106 |
+
}
|
107 |
+
|
108 |
+
$file = $path . '.htaccess';
|
109 |
+
if ( ! $wp_filesystem->exists( $file ) ) {
|
110 |
+
return false;
|
111 |
+
}
|
112 |
+
|
113 |
+
$backup = $path . '.htaccess_back_' . get_option( 'rank_math_htaccess_secret', '' );
|
114 |
+
|
115 |
+
return $wp_filesystem->copy( $file, $backup, true );
|
116 |
+
}
|
117 |
+
|
118 |
+
/**
|
119 |
+
* Update htaccess file.
|
120 |
+
*
|
121 |
+
* @param string $content Htaccess content.
|
122 |
+
* @return string|bool
|
123 |
+
*/
|
124 |
+
public static function do_htaccess_update( $content ) {
|
125 |
+
|
126 |
+
if ( empty( $content ) ) {
|
127 |
+
return false;
|
128 |
+
}
|
129 |
+
|
130 |
+
$wp_filesystem = self::init_filesystem();
|
131 |
+
|
132 |
+
$file = get_home_path() . '.htaccess';
|
133 |
+
if ( ! $wp_filesystem->is_writable( $file ) ) {
|
134 |
+
return false;
|
135 |
+
}
|
136 |
+
|
137 |
+
return $wp_filesystem->put_contents( $file, $content );
|
138 |
+
}
|
139 |
+
|
140 |
+
/**
|
141 |
+
* Get tooltip html.
|
142 |
+
*
|
143 |
+
* @param string $message Message to show in tooltip.
|
144 |
+
* @return string
|
145 |
+
*/
|
146 |
+
public static function get_tooltip( $message ) {
|
147 |
+
return '<span class="rank-math-tooltip"><em class="dashicons-before dashicons-editor-help"></em><span>' . $message . '</span></span>';
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Get admin view file.
|
152 |
+
*
|
153 |
+
* @param string $view View filename.
|
154 |
+
* @return string Complete path to view
|
155 |
+
*/
|
156 |
+
public static function get_view( $view ) {
|
157 |
+
return rank_math()->admin_dir() . "views/{$view}.php";
|
158 |
+
}
|
159 |
+
|
160 |
+
/**
|
161 |
+
* Get taxonomies as choices.
|
162 |
+
*
|
163 |
+
* @param array $args (Optional) Arguments passed to filter list.
|
164 |
+
* @return array|bool
|
165 |
+
*/
|
166 |
+
public static function get_taxonomies_options( $args = array() ) {
|
167 |
+
global $wp_taxonomies;
|
168 |
+
|
169 |
+
$args = wp_parse_args( $args, array(
|
170 |
+
'public' => true,
|
171 |
+
) );
|
172 |
+
|
173 |
+
$taxonomies = wp_filter_object_list( $wp_taxonomies, $args, 'and', 'label' );
|
174 |
+
|
175 |
+
return empty( $taxonomies ) ? false : array( 'off' => esc_html__( 'None', 'rank-math' ) ) + $taxonomies;
|
176 |
+
}
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Get current post type.
|
180 |
+
*
|
181 |
+
* This function has some fallback strategies to get the current screen post type.
|
182 |
+
*
|
183 |
+
* @return string|bool
|
184 |
+
*/
|
185 |
+
public static function get_post_type() {
|
186 |
+
global $post, $typenow, $current_screen, $pagenow;
|
187 |
+
|
188 |
+
if ( $post && $post->post_type ) {
|
189 |
+
return $post->post_type;
|
190 |
+
}
|
191 |
+
|
192 |
+
if ( $typenow ) {
|
193 |
+
return $typenow;
|
194 |
+
}
|
195 |
+
|
196 |
+
if ( $current_screen && $current_screen->post_type ) {
|
197 |
+
return $current_screen->post_type;
|
198 |
+
}
|
199 |
+
|
200 |
+
if ( isset( $_REQUEST['post_type'] ) ) {
|
201 |
+
return sanitize_key( $_REQUEST['post_type'] );
|
202 |
+
}
|
203 |
+
|
204 |
+
if ( isset( $_REQUEST['post_ID'] ) ) {
|
205 |
+
return get_post_type( $_REQUEST['post_ID'] );
|
206 |
+
}
|
207 |
+
|
208 |
+
if ( isset( $_GET['post'] ) ) {
|
209 |
+
return get_post_type( $_GET['post'] );
|
210 |
+
}
|
211 |
+
|
212 |
+
if ( 'post-new.php' === $pagenow ) {
|
213 |
+
return 'post';
|
214 |
+
}
|
215 |
+
|
216 |
+
return false;
|
217 |
+
}
|
218 |
+
|
219 |
+
/**
|
220 |
+
* Registration data get/update.
|
221 |
+
*
|
222 |
+
* @param array|bool|null $data Array of data to save.
|
223 |
+
* @return array
|
224 |
+
*/
|
225 |
+
public static function registration_data( $data = null ) {
|
226 |
+
$key = 'mts_connect_data';
|
227 |
+
|
228 |
+
// Setter.
|
229 |
+
if ( ! is_null( $data ) ) {
|
230 |
+
if ( false === $data ) {
|
231 |
+
update_option( 'rank_math_registration_skip', 1 );
|
232 |
+
return delete_option( $key );
|
233 |
+
}
|
234 |
+
|
235 |
+
return update_option( $key, $data );
|
236 |
+
}
|
237 |
+
|
238 |
+
// Getter.
|
239 |
+
$options = GlobalHelper::is_plugin_active_for_network() ? get_blog_option( get_main_site_id(), $key, false ) : get_option( $key, false );
|
240 |
+
return empty( $options ) ? false : $options;
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Register product routine.
|
245 |
+
*
|
246 |
+
* @param string $username Username for registration.
|
247 |
+
* @param string $password Password for registration.
|
248 |
+
* @return bool
|
249 |
+
*/
|
250 |
+
public static function register_product( $username, $password ) {
|
251 |
+
|
252 |
+
$error = array();
|
253 |
+
$username = ! empty( $username ) ? $username : false;
|
254 |
+
$password = ! empty( $password ) ? $password : false;
|
255 |
+
|
256 |
+
if ( ! $username ) {
|
257 |
+
$error[] = esc_html__( 'Username is not entered.', 'rank-math' );
|
258 |
+
}
|
259 |
+
|
260 |
+
if ( ! $password ) {
|
261 |
+
$error[] = esc_html__( 'Password is not entered.', 'rank-math' );
|
262 |
+
}
|
263 |
+
|
264 |
+
if ( ! empty( $error ) ) {
|
265 |
+
|
266 |
+
foreach ( $error as $e ) {
|
267 |
+
rank_math()->add_deferred_error( $e );
|
268 |
+
}
|
269 |
+
|
270 |
+
return false;
|
271 |
+
}
|
272 |
+
|
273 |
+
$response = wp_remote_post( 'https://mythemeshop.com/mtsapi/v1/get_key/', array(
|
274 |
+
'timeout' => 10,
|
275 |
+
'body' => array(
|
276 |
+
'user' => $username,
|
277 |
+
'pass' => $password,
|
278 |
+
),
|
279 |
+
) );
|
280 |
+
|
281 |
+
$body = wp_remote_retrieve_body( $response );
|
282 |
+
$body = json_decode( $body, true );
|
283 |
+
|
284 |
+
if ( is_wp_error( $response ) || isset( $body['code'] ) ) {
|
285 |
+
$message = is_wp_error( $response ) ? $response->get_error_message() : $body['message'];
|
286 |
+
|
287 |
+
foreach ( (array) $message as $e ) {
|
288 |
+
rank_math()->add_deferred_error( $e );
|
289 |
+
}
|
290 |
+
|
291 |
+
return false;
|
292 |
+
}
|
293 |
+
|
294 |
+
if ( isset( $body['login'] ) ) {
|
295 |
+
|
296 |
+
$data = array();
|
297 |
+
$data['username'] = $body['login'];
|
298 |
+
$data['api_key'] = $body['key'];
|
299 |
+
$data['connected'] = true;
|
300 |
+
|
301 |
+
self::registration_data( $data );
|
302 |
+
rank_math()->add_deferred_error( esc_html__( 'Thank you for connecting Rank Math to your MyThemeShop account.', 'rank-math' ), 'success' );
|
303 |
+
|
304 |
+
return true;
|
305 |
+
}
|
306 |
+
|
307 |
+
return false;
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* Change tracking status.
|
312 |
+
*/
|
313 |
+
public static function allow_tracking() {
|
314 |
+
$allow = 'off';
|
315 |
+
if ( isset( $_POST['rank-math-usage-tracking'] ) ) {
|
316 |
+
$allow = filter_input( INPUT_POST, 'rank-math-usage-tracking', FILTER_VALIDATE_BOOLEAN );
|
317 |
+
$allow = $allow ? 'on' : 'off';
|
318 |
+
}
|
319 |
+
|
320 |
+
$settings = get_option( 'rank-math-options-general' );
|
321 |
+
$settings['usage_tracking'] = $allow;
|
322 |
+
|
323 |
+
update_option( 'rank-math-options-general', $settings );
|
324 |
+
}
|
325 |
+
|
326 |
+
/**
|
327 |
+
* Compare values.
|
328 |
+
*
|
329 |
+
* @param integer $value1 Old value.
|
330 |
+
* @param integer $value2 New Value.
|
331 |
+
* @param bool $percentage Treat as percentage.
|
332 |
+
* @return float
|
333 |
+
*/
|
334 |
+
public static function compare_values( $value1, $value2, $percentage = false ) {
|
335 |
+
$diff = round( ( $value2 - $value1 ), 2 );
|
336 |
+
|
337 |
+
if ( $percentage ) {
|
338 |
+
if ( $value1 ) {
|
339 |
+
$diff = round( ( ( $diff / $value1 ) * 100 ), 2 );
|
340 |
+
if ( ! $value2 ) {
|
341 |
+
$diff = -100;
|
342 |
+
}
|
343 |
+
} elseif ( $value2 ) {
|
344 |
+
$diff = 100;
|
345 |
+
}
|
346 |
+
}
|
347 |
+
|
348 |
+
return (float) $diff;
|
349 |
+
}
|
350 |
+
|
351 |
+
/**
|
352 |
+
* Check if current page is post create/edit screen.
|
353 |
+
*
|
354 |
+
* @return bool
|
355 |
+
*/
|
356 |
+
public static function is_post_edit() {
|
357 |
+
global $pagenow;
|
358 |
+
|
359 |
+
return in_array( $pagenow, array( 'post.php', 'post-new.php' ) );
|
360 |
+
}
|
361 |
+
|
362 |
+
/**
|
363 |
+
* Check if current page is term create/edit screen.
|
364 |
+
*
|
365 |
+
* @return bool
|
366 |
+
*/
|
367 |
+
public static function is_term_edit() {
|
368 |
+
global $pagenow;
|
369 |
+
return ( 'term.php' === $pagenow );
|
370 |
+
}
|
371 |
+
|
372 |
+
/**
|
373 |
+
* Check if current page is user create/edit screen.
|
374 |
+
*
|
375 |
+
* @return bool
|
376 |
+
*/
|
377 |
+
public static function is_user_edit() {
|
378 |
+
global $pagenow;
|
379 |
+
|
380 |
+
return in_array( $pagenow, array( 'profile.php', 'user-edit.php' ) );
|
381 |
+
}
|
382 |
+
|
383 |
+
/**
|
384 |
+
* Check if current page is user or term create/edit screen.
|
385 |
+
*
|
386 |
+
* @return bool
|
387 |
+
*/
|
388 |
+
public static function is_term_profile_page() {
|
389 |
+
global $pagenow;
|
390 |
+
|
391 |
+
return in_array( $pagenow, array( 'term.php', 'profile.php', 'user-edit.php' ) );
|
392 |
+
}
|
393 |
+
}
|
includes/admin/class-import-export.php
ADDED
@@ -0,0 +1,349 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Import Export Class
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\Traits\Hooker;
|
14 |
+
use RankMath\Traits\Ajax;
|
15 |
+
use RankMath\Helper as GlobalHelper;
|
16 |
+
use RankMath\Admin\Importers\Detector;
|
17 |
+
|
18 |
+
defined( 'ABSPATH' ) || exit;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Import_Export class.
|
22 |
+
*/
|
23 |
+
class Import_Export {
|
24 |
+
|
25 |
+
use Hooker, Ajax;
|
26 |
+
|
27 |
+
/**
|
28 |
+
* The Constructor.
|
29 |
+
*/
|
30 |
+
public function __construct() {
|
31 |
+
$this->action( 'init', 'register_page', 1 );
|
32 |
+
$this->action( 'rank_math/importers/settings/pre_import', 'run_backup', 10, 0 );
|
33 |
+
|
34 |
+
$this->ajax( 'create_backup', 'create_backup' );
|
35 |
+
$this->ajax( 'delete_backup', 'delete_backup' );
|
36 |
+
$this->ajax( 'restore_backup', 'restore_backup' );
|
37 |
+
$this->ajax( 'clean_plugin', 'clean_plugin' );
|
38 |
+
$this->ajax( 'import_plugin', 'import_plugin' );
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Register admin pages for plugin.
|
43 |
+
*/
|
44 |
+
public function register_page() {
|
45 |
+
$uri = rank_math()->plugin_url() . 'assets/admin/';
|
46 |
+
new Page( 'rank-math-import-export', esc_html__( 'Import & Export', 'rank-math' ), array(
|
47 |
+
'position' => 99,
|
48 |
+
'parent' => 'rank-math',
|
49 |
+
'render' => Helper::get_view( 'import-export/main' ),
|
50 |
+
'onsave' => array( $this, 'handler' ),
|
51 |
+
'assets' => array(
|
52 |
+
'styles' => array(
|
53 |
+
'cmb2-styles' => '',
|
54 |
+
'rank-math-common' => '',
|
55 |
+
'rank-math-cmb2' => '',
|
56 |
+
),
|
57 |
+
'scripts' => array( 'rank-math-import-export' => $uri . 'js/import-export.js' ),
|
58 |
+
),
|
59 |
+
));
|
60 |
+
|
61 |
+
rank_math()->add_json( 'importConfirm', esc_html__( 'Are you sure you want to import settings into Rank Math? Don\'t worry, your current configuration will be saved as a backup.', 'rank-math' ) );
|
62 |
+
rank_math()->add_json( 'restoreConfirm', esc_html__( 'Are you sure you want to restore this backup? Your current configuration will be overwritten.', 'rank-math' ) );
|
63 |
+
rank_math()->add_json( 'deleteBackupConfirm', esc_html__( 'Are you sure you want to delete this backup?', 'rank-math' ) );
|
64 |
+
rank_math()->add_json( 'cleanPluginConfirm', esc_html__( 'Are you sure you want erase traces of plugin?', 'rank-math' ) );
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Handle import or export.
|
69 |
+
*/
|
70 |
+
public function handler() {
|
71 |
+
|
72 |
+
if ( ! isset( $_POST['object_id'] ) ) {
|
73 |
+
return;
|
74 |
+
}
|
75 |
+
|
76 |
+
if ( 'export-plz' === $_POST['object_id'] ) {
|
77 |
+
$this->export();
|
78 |
+
}
|
79 |
+
|
80 |
+
if ( isset( $_FILES['import-me'] ) && 'import-plz' === $_POST['object_id'] ) {
|
81 |
+
$this->import();
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Handles AJAX plugin run clean.
|
87 |
+
*/
|
88 |
+
public function clean_plugin() {
|
89 |
+
|
90 |
+
$this->verify_nonce( 'rank-math-ajax-nonce' );
|
91 |
+
|
92 |
+
$result = Detector::run_by_slug( $_POST['pluginSlug'], 'cleanup' );
|
93 |
+
|
94 |
+
if ( $result['status'] ) {
|
95 |
+
/* translators: Plugin name */
|
96 |
+
$this->success( sprintf( esc_html__( 'Cleanup of %s data successfully done.', 'rank-math' ), $result['importer']->get_plugin_name() ) );
|
97 |
+
}
|
98 |
+
|
99 |
+
/* translators: Plugin name */
|
100 |
+
$this->error( sprintf( esc_html__( 'Cleanup of %s data failed.', 'rank-math' ), $result['importer']->get_plugin_name() ) );
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Handles AJAX plugin run import.
|
105 |
+
*/
|
106 |
+
public function import_plugin() {
|
107 |
+
|
108 |
+
$this->verify_nonce( 'rank-math-ajax-nonce' );
|
109 |
+
|
110 |
+
$this->has_cap_ajax( 'general' );
|
111 |
+
|
112 |
+
$perform = isset( $_POST['perform'] ) ? $_POST['perform'] : false;
|
113 |
+
if ( ! $perform || ! in_array( $perform, array( 'settings', 'postmeta', 'termmeta', 'usermeta', 'redirections', 'deactivate' ) ) ) {
|
114 |
+
$this->error( esc_html__( 'Action not allowed.', 'rank-math' ) );
|
115 |
+
}
|
116 |
+
|
117 |
+
try {
|
118 |
+
$result = Detector::run_by_slug( $_POST['pluginSlug'], 'import', $perform );
|
119 |
+
$this->success( $result );
|
120 |
+
} catch ( \Exception $e ) {
|
121 |
+
$this->error( $e->getMessage() );
|
122 |
+
}
|
123 |
+
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Handles AJAX create backup.
|
128 |
+
*/
|
129 |
+
public function create_backup() {
|
130 |
+
|
131 |
+
$this->verify_nonce( 'rank-math-ajax-nonce' );
|
132 |
+
|
133 |
+
$key = $this->run_backup();
|
134 |
+
if ( is_null( $key ) ) {
|
135 |
+
$this->error( esc_html__( 'Unable to create backup this time.', 'rank-math' ) );
|
136 |
+
}
|
137 |
+
|
138 |
+
$this->success( array(
|
139 |
+
'key' => $key,
|
140 |
+
/* translators: Backup formatted date */
|
141 |
+
'backup' => sprintf( esc_html__( 'Backup: %s', 'rank-math' ), date( 'M jS Y, H:i a', $key ) ),
|
142 |
+
'message' => esc_html__( 'Backup created successfully.', 'rank-math' ),
|
143 |
+
));
|
144 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Handles AJAX delete backup.
|
148 |
+
*/
|
149 |
+
public function delete_backup() {
|
150 |
+
|
151 |
+
$this->verify_nonce( 'rank-math-ajax-nonce' );
|
152 |
+
|
153 |
+
$key = isset( $_POST['key'] ) ? $_POST['key'] : false; // WPCS: sanitization ok.
|
154 |
+
if ( ! $key ) {
|
155 |
+
$this->error( esc_html__( 'No backup key found to delete.', 'rank-math' ) );
|
156 |
+
}
|
157 |
+
|
158 |
+
$this->run_backup( 'delete', $key );
|
159 |
+
$this->success( esc_html__( 'Backup successfully deleted.', 'rank-math' ) );
|
160 |
+
}
|
161 |
+
|
162 |
+
/**
|
163 |
+
* Handles AJAX restore backup.
|
164 |
+
*/
|
165 |
+
public function restore_backup() {
|
166 |
+
|
167 |
+
$this->verify_nonce( 'rank-math-ajax-nonce' );
|
168 |
+
|
169 |
+
$key = isset( $_POST['key'] ) ? $_POST['key'] : false; // WPCS: sanitization ok.
|
170 |
+
if ( ! $key ) {
|
171 |
+
$this->error( esc_html__( 'No backup key found to restore.', 'rank-math' ) );
|
172 |
+
}
|
173 |
+
|
174 |
+
if ( ! $this->run_backup( 'restore', $key ) ) {
|
175 |
+
$this->error( esc_html__( 'Backup does not exist.', 'rank-math' ) );
|
176 |
+
}
|
177 |
+
|
178 |
+
$this->success( esc_html__( 'Backup restored successfully.', 'rank-math' ) );
|
179 |
+
}
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Run backup actions
|
183 |
+
*
|
184 |
+
* @param string $action Action to perform.
|
185 |
+
* @param array $key Key to backup.
|
186 |
+
* @return mixed
|
187 |
+
*/
|
188 |
+
public function run_backup( $action = 'add', $key = null ) {
|
189 |
+
$backups = get_option( 'rank_math_backups', array() );
|
190 |
+
|
191 |
+
if ( 'add' === $action ) {
|
192 |
+
$key = current_time( 'U' );
|
193 |
+
$backups = array( $key => $this->get_export_data() ) + $backups;
|
194 |
+
} elseif ( 'delete' === $action ) {
|
195 |
+
if ( isset( $backups[ $key ] ) ) {
|
196 |
+
unset( $backups[ $key ] );
|
197 |
+
}
|
198 |
+
} elseif ( 'restore' === $action ) {
|
199 |
+
if ( ! isset( $backups[ $key ] ) ) {
|
200 |
+
return false;
|
201 |
+
}
|
202 |
+
|
203 |
+
$this->do_import_data( $backups[ $key ], true );
|
204 |
+
|
205 |
+
return true;
|
206 |
+
}
|
207 |
+
|
208 |
+
update_option( 'rank_math_backups', $backups );
|
209 |
+
|
210 |
+
return $key;
|
211 |
+
}
|
212 |
+
|
213 |
+
/**
|
214 |
+
* Handle export.
|
215 |
+
*/
|
216 |
+
private function export() {
|
217 |
+
$panels = $_POST['panels'];
|
218 |
+
$data = $this->get_export_data( $panels );
|
219 |
+
$filename = 'rank-math-settings-' . date( 'Y-m-d-H-i-s' ) . '.json';
|
220 |
+
|
221 |
+
header( 'Content-Type: application/txt' );
|
222 |
+
header( 'Content-Disposition: attachment; filename=' . $filename );
|
223 |
+
header( 'Cache-Control: no-cache, no-store, must-revalidate' );
|
224 |
+
header( 'Pragma: no-cache' );
|
225 |
+
header( 'Expires: 0' );
|
226 |
+
|
227 |
+
echo wp_json_encode( $data );
|
228 |
+
exit;
|
229 |
+
}
|
230 |
+
|
231 |
+
/**
|
232 |
+
* Handle import.
|
233 |
+
*/
|
234 |
+
private function import() {
|
235 |
+
|
236 |
+
// Handle file upload.
|
237 |
+
$file = wp_handle_upload( $_FILES['import-me'], array( 'mimes' => array( 'json' => 'application/json' ) ) );
|
238 |
+
if ( is_wp_error( $file ) ) {
|
239 |
+
rank_math()->add_error( esc_html__( 'Settings could not be imported:', 'rank-math' ) . ' ' . $file->get_error_message() );
|
240 |
+
return false;
|
241 |
+
}
|
242 |
+
|
243 |
+
if ( is_array( $file ) && isset( $file['error'] ) ) {
|
244 |
+
rank_math()->add_error( esc_html__( 'Settings could not be imported:', 'rank-math' ) . ' ' . $file['error'] );
|
245 |
+
return false;
|
246 |
+
}
|
247 |
+
|
248 |
+
if ( ! isset( $file['file'] ) ) {
|
249 |
+
rank_math()->add_error( esc_html__( 'Settings could not be imported:', 'rank-math' ) . ' ' . esc_html__( 'Upload failed.', 'rank-math' ) );
|
250 |
+
return false;
|
251 |
+
}
|
252 |
+
|
253 |
+
// Parse Options.
|
254 |
+
$wp_filesystem = Helper::init_filesystem();
|
255 |
+
$settings = $wp_filesystem->get_contents( $file['file'] );
|
256 |
+
$settings = json_decode( $settings, true );
|
257 |
+
|
258 |
+
\unlink( $file['file'] );
|
259 |
+
|
260 |
+
if ( $this->do_import_data( $settings ) ) {
|
261 |
+
rank_math()->add_error( esc_html__( 'Settings successfully imported. Your old configuration has been saved as a backup.', 'rank-math' ), 'success' );
|
262 |
+
return;
|
263 |
+
}
|
264 |
+
|
265 |
+
rank_math()->add_error( esc_html__( 'No settings found to be imported.', 'rank-math' ) );
|
266 |
+
}
|
267 |
+
|
268 |
+
/**
|
269 |
+
* Does import data.
|
270 |
+
*
|
271 |
+
* @param array $data Import data.
|
272 |
+
* @param bool $suppress_hooks Suppress hooks or not.
|
273 |
+
* @return bool
|
274 |
+
*/
|
275 |
+
private function do_import_data( array $data, $suppress_hooks = false ) {
|
276 |
+
|
277 |
+
if ( ! $suppress_hooks ) {
|
278 |
+
/**
|
279 |
+
* Fires before importing settings.
|
280 |
+
*
|
281 |
+
* @since 0.9.0
|
282 |
+
*
|
283 |
+
* @param array $data Import data.
|
284 |
+
*/
|
285 |
+
$this->do_action( 'importers/settings/pre_import', $data );
|
286 |
+
}
|
287 |
+
|
288 |
+
$down = false;
|
289 |
+
$hash = array(
|
290 |
+
'modules' => 'rank_math_modules',
|
291 |
+
'general' => 'rank-math-options-general',
|
292 |
+
'titles' => 'rank-math-options-titles',
|
293 |
+
'sitemap' => 'rank-math-options-sitemap',
|
294 |
+
);
|
295 |
+
foreach ( $hash as $key => $option_key ) {
|
296 |
+
if ( isset( $data[ $key ] ) && ! empty( $data[ $key ] ) ) {
|
297 |
+
$down = true;
|
298 |
+
update_option( $option_key, $data[ $key ] );
|
299 |
+
}
|
300 |
+
}
|
301 |
+
|
302 |
+
// Import capabilities.
|
303 |
+
if ( isset( $data['role-manager'] ) && ! empty( $data['role-manager'] ) ) {
|
304 |
+
$down = true;
|
305 |
+
GlobalHelper::set_capabilities( $data['role-manager'] );
|
306 |
+
}
|
307 |
+
|
308 |
+
if ( ! $suppress_hooks ) {
|
309 |
+
/**
|
310 |
+
* Fires after importing settings.
|
311 |
+
*
|
312 |
+
* @since 0.9.0
|
313 |
+
*
|
314 |
+
* @param array $data Import data.
|
315 |
+
*/
|
316 |
+
$this->do_action( 'importers/settings/after_import', $data );
|
317 |
+
}
|
318 |
+
|
319 |
+
return $down;
|
320 |
+
}
|
321 |
+
|
322 |
+
/**
|
323 |
+
* Gets export data.
|
324 |
+
*
|
325 |
+
* @param array $panels Which panels do you want to export. It will export all panels if this param is empty.
|
326 |
+
* @return array
|
327 |
+
*/
|
328 |
+
private function get_export_data( array $panels = array() ) {
|
329 |
+
if ( ! $panels ) {
|
330 |
+
$panels = array( 'general', 'titles', 'sitemap', 'role-manager' );
|
331 |
+
}
|
332 |
+
|
333 |
+
$settings = rank_math()->settings->all_raw();
|
334 |
+
|
335 |
+
foreach ( $panels as $panel ) {
|
336 |
+
if ( isset( $settings[ $panel ] ) ) {
|
337 |
+
$data[ $panel ] = $settings[ $panel ];
|
338 |
+
}
|
339 |
+
}
|
340 |
+
|
341 |
+
if ( \in_array( 'role-manager', $panels ) ) {
|
342 |
+
$data['role-manager'] = GlobalHelper::get_roles_capabilities();
|
343 |
+
}
|
344 |
+
|
345 |
+
$data['modules'] = rank_math()->manager->get_active_modules();
|
346 |
+
|
347 |
+
return $data;
|
348 |
+
}
|
349 |
+
}
|
includes/admin/class-list-table.php
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The List Table Base CLass
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use WP_List_Table;
|
14 |
+
|
15 |
+
defined( 'ABSPATH' ) || exit;
|
16 |
+
|
17 |
+
/**
|
18 |
+
* List_Table class.
|
19 |
+
*/
|
20 |
+
class List_Table extends WP_List_Table {
|
21 |
+
|
22 |
+
/**
|
23 |
+
* String to use in the class.
|
24 |
+
*
|
25 |
+
* @var array
|
26 |
+
*/
|
27 |
+
public $strings = array();
|
28 |
+
|
29 |
+
/**
|
30 |
+
* The Constructor.
|
31 |
+
*
|
32 |
+
* @param array $args Array of arguments.
|
33 |
+
*/
|
34 |
+
public function __construct( $args = array() ) {
|
35 |
+
parent::__construct( $args );
|
36 |
+
}
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Message to be displayed when there are no items.
|
40 |
+
*/
|
41 |
+
public function no_items() {
|
42 |
+
echo isset( $this->strings['no_items'] ) ? $this->strings['no_items'] : esc_html__( 'No items found.', 'rank-math' );
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Get order setting.
|
47 |
+
*
|
48 |
+
* @return string
|
49 |
+
*/
|
50 |
+
protected function get_order() {
|
51 |
+
return ! empty( $_REQUEST['order'] ) && in_array( $_REQUEST['order'], array( 'desc', 'asc' ) ) ? strtoupper( $_REQUEST['order'] ) : 'DESC';
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Get orderby setting.
|
56 |
+
*
|
57 |
+
* @param string $default (Optional) Extract order by from request.
|
58 |
+
* @return string
|
59 |
+
*/
|
60 |
+
protected function get_orderby( $default = 'create_date' ) {
|
61 |
+
return ! empty( $_GET['orderby'] ) ? filter_input( INPUT_GET, 'orderby', FILTER_SANITIZE_STRING ) : $default;
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Get search query variable.
|
66 |
+
*
|
67 |
+
* @return bool|string
|
68 |
+
*/
|
69 |
+
protected function get_search() {
|
70 |
+
return ! empty( $_REQUEST['s'] ) ? sanitize_text_field( $_REQUEST['s'] ) : '';
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Set column headers.
|
75 |
+
*/
|
76 |
+
protected function set_column_headers() {
|
77 |
+
$this->_column_headers = array(
|
78 |
+
$this->get_columns(),
|
79 |
+
array(),
|
80 |
+
$this->get_sortable_columns(),
|
81 |
+
);
|
82 |
+
}
|
83 |
+
}
|
includes/admin/class-metabox.php
ADDED
@@ -0,0 +1,419 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The metabox functionality of the plugin.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use CMB2_hookup;
|
14 |
+
use RankMath\CMB2;
|
15 |
+
use RankMath\Replace_Vars;
|
16 |
+
use RankMath\Traits\Hooker;
|
17 |
+
use RankMath\Helper as GlobalHelper;
|
18 |
+
|
19 |
+
defined( 'ABSPATH' ) || exit;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Metabox class.
|
23 |
+
*/
|
24 |
+
class Metabox {
|
25 |
+
|
26 |
+
use Hooker;
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Metabox id.
|
30 |
+
*
|
31 |
+
* @var string
|
32 |
+
*/
|
33 |
+
private $metabox_id = 'rank_math_metabox';
|
34 |
+
|
35 |
+
/**
|
36 |
+
* The Constructor.
|
37 |
+
*/
|
38 |
+
public function __construct() {
|
39 |
+
$this->action( 'rank_math/admin/enqueue_scripts', 'enqueue' );
|
40 |
+
$this->action( 'cmb2_admin_init', 'add_main_metabox', 30 );
|
41 |
+
$this->action( 'cmb2_admin_init', 'add_link_suggestion_metabox', 30 );
|
42 |
+
$this->action( 'cmb2_' . CMB2::current_object_type() . '_process_fields_' . $this->metabox_id, 'save_meta' );
|
43 |
+
$this->action( 'cmb2_save_field', 'invalidate_facebook_object_cache', 10, 4 );
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Enqueue Styles and Scripts required for metabox.
|
48 |
+
*/
|
49 |
+
public function enqueue() {
|
50 |
+
|
51 |
+
$screen = get_current_screen();
|
52 |
+
if ( ! in_array( $screen->base, array( 'post', 'term', 'profile', 'user-edit' ) ) ) {
|
53 |
+
return;
|
54 |
+
}
|
55 |
+
|
56 |
+
// Styles.
|
57 |
+
CMB2_hookup::enqueue_cmb_css();
|
58 |
+
Replace_Vars::setup_json();
|
59 |
+
wp_enqueue_style( 'rank-math-metabox', rank_math()->plugin_url() . '/assets/admin/css/metabox.css', array( 'rank-math-common', 'rank-math-cmb2' ), rank_math()->get_version() );
|
60 |
+
|
61 |
+
// JSON data.
|
62 |
+
rank_math()->add_json( 'locale', substr( get_locale(), 0, 2 ) );
|
63 |
+
rank_math()->add_json( 'overlayImages', GlobalHelper::choices_overlay_images() );
|
64 |
+
rank_math()->add_json( 'customPermalinks', (bool) get_option( 'permalink_structure', false ) );
|
65 |
+
rank_math()->add_json( 'defautOgImage', GlobalHelper::get_settings( 'titles.open_graph_image', '' ) );
|
66 |
+
rank_math()->add_json( 'postSettings', array(
|
67 |
+
'linkSuggestions' => GlobalHelper::get_settings( 'titles.pt_' . $screen->post_type . '_link_suggestions' ),
|
68 |
+
'useFocusKeyword' => 'focus_keywords' === GlobalHelper::get_settings( 'titles.pt_' . $screen->post_type . '_ls_use_fk' ),
|
69 |
+
) );
|
70 |
+
|
71 |
+
$js = rank_math()->plugin_url() . 'assets/admin/js/';
|
72 |
+
wp_enqueue_script( 'jquery-caret', rank_math()->plugin_url() . 'assets/vendor/jquery.caret.min.js', array( 'jquery' ), '1.3.3', true );
|
73 |
+
wp_enqueue_script( 'jquery-tag-editor', $js . 'jquery.tag-editor.js', array( 'jquery-ui-autocomplete', 'jquery-caret' ), '1.0.21', true );
|
74 |
+
wp_enqueue_script( 'rank-math-assessor', $js . 'assessor.js', null, rank_math()->get_version(), true );
|
75 |
+
|
76 |
+
if ( Helper::is_post_edit() ) {
|
77 |
+
global $post;
|
78 |
+
rank_math()->add_json( 'objectID', $post->ID );
|
79 |
+
rank_math()->add_json( 'objectType', 'post' );
|
80 |
+
rank_math()->add_json( 'parentDomain', GlobalHelper::get_parent_domain( home_url() ) );
|
81 |
+
rank_math()->add_json( 'noFollowDomains', GlobalHelper::str_to_arr_no_empty( GlobalHelper::get_settings( 'general.nofollow_domains' ) ) );
|
82 |
+
rank_math()->add_json( 'noFollowExcludeDomains', GlobalHelper::str_to_arr_no_empty( GlobalHelper::get_settings( 'general.nofollow_exclude_domains' ) ) );
|
83 |
+
rank_math()->add_json( 'featuredImageNotice', esc_html__( 'The featured image should be at least 200 by 200 pixels to be picked up by Facebook and other social media sites.', 'rank-math' ) );
|
84 |
+
|
85 |
+
wp_enqueue_script( 'rank-math-post-metabox', $js . 'post-metabox.js', array( 'clipboard', 'rank-math-common', 'rank-math-assessor', 'jquery-tag-editor' ), rank_math()->get_version(), true );
|
86 |
+
}
|
87 |
+
|
88 |
+
if ( Helper::is_term_edit() ) {
|
89 |
+
rank_math()->add_json( 'objectID', isset( $_REQUEST['tag_ID'] ) ? absint( $_REQUEST['tag_ID'] ) : 0 );
|
90 |
+
rank_math()->add_json( 'objectType', 'term' );
|
91 |
+
|
92 |
+
wp_enqueue_script( 'rank-math-term-metabox', $js . 'term-metabox.js', array( 'rank-math-common', 'rank-math-assessor', 'jquery-tag-editor' ), rank_math()->get_version(), true );
|
93 |
+
}
|
94 |
+
|
95 |
+
if ( $this->is_user_metabox() && Helper::is_user_edit() ) {
|
96 |
+
global $user_id;
|
97 |
+
rank_math()->add_json( 'objectID', $user_id );
|
98 |
+
rank_math()->add_json( 'objectType', 'user' );
|
99 |
+
|
100 |
+
wp_enqueue_script( 'rank-math-user-metabox', $js . 'user-metabox.js', array( 'rank-math-common', 'rank-math-assessor', 'jquery-tag-editor' ), rank_math()->get_version(), true );
|
101 |
+
}
|
102 |
+
|
103 |
+
$this->assessor();
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* Add main metabox.
|
108 |
+
*/
|
109 |
+
public function add_main_metabox() {
|
110 |
+
|
111 |
+
if (
|
112 |
+
! GlobalHelper::has_cap( 'onpage_general' ) &&
|
113 |
+
! GlobalHelper::has_cap( 'onpage_advanced' ) &&
|
114 |
+
! GlobalHelper::has_cap( 'onpage_snippet' ) &&
|
115 |
+
! GlobalHelper::has_cap( 'onpage_social' )
|
116 |
+
) {
|
117 |
+
return;
|
118 |
+
}
|
119 |
+
|
120 |
+
$taxonomies = rank_math()->admin->get_allowed_taxonomies();
|
121 |
+
$object_types = rank_math()->admin->get_allowed_post_types();
|
122 |
+
|
123 |
+
if ( is_array( $taxonomies ) && ! empty( $taxonomies ) ) {
|
124 |
+
$object_types[] = 'term';
|
125 |
+
$this->description_field_editor();
|
126 |
+
remove_filter( 'pre_term_description', 'wp_filter_kses' );
|
127 |
+
remove_filter( 'term_description', 'wp_kses_data' );
|
128 |
+
}
|
129 |
+
|
130 |
+
if ( $this->is_user_metabox() ) {
|
131 |
+
$object_types[] = 'user';
|
132 |
+
}
|
133 |
+
|
134 |
+
$post_type = isset( $_GET['post_type'] ) ? $_GET['post_type'] : ( isset( $_GET['post'] ) ? get_post_type( $_GET['post'] ) : '' );
|
135 |
+
$priority = 'product' === $post_type ? 'default' : 'high';
|
136 |
+
|
137 |
+
$cmb = new_cmb2_box( array(
|
138 |
+
'id' => $this->metabox_id,
|
139 |
+
'title' => esc_html__( 'Rank Math SEO', 'rank-math' ),
|
140 |
+
'object_types' => $object_types,
|
141 |
+
'taxonomies' => rank_math()->admin->get_allowed_taxonomies(),
|
142 |
+
'new_term_section' => false,
|
143 |
+
'new_user_section' => 'add-existing-user',
|
144 |
+
'context' => 'normal',
|
145 |
+
'priority' => $priority,
|
146 |
+
'cmb_styles' => false,
|
147 |
+
'classes' => 'rank-math-metabox-wrap' . ( Helper::is_term_profile_page() ? ' rank-math-metabox-frame' : '' ),
|
148 |
+
) );
|
149 |
+
|
150 |
+
$tabs = $this->get_tabs();
|
151 |
+
$cmb->add_field( array(
|
152 |
+
'id' => 'setting-panel-container-' . $this->metabox_id,
|
153 |
+
'type' => 'meta_tab_container_open',
|
154 |
+
'tabs' => $tabs,
|
155 |
+
) );
|
156 |
+
|
157 |
+
foreach ( $tabs as $id => $tab ) {
|
158 |
+
|
159 |
+
if ( ! GlobalHelper::has_cap( $tab['capability'] ) ) {
|
160 |
+
continue;
|
161 |
+
}
|
162 |
+
|
163 |
+
$cmb->add_field( array(
|
164 |
+
'id' => 'setting-panel-' . $id,
|
165 |
+
'type' => 'tab_open',
|
166 |
+
) );
|
167 |
+
|
168 |
+
include_once $tab['file'];
|
169 |
+
|
170 |
+
/**
|
171 |
+
* Add setting into specific tab of main metabox.
|
172 |
+
*
|
173 |
+
* The dynamic part of the hook name. $id, is the tab id.
|
174 |
+
*
|
175 |
+
* @param CMB2 $cmb CMB2 object.
|
176 |
+
*/
|
177 |
+
$this->do_action( 'metabox/settings/' . $id, $cmb );
|
178 |
+
|
179 |
+
$cmb->add_field( array(
|
180 |
+
'id' => 'setting-panel-' . $id . '-close',
|
181 |
+
'type' => 'tab_close',
|
182 |
+
) );
|
183 |
+
}
|
184 |
+
|
185 |
+
$cmb->add_field( array(
|
186 |
+
'id' => 'setting-panel-container-close-' . $this->metabox_id,
|
187 |
+
'type' => 'tab_container_close',
|
188 |
+
) );
|
189 |
+
|
190 |
+
CMB2::pre_init( $cmb );
|
191 |
+
}
|
192 |
+
|
193 |
+
/**
|
194 |
+
* Add link suggestion metabox.
|
195 |
+
*/
|
196 |
+
public function add_link_suggestion_metabox() {
|
197 |
+
|
198 |
+
$allowed_post_types = array();
|
199 |
+
foreach ( GlobalHelper::get_accessible_post_types() as $post_type ) {
|
200 |
+
|
201 |
+
if ( false === GlobalHelper::get_settings( 'titles.pt_' . $post_type . '_link_suggestions' ) ) {
|
202 |
+
continue;
|
203 |
+
}
|
204 |
+
|
205 |
+
$allowed_post_types[] = $post_type;
|
206 |
+
}
|
207 |
+
|
208 |
+
// Early Bail!
|
209 |
+
if ( empty( $allowed_post_types ) ) {
|
210 |
+
return;
|
211 |
+
}
|
212 |
+
|
213 |
+
$cmb = new_cmb2_box( array(
|
214 |
+
'id' => $this->metabox_id . '_link_suggestions',
|
215 |
+
'title' => esc_html__( 'Link Suggestions', 'rank-math' ) . Helper::get_tooltip( esc_html__( 'Click on the button to copy URL or insert link in content. You can also drag and drop links in the post content.', 'rank-math' ) ),
|
216 |
+
'object_types' => $allowed_post_types,
|
217 |
+
'context' => 'side',
|
218 |
+
'priority' => 'default',
|
219 |
+
) );
|
220 |
+
|
221 |
+
$cmb->add_field( array(
|
222 |
+
'id' => 'rank_math_social_tabs',
|
223 |
+
'type' => 'raw',
|
224 |
+
'file' => rank_math()->includes_dir() . 'metaboxes/link-suggestions.php',
|
225 |
+
'not_found' => '<em><small>' . esc_html__( 'We can\'t show any link suggestions for this post. Try selecting categories and tags for this post, and mark other posts as Pillar Content to make them show up here.', 'rank-math' ) . '</small></em>',
|
226 |
+
) );
|
227 |
+
|
228 |
+
CMB2::pre_init( $cmb );
|
229 |
+
}
|
230 |
+
|
231 |
+
/**
|
232 |
+
* Adds custom category description editor.
|
233 |
+
*
|
234 |
+
* @return {void}
|
235 |
+
*/
|
236 |
+
private function description_field_editor() {
|
237 |
+
$taxonomy = filter_input( INPUT_GET, 'taxonomy', FILTER_DEFAULT, array( 'options' => array( 'default' => '' ) ) );
|
238 |
+
$taxonomy_object = get_taxonomy( $taxonomy );
|
239 |
+
if ( empty( $taxonomy_object ) || empty( $taxonomy_object->public ) ) {
|
240 |
+
return;
|
241 |
+
}
|
242 |
+
|
243 |
+
$this->action( "{$taxonomy}_edit_form_fields", 'category_description_editor' );
|
244 |
+
}
|
245 |
+
|
246 |
+
/**
|
247 |
+
* Output the WordPress editor.
|
248 |
+
*
|
249 |
+
* @param object $term Current taxonomy term object.
|
250 |
+
*/
|
251 |
+
public function category_description_editor( $term ) {
|
252 |
+
?>
|
253 |
+
<tr class="form-field term-description-wrap rank-math-term-description-wrap">
|
254 |
+
<th scope="row"><label for="description"><?php esc_html_e( 'Description', 'rank-math' ); ?></label></th>
|
255 |
+
<td>
|
256 |
+
<?php
|
257 |
+
wp_editor( html_entity_decode( $term->description, ENT_QUOTES, 'UTF-8' ), 'description', array(
|
258 |
+
'textarea_rows' => 5,
|
259 |
+
'quicktags' => false,
|
260 |
+
) );
|
261 |
+
?>
|
262 |
+
<p class="description"><?php esc_html_e( 'The description is not prominent by default; however, some themes may show it.', 'rank-math' ); ?></p>
|
263 |
+
</td>
|
264 |
+
</tr>
|
265 |
+
<?php
|
266 |
+
}
|
267 |
+
|
268 |
+
/**
|
269 |
+
* Save post meta handler.
|
270 |
+
*
|
271 |
+
* @param CMB2 $cmb CMB2 metabox object.
|
272 |
+
*/
|
273 |
+
public function save_meta( $cmb ) {
|
274 |
+
|
275 |
+
if ( 'on' === $cmb->data_to_save['rank_math_use_default_robots'] ) {
|
276 |
+
unset( $cmb->data_to_save['rank_math_robots'] );
|
277 |
+
}
|
278 |
+
|
279 |
+
/**
|
280 |
+
* Hook into save handler for main metabox.
|
281 |
+
*
|
282 |
+
* @param CMB2 $cmb CMB2 object.
|
283 |
+
*/
|
284 |
+
$this->do_action( 'metabox/process_fields', $cmb );
|
285 |
+
}
|
286 |
+
|
287 |
+
/**
|
288 |
+
* Invalidate facebook object cache for the post.
|
289 |
+
*
|
290 |
+
* @param string $field_id The current field id paramater.
|
291 |
+
* @param bool $updated Whether the metadata update action occurred.
|
292 |
+
* @param string $action Action performed. Could be "repeatable", "updated", or "removed".
|
293 |
+
* @param CMB2_Field $field This field object.
|
294 |
+
*/
|
295 |
+
public function invalidate_facebook_object_cache( $field_id, $updated, $action, $field ) {
|
296 |
+
|
297 |
+
// Early Bail!
|
298 |
+
if ( ! in_array( $field_id, array( 'rank_math_facebook_title', 'rank_math_facebook_image', 'rank_math_facebook_description' ) ) || ! $updated ) {
|
299 |
+
return;
|
300 |
+
}
|
301 |
+
|
302 |
+
$app_id = GlobalHelper::get_settings( 'titles.facebook_app_id' );
|
303 |
+
$secret = GlobalHelper::get_settings( 'titles.facebook_secret' );
|
304 |
+
|
305 |
+
// Early Bail!
|
306 |
+
if ( ! $app_id || ! $secret ) {
|
307 |
+
return;
|
308 |
+
}
|
309 |
+
|
310 |
+
wp_remote_post( 'https://graph.facebook.com/', array(
|
311 |
+
'body' => array(
|
312 |
+
'id' => get_permalink( $field->object_id() ),
|
313 |
+
'scrape' => true,
|
314 |
+
'access_token' => $app_id . '|' . $secret,
|
315 |
+
),
|
316 |
+
) );
|
317 |
+
}
|
318 |
+
|
319 |
+
/**
|
320 |
+
* Get tabs.
|
321 |
+
*
|
322 |
+
* @return array
|
323 |
+
*/
|
324 |
+
private function get_tabs() {
|
325 |
+
|
326 |
+
$tabs = array(
|
327 |
+
'general' => array(
|
328 |
+
'icon' => 'dashicons dashicons-admin-generic',
|
329 |
+
'title' => esc_html__( 'General', 'rank-math' ),
|
330 |
+
'desc' => esc_html__( 'This tab contains general options.', 'rank-math' ),
|
331 |
+
'file' => rank_math()->includes_dir() . 'metaboxes/general.php',
|
332 |
+
'capability' => 'onpage_general',
|
333 |
+
),
|
334 |
+
'advanced' => array(
|
335 |
+
'icon' => 'dashicons dashicons-admin-tools',
|
336 |
+
'title' => esc_html__( 'Advanced', 'rank-math' ),
|
337 |
+
'desc' => esc_html__( 'This tab contains advance options.', 'rank-math' ),
|
338 |
+
'file' => rank_math()->includes_dir() . 'metaboxes/advanced.php',
|
339 |
+
'capability' => 'onpage_advanced',
|
340 |
+
),
|
341 |
+
'social' => array(
|
342 |
+
'icon' => 'dashicons dashicons-share',
|
343 |
+
'title' => esc_html__( 'Social', 'rank-math' ),
|
344 |
+
'desc' => esc_html__( 'This tab contains social options.', 'rank-math' ),
|
345 |
+
'file' => rank_math()->includes_dir() . 'metaboxes/social.php',
|
346 |
+
'capability' => 'onpage_social',
|
347 |
+
),
|
348 |
+
);
|
349 |
+
|
350 |
+
/**
|
351 |
+
* Allow developers to add new tabs into main metabox.
|
352 |
+
*
|
353 |
+
* @param array $tabs Array of tabs.
|
354 |
+
*/
|
355 |
+
return $this->do_filter( 'metabox/tabs', $tabs );
|
356 |
+
}
|
357 |
+
|
358 |
+
/**
|
359 |
+
* Is user metabox enabled.
|
360 |
+
*
|
361 |
+
* @return bool
|
362 |
+
*/
|
363 |
+
private function is_user_metabox() {
|
364 |
+
return ( false === GlobalHelper::get_settings( 'titles.disable_author_archives' ) && GlobalHelper::get_settings( 'titles.author_add_meta_box' ) );
|
365 |
+
}
|
366 |
+
|
367 |
+
/**
|
368 |
+
* Assessor data
|
369 |
+
*/
|
370 |
+
private function assessor() {
|
371 |
+
$data = array(
|
372 |
+
'powerWords' => $this->power_words(),
|
373 |
+
'hasTOCPlugin' => $this->has_toc_plugin(),
|
374 |
+
);
|
375 |
+
|
376 |
+
rank_math()->add_json( 'assessor', $data );
|
377 |
+
}
|
378 |
+
|
379 |
+
/**
|
380 |
+
* Return power words
|
381 |
+
*
|
382 |
+
* @return array
|
383 |
+
*/
|
384 |
+
private function power_words() {
|
385 |
+
$words = include_once rank_math()->plugin_dir() . 'assets/vendor/powerwords.php';
|
386 |
+
return $this->do_filter( 'metabox/power_words', $words );
|
387 |
+
}
|
388 |
+
|
389 |
+
/**
|
390 |
+
* Check if any TOC plugin detected
|
391 |
+
*
|
392 |
+
* @return bool
|
393 |
+
*/
|
394 |
+
private function has_toc_plugin() {
|
395 |
+
$plugins_found = array();
|
396 |
+
$active_plugins = get_option( 'active_plugins' );
|
397 |
+
$toc_plugins = array(
|
398 |
+
'cm-table-of-content/cm-table-of-content.php' => 'CM Table Of Contents',
|
399 |
+
'easy-table-of-contents/easy-table-of-contents.php' => 'Easy Table of Contents',
|
400 |
+
'fx-toc/fx-toc.php' => 'f(x) TOC',
|
401 |
+
'hm-content-toc/hm-content-toc.php' => 'HM Content TOC',
|
402 |
+
'shortcodes-ultimate/shortcodes-ultimate.php' => 'Shortcodes Ultimate',
|
403 |
+
'bainternet-simple-toc/simple-toc.php' => 'Simple TOC',
|
404 |
+
'content-table/content-table.php' => 'Table of content',
|
405 |
+
'table-of-contents-plus/toc.php' => 'Table of Contents Plus',
|
406 |
+
'wp-shortcode/wp-shortcode.php' => 'WP Shortcode by MyThemeShop',
|
407 |
+
'wp-shortcode-pro/wp-shortcode-pro.php' => 'WP Shortcode Pro by MyThemeShop',
|
408 |
+
'thrive-visual-editor/thrive-visual-editor.php' => 'Thrive Architect',
|
409 |
+
);
|
410 |
+
|
411 |
+
foreach ( $toc_plugins as $plugin_slug => $plugin_name ) {
|
412 |
+
if ( in_array( $plugin_slug, $active_plugins ) !== false ) {
|
413 |
+
$plugins_found[ $plugin_slug ] = $plugin_name;
|
414 |
+
}
|
415 |
+
}
|
416 |
+
|
417 |
+
return empty( $plugins_found ) ? false : $plugins_found;
|
418 |
+
}
|
419 |
+
}
|
includes/admin/class-notices.php
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The admin notices.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\Traits\Ajax;
|
14 |
+
use RankMath\Traits\Hooker;
|
15 |
+
use RankMath\Helper as GlobalHelper;
|
16 |
+
|
17 |
+
defined( 'ABSPATH' ) || exit;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Notices class.
|
21 |
+
*/
|
22 |
+
class Notices {
|
23 |
+
|
24 |
+
use Hooker, Ajax;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* The Constructor.
|
28 |
+
*/
|
29 |
+
public function __construct() {
|
30 |
+
$this->action( 'admin_init', 'notices' );
|
31 |
+
$this->ajax( 'notice_dismissible', 'notice_dismissible' );
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Run all notices routine
|
36 |
+
*/
|
37 |
+
public function notices() {
|
38 |
+
$this->is_plugin_configured();
|
39 |
+
$this->new_post_type();
|
40 |
+
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Notice dismissal
|
44 |
+
*/
|
45 |
+
public function notice_dismissible() {
|
46 |
+
|
47 |
+
$this->verify_nonce( 'rank-math-ajax-nonce' );
|
48 |
+
|
49 |
+
$which = explode( ',', $_POST['dismiss'] );
|
50 |
+
$dismissed = (array) get_option( 'rank_math_dismissed_notices' );
|
51 |
+
foreach ( $which as $id ) {
|
52 |
+
if ( 'new_post_type' === $id ) {
|
53 |
+
$current = get_post_types( array( 'public' => true ) );
|
54 |
+
update_option( 'rank_math_known_post_types', $current );
|
55 |
+
} else {
|
56 |
+
$dismissed[ $id ] = true;
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
update_option( 'rank_math_dismissed_notices', $dismissed );
|
61 |
+
|
62 |
+
$this->success( 'done' );
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* If plugin configuration not done
|
67 |
+
*/
|
68 |
+
private function is_plugin_configured() {
|
69 |
+
if ( isset( $_GET['page'] ) && 'mts-install-plugins' === $_GET['page'] ) {
|
70 |
+
return;
|
71 |
+
}
|
72 |
+
|
73 |
+
$dismissed = get_option( 'rank_math_dismissed_notices', array() );
|
74 |
+
if ( ! isset( $dismissed['config'] ) && ! GlobalHelper::is_configured() ) {
|
75 |
+
$message = sprintf(
|
76 |
+
'<b>Warning!</b> You didn\'t set up your Rank Math SEO plugin yet, which means you\'re missing out on essential settings and tweaks! <a href="%s">Complete your setup by clicking here.</a>',
|
77 |
+
GlobalHelper::get_admin_url( 'wizard' )
|
78 |
+
);
|
79 |
+
rank_math()->add_error( $message, 'warning', 'config' );
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* If any new post type detected
|
85 |
+
*/
|
86 |
+
private function new_post_type() {
|
87 |
+
$known = get_option( 'rank_math_known_post_types', array() );
|
88 |
+
$current = GlobalHelper::get_accessible_post_types();
|
89 |
+
$new = array_diff( $current, $known );
|
90 |
+
|
91 |
+
if ( empty( $new ) ) {
|
92 |
+
return;
|
93 |
+
}
|
94 |
+
|
95 |
+
$list = implode( ', ', $new );
|
96 |
+
/* translators: post names */
|
97 |
+
$message = $this->do_filter( 'admin/notice/new_post_type', __( 'We detected new post type(s) (%1$s), and you would want to check the settings of <a href="%2$s">Titles & Meta page</a>.', 'rank-math' ) );
|
98 |
+
$message = sprintf( wp_kses_post( $message ), $list, GlobalHelper::get_admin_url( 'options-titles#setting-panel-post-type-' . key( $new ) ), GlobalHelper::get_admin_url( 'options-sitemap#setting-panel-sitemap-post-type-' . key( $new ) ) );
|
99 |
+
rank_math()->add_error( $message, 'info', 'new_post_type' );
|
100 |
+
}
|
101 |
+
}
|
includes/admin/class-options.php
ADDED
@@ -0,0 +1,322 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The option page functionality of the plugin.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use WP_Http;
|
14 |
+
use CMB2_hookup;
|
15 |
+
use RankMath\CMB2;
|
16 |
+
use RankMath\Replace_Vars;
|
17 |
+
use RankMath\Traits\Hooker;
|
18 |
+
use RankMath\Helper as GlobalHelper;
|
19 |
+
|
20 |
+
defined( 'ABSPATH' ) || exit;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Options class.
|
24 |
+
*/
|
25 |
+
class Options {
|
26 |
+
|
27 |
+
use Hooker;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Page title.
|
31 |
+
*
|
32 |
+
* @var string
|
33 |
+
*/
|
34 |
+
public $title = 'Settings';
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Menu title.
|
38 |
+
*
|
39 |
+
* @var string
|
40 |
+
*/
|
41 |
+
public $menu_title = 'Settings';
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Hold tabs for page.
|
45 |
+
*
|
46 |
+
* @var array
|
47 |
+
*/
|
48 |
+
public $tabs = array();
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Hold folder name for tab files.
|
52 |
+
*
|
53 |
+
* @var string
|
54 |
+
*/
|
55 |
+
public $folder = '';
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Menu Position.
|
59 |
+
*
|
60 |
+
* @var int
|
61 |
+
*/
|
62 |
+
public $position = 10;
|
63 |
+
|
64 |
+
/**
|
65 |
+
* The capability required for this menu to be displayed to the user.
|
66 |
+
*
|
67 |
+
* @var string
|
68 |
+
*/
|
69 |
+
public $capability = 'manage_options';
|
70 |
+
|
71 |
+
/**
|
72 |
+
* CMB2 option page id.
|
73 |
+
*
|
74 |
+
* @var string
|
75 |
+
*/
|
76 |
+
private $cmb_id = null;
|
77 |
+
|
78 |
+
/**
|
79 |
+
* The Constructor
|
80 |
+
*
|
81 |
+
* @param array $config Array of configuration.
|
82 |
+
*/
|
83 |
+
public function __construct( $config ) {
|
84 |
+
|
85 |
+
$this->config( $config );
|
86 |
+
$this->cmb_id = $this->key . '_options';
|
87 |
+
|
88 |
+
$this->action( 'cmb2_admin_init', 'register_option_metabox', $this->position );
|
89 |
+
$this->action( 'admin_post_' . $this->key, 'reset_options', 2 );
|
90 |
+
|
91 |
+
if ( true === empty( get_option( $this->key ) ) ) {
|
92 |
+
$this->action( 'cmb2_init_hookup_' . $this->cmb_id, 'set_defaults', 11 );
|
93 |
+
}
|
94 |
+
|
95 |
+
if ( ! $this->is_current_page() ) {
|
96 |
+
return;
|
97 |
+
}
|
98 |
+
|
99 |
+
$this->action( 'admin_enqueue_scripts', 'enqueue' );
|
100 |
+
$this->action( 'admin_body_class', 'body_class' );
|
101 |
+
add_action( 'admin_enqueue_scripts', array( 'CMB2_hookup', 'enqueue_cmb_css' ), 25 );
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Create option object and add settings
|
106 |
+
*/
|
107 |
+
function register_option_metabox() {
|
108 |
+
|
109 |
+
$cmb = new_cmb2_box( array(
|
110 |
+
'id' => $this->cmb_id,
|
111 |
+
'title' => $this->title,
|
112 |
+
'menu_title' => $this->menu_title,
|
113 |
+
'capability' => $this->capability,
|
114 |
+
'object_types' => array( 'options-page' ),
|
115 |
+
'option_key' => $this->key,
|
116 |
+
'parent_slug' => 'rank-math',
|
117 |
+
'cmb_styles' => false,
|
118 |
+
'display_cb' => array( $this, 'display' ),
|
119 |
+
) );
|
120 |
+
|
121 |
+
$tabs = $this->get_tabs();
|
122 |
+
$cmb->add_field( array(
|
123 |
+
'id' => 'setting-panel-container-' . $this->cmb_id,
|
124 |
+
'type' => 'tab_container_open',
|
125 |
+
'tabs' => $tabs,
|
126 |
+
) );
|
127 |
+
|
128 |
+
foreach ( $tabs as $id => $tab ) {
|
129 |
+
$located = $this->locate_file( $id, $tab );
|
130 |
+
if ( false === $located ) {
|
131 |
+
continue;
|
132 |
+
}
|
133 |
+
|
134 |
+
$cmb->add_field( array(
|
135 |
+
'name' => esc_html__( 'Panel', 'rank-math' ),
|
136 |
+
'id' => 'setting-panel-' . $id,
|
137 |
+
'type' => 'tab_open',
|
138 |
+
) );
|
139 |
+
|
140 |
+
$cmb->add_field( array(
|
141 |
+
'id' => $id . '_section_title',
|
142 |
+
'type' => 'title',
|
143 |
+
'name' => isset( $tab['page_title'] ) ? $tab['page_title'] : ( isset( $tab['title'] ) ? $tab['title'] : '' ),
|
144 |
+
'desc' => isset( $tab['desc'] ) ? $tab['desc'] : '',
|
145 |
+
'after' => isset( $tab['after'] ) ? $tab['after'] : '',
|
146 |
+
'classes' => 'main',
|
147 |
+
) );
|
148 |
+
|
149 |
+
include $located;
|
150 |
+
|
151 |
+
$cmb->add_field( array(
|
152 |
+
'id' => 'setting-panel-' . $id . '-close',
|
153 |
+
'type' => 'tab_close',
|
154 |
+
) );
|
155 |
+
}
|
156 |
+
|
157 |
+
$cmb->add_field( array(
|
158 |
+
'id' => 'setting-panel-container-close-' . $this->cmb_id,
|
159 |
+
'type' => 'tab_container_close',
|
160 |
+
) );
|
161 |
+
|
162 |
+
CMB2::pre_init( $cmb );
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Set the default values if not set
|
167 |
+
*
|
168 |
+
* @param CMB2 $cmb The CMB2 object to hookup.
|
169 |
+
*/
|
170 |
+
public function set_defaults( $cmb ) {
|
171 |
+
foreach ( $cmb->prop( 'fields' ) as $id => $field_args ) {
|
172 |
+
$field = $cmb->get_field( $id );
|
173 |
+
if ( isset( $field_args['default'] ) || isset( $field_args['default_cb'] ) ) {
|
174 |
+
$defaults[ $id ] = $field->get_default();
|
175 |
+
}
|
176 |
+
}
|
177 |
+
|
178 |
+
// Save Defaults if any.
|
179 |
+
if ( ! empty( $defaults ) ) {
|
180 |
+
add_option( $this->key, $defaults );
|
181 |
+
}
|
182 |
+
}
|
183 |
+
|
184 |
+
/**
|
185 |
+
* Reset options
|
186 |
+
*/
|
187 |
+
public function reset_options() {
|
188 |
+
$url = wp_get_referer();
|
189 |
+
if ( ! $url ) {
|
190 |
+
$url = admin_url();
|
191 |
+
}
|
192 |
+
|
193 |
+
if ( isset( $_POST['reset-cmb'], $_POST['action'] ) && $this->key === $_POST['action'] ) {
|
194 |
+
delete_option( $this->key );
|
195 |
+
wp_safe_redirect( esc_url_raw( $url ), WP_Http::SEE_OTHER );
|
196 |
+
exit;
|
197 |
+
}
|
198 |
+
}
|
199 |
+
|
200 |
+
/**
|
201 |
+
* Enqueue styles and scripts
|
202 |
+
*/
|
203 |
+
public function enqueue() {
|
204 |
+
$screen = get_current_screen();
|
205 |
+
|
206 |
+
if ( ! GlobalHelper::str_contains( $this->key, $screen->id ) ) {
|
207 |
+
return;
|
208 |
+
}
|
209 |
+
|
210 |
+
CMB2_hookup::enqueue_cmb_css();
|
211 |
+
Replace_Vars::setup_json();
|
212 |
+
wp_enqueue_style( 'font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', null, rank_math()->get_version() );
|
213 |
+
wp_enqueue_style( 'rank-math-options', rank_math()->plugin_url() . 'assets/admin/css/option-panel.css', array( 'select2-rm', 'rank-math-common', 'rank-math-cmb2' ), rank_math()->get_version() );
|
214 |
+
wp_enqueue_script( 'rank-math-options', rank_math()->plugin_url() . 'assets/admin/js/option-panel.js', array( 'underscore', 'select2-rm', 'rank-math-common' ), rank_math()->get_version(), true );
|
215 |
+
|
216 |
+
// Add thank you.
|
217 |
+
add_filter( 'admin_footer_text', array( rank_math()->admin, 'admin_footer_text' ) );
|
218 |
+
rank_math()->add_json( 'indexUrl', rank_math()->plugin_url() . 'assets/admin/js/search-index/' );
|
219 |
+
rank_math()->add_json( 'optionPage', str_replace( 'rank-math-options-', '', $this->key ) );
|
220 |
+
}
|
221 |
+
|
222 |
+
/**
|
223 |
+
* Add classes to <body> of WordPress admin
|
224 |
+
*
|
225 |
+
* @param string $classes Space-separated list of CSS classes.
|
226 |
+
* @return string
|
227 |
+
*/
|
228 |
+
public function body_class( $classes = '' ) {
|
229 |
+
return $classes . ' rank-math-page';
|
230 |
+
}
|
231 |
+
|
232 |
+
/**
|
233 |
+
* Display Setting on a page
|
234 |
+
*
|
235 |
+
* @param CMB2_Options $machine CUrrent CMB2 box object.
|
236 |
+
*/
|
237 |
+
public function display( $machine ) {
|
238 |
+
$cmb = $machine->cmb;
|
239 |
+
?>
|
240 |
+
<div class="wrap rank-math-wrap rank-math-wrap-settings">
|
241 |
+
|
242 |
+
<span class="wp-header-end"></span>
|
243 |
+
|
244 |
+
<div class="rank-math-search-options">
|
245 |
+
<div class="search-field">
|
246 |
+
<i class="dashicons dashicons-search"></i>
|
247 |
+
<input type="text" value="" placeholder="<?php esc_attr_e( 'Search Options', 'rank-math' ); ?>">
|
248 |
+
<em class="clear-search dashicons dashicons-no-alt"></em>
|
249 |
+
</div>
|
250 |
+
<select>
|
251 |
+
<option value="general"><?php esc_html_e( 'General Settings', 'rank-math' ); ?></option>
|
252 |
+
<option value="titles"><?php esc_html_e( 'Titles Settings', 'rank-math' ); ?></option>
|
253 |
+
<option value="sitemap"><?php esc_html_e( 'Sitemap Settings', 'rank-math' ); ?></option>
|
254 |
+
</select>
|
255 |
+
</div>
|
256 |
+
|
257 |
+
<h1 class="page-title"><?php echo esc_html( get_admin_page_title() ); ?></h1>
|
258 |
+
|
259 |
+
<form class="cmb-form" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>" method="POST" id="<?php echo $cmb->cmb_id; ?>" enctype="multipart/form-data" encoding="multipart/form-data">
|
260 |
+
|
261 |
+
<input type="hidden" name="action" value="<?php echo esc_attr( $machine->option_key ); ?>">
|
262 |
+
<?php $machine->options_page_metabox(); ?>
|
263 |
+
|
264 |
+
<footer class="form-footer rank-math-ui settings-footer wp-clearfix">
|
265 |
+
<input type="submit" name="reset-cmb" id="rank-math-reset-cmb" value="Reset Options" class="button button-secondary button-xlarge reset-options alignleft">
|
266 |
+
<input type="submit" name="submit-cmb" id="submit-cmb" class="button button-primary button-xlarge save-options" value="Save Changes">
|
267 |
+
</footer>
|
268 |
+
|
269 |
+
</form>
|
270 |
+
|
271 |
+
</div>
|
272 |
+
|
273 |
+
<?php
|
274 |
+
}
|
275 |
+
|
276 |
+
/**
|
277 |
+
* Is the page is currrent page
|
278 |
+
*
|
279 |
+
* @return bool
|
280 |
+
*/
|
281 |
+
public function is_current_page() {
|
282 |
+
$page = isset( $_REQUEST['page'] ) && ! empty( $_REQUEST['page'] ) ? $_REQUEST['page'] : false;
|
283 |
+
$action = isset( $_REQUEST['action'] ) && ! empty( $_REQUEST['action'] ) ? $_REQUEST['action'] : false;
|
284 |
+
|
285 |
+
return $page === $this->key || $action === $this->key;
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Get setting tabs
|
290 |
+
*
|
291 |
+
* @return array
|
292 |
+
*/
|
293 |
+
private function get_tabs() {
|
294 |
+
|
295 |
+
$filter = str_replace( '-', '_', str_replace( 'rank-math-', '', $this->key ) );
|
296 |
+
/**
|
297 |
+
* Allow developers to add new tabs into option panel.
|
298 |
+
*
|
299 |
+
* The dynamic part of hook is, page name without 'rank-math-' prefix.
|
300 |
+
*
|
301 |
+
* @param array $tabs
|
302 |
+
*/
|
303 |
+
return $this->do_filter( "admin/options/{$filter}_tabs", $this->tabs );
|
304 |
+
}
|
305 |
+
|
306 |
+
/**
|
307 |
+
* Locate tab options file
|
308 |
+
*
|
309 |
+
* @param string $id Tab id.
|
310 |
+
* @param array $tab Tab options.
|
311 |
+
* @return string|boolean
|
312 |
+
*/
|
313 |
+
private function locate_file( $id, $tab ) {
|
314 |
+
if ( isset( $tab['type'] ) && 'seprator' === $tab['type'] ) {
|
315 |
+
return false;
|
316 |
+
}
|
317 |
+
|
318 |
+
$file = isset( $tab['file'] ) && ! empty( $tab['file'] ) ? $tab['file'] : rank_math()->includes_dir() . "settings/{$this->folder}/{$id}.php";
|
319 |
+
|
320 |
+
return file_exists( $file ) ? $file : false;
|
321 |
+
}
|
322 |
+
}
|
includes/admin/class-page.php
ADDED
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The admin-page functionality.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\Traits\Hooker;
|
14 |
+
use RankMath\Helper as GlobalHelper;
|
15 |
+
|
16 |
+
defined( 'ABSPATH' ) || exit;
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Page class.
|
20 |
+
*/
|
21 |
+
class Page {
|
22 |
+
|
23 |
+
use Hooker;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Unique ID used for menu_slug.
|
27 |
+
*
|
28 |
+
* @var string
|
29 |
+
*/
|
30 |
+
public $id = null;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* The text to be displayed in the title tags of the page.
|
34 |
+
*
|
35 |
+
* @var string
|
36 |
+
*/
|
37 |
+
public $title = null;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* The slug name for the parent menu.
|
41 |
+
*
|
42 |
+
* @var string
|
43 |
+
*/
|
44 |
+
public $parent = null;
|
45 |
+
|
46 |
+
/**
|
47 |
+
* The The on-screen name text for the menu.
|
48 |
+
*
|
49 |
+
* @var string
|
50 |
+
*/
|
51 |
+
public $menu_title = null;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* The capability required for this menu to be displayed to the user.
|
55 |
+
*
|
56 |
+
* @var string
|
57 |
+
*/
|
58 |
+
public $capability = 'manage_options';
|
59 |
+
|
60 |
+
/**
|
61 |
+
* The icon for this menu.
|
62 |
+
*
|
63 |
+
* @var string
|
64 |
+
*/
|
65 |
+
public $icon = 'dashicons-art';
|
66 |
+
|
67 |
+
/**
|
68 |
+
* The position in the menu order this menu should appear.
|
69 |
+
*
|
70 |
+
* @var int
|
71 |
+
*/
|
72 |
+
public $position = -1;
|
73 |
+
|
74 |
+
/**
|
75 |
+
* The function/file that displays the page content for the menu page.
|
76 |
+
*
|
77 |
+
* @var string|callable
|
78 |
+
*/
|
79 |
+
public $render = null;
|
80 |
+
|
81 |
+
/**
|
82 |
+
* The function that run on page POST to save data.
|
83 |
+
*
|
84 |
+
* @var callable
|
85 |
+
*/
|
86 |
+
public $onsave = null;
|
87 |
+
|
88 |
+
/**
|
89 |
+
* Hold contextual help tabs.
|
90 |
+
*
|
91 |
+
* @var array
|
92 |
+
*/
|
93 |
+
public $help = null;
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Hold scripts and styles.
|
97 |
+
*
|
98 |
+
* @var array
|
99 |
+
*/
|
100 |
+
public $assets = null;
|
101 |
+
|
102 |
+
/**
|
103 |
+
* Check if plugin is network active.
|
104 |
+
*
|
105 |
+
* @var array
|
106 |
+
*/
|
107 |
+
public $is_network = false;
|
108 |
+
|
109 |
+
/**
|
110 |
+
* The Constructor.
|
111 |
+
*
|
112 |
+
* @param string $id Admin page unique id.
|
113 |
+
* @param string $title Title of the admin page.
|
114 |
+
* @param array $config Optional. Override page settings.
|
115 |
+
*/
|
116 |
+
public function __construct( $id, $title, $config = array() ) {
|
117 |
+
|
118 |
+
// Early bail!
|
119 |
+
if ( ! $id ) {
|
120 |
+
wp_die( esc_html__( '$id variable required', 'rank-math' ), esc_html__( 'Variable Required', 'rank-math' ) );
|
121 |
+
}
|
122 |
+
|
123 |
+
if ( ! $title ) {
|
124 |
+
wp_die( esc_html__( '$title variable required', 'rank-math' ), esc_html__( 'Variable Required', 'rank-math' ) );
|
125 |
+
}
|
126 |
+
|
127 |
+
$this->id = $id;
|
128 |
+
$this->title = $title;
|
129 |
+
$this->config( $config );
|
130 |
+
|
131 |
+
if ( ! $this->menu_title ) {
|
132 |
+
$this->menu_title = $title;
|
133 |
+
}
|
134 |
+
|
135 |
+
$this->action( 'init', 'init', 25 );
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Init admin page when WordPress Initialises.
|
140 |
+
*/
|
141 |
+
public function init() {
|
142 |
+
$priority = $this->parent ? intval( $this->position ) : -1;
|
143 |
+
$this->action( $this->is_network ? 'network_admin_menu' : 'admin_menu', 'register_menu', $priority );
|
144 |
+
|
145 |
+
// If not the page is not this page stop here.
|
146 |
+
if ( ! $this->is_current_page() ) {
|
147 |
+
return;
|
148 |
+
}
|
149 |
+
|
150 |
+
if ( ! is_null( $this->onsave ) && is_callable( $this->onsave ) ) {
|
151 |
+
$this->action( 'admin_init', 'save' );
|
152 |
+
}
|
153 |
+
|
154 |
+
if ( ! empty( $this->assets ) ) {
|
155 |
+
$this->action( 'admin_enqueue_scripts', 'enqueue' );
|
156 |
+
}
|
157 |
+
|
158 |
+
if ( ! empty( $this->help ) ) {
|
159 |
+
$this->filter( 'contextual_help', 'contextual_help' );
|
160 |
+
}
|
161 |
+
|
162 |
+
$this->action( 'admin_body_class', 'body_class' );
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Register Admin Menu.
|
167 |
+
*/
|
168 |
+
public function register_menu() {
|
169 |
+
if ( ! $this->parent ) {
|
170 |
+
add_menu_page( $this->title, $this->menu_title, $this->capability, $this->id, array( $this, 'display' ), $this->icon, $this->position );
|
171 |
+
return;
|
172 |
+
}
|
173 |
+
|
174 |
+
add_submenu_page( $this->parent, $this->title, $this->menu_title, $this->capability, $this->id, array( $this, 'display' ) );
|
175 |
+
}
|
176 |
+
|
177 |
+
/**
|
178 |
+
* Enqueue styles and scripts.
|
179 |
+
*/
|
180 |
+
public function enqueue() {
|
181 |
+
|
182 |
+
if ( isset( $this->assets['styles'] ) && ! empty( $this->assets['styles'] ) ) {
|
183 |
+
foreach ( $this->assets['styles'] as $handle => $src ) {
|
184 |
+
wp_enqueue_style( $handle, $src, null, rank_math()->get_version() );
|
185 |
+
}
|
186 |
+
}
|
187 |
+
|
188 |
+
if ( isset( $this->assets['scripts'] ) && ! empty( $this->assets['scripts'] ) ) {
|
189 |
+
foreach ( $this->assets['scripts'] as $handle => $src ) {
|
190 |
+
wp_enqueue_script( $handle, $src, null, rank_math()->get_version(), true );
|
191 |
+
}
|
192 |
+
}
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* Add classes to <body> of WordPress admin.
|
197 |
+
*
|
198 |
+
* @param string $classes Space-separated list of CSS classes.
|
199 |
+
* @return string
|
200 |
+
*/
|
201 |
+
public function body_class( $classes = '' ) {
|
202 |
+
return $classes . ' rank-math-page';
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Save anything you want using onsave function.
|
207 |
+
*/
|
208 |
+
public function save() {
|
209 |
+
call_user_func( $this->onsave, $this );
|
210 |
+
}
|
211 |
+
|
212 |
+
/**
|
213 |
+
* Contextual Help.
|
214 |
+
*/
|
215 |
+
public function contextual_help() {
|
216 |
+
$screen = get_current_screen();
|
217 |
+
|
218 |
+
foreach ( $this->help as $tab_id => $tab ) {
|
219 |
+
ob_start();
|
220 |
+
$tab['id'] = $tab_id;
|
221 |
+
|
222 |
+
// If it is a function.
|
223 |
+
if ( isset( $tab['content'] ) && is_callable( $tab['content'] ) ) {
|
224 |
+
call_user_func( $tab['content'] );
|
225 |
+
}
|
226 |
+
|
227 |
+
// If it is a file.
|
228 |
+
if ( isset( $tab['view'] ) && $tab['view'] ) {
|
229 |
+
require $tab['view'];
|
230 |
+
}
|
231 |
+
|
232 |
+
$tab['content'] = ob_get_clean();
|
233 |
+
$screen->add_help_tab( $tab );
|
234 |
+
}
|
235 |
+
|
236 |
+
if ( ! GlobalHelper::is_whitelabel() ) {
|
237 |
+
$screen->set_help_sidebar(
|
238 |
+
'<p><strong>' . esc_html__( 'SEO Support:', 'rank-math' ) . '</strong></p>' . '<p><a href="' . esc_url( GlobalHelper::get_admin_url( 'help' ) ) . '">' . esc_html__( 'Support Forums', 'rank-math' ) . '</a></p>'
|
239 |
+
);
|
240 |
+
}
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Render admin page content using render function you passed in config.
|
245 |
+
*/
|
246 |
+
public function display() {
|
247 |
+
if ( is_null( $this->render ) ) {
|
248 |
+
return;
|
249 |
+
}
|
250 |
+
|
251 |
+
if ( is_callable( $this->render ) ) {
|
252 |
+
call_user_func( $this->onrender, $this );
|
253 |
+
} elseif ( is_string( $this->render ) ) {
|
254 |
+
include_once $this->render;
|
255 |
+
}
|
256 |
+
}
|
257 |
+
|
258 |
+
/**
|
259 |
+
* Is the page is currrent page.
|
260 |
+
*
|
261 |
+
* @return bool
|
262 |
+
*/
|
263 |
+
public function is_current_page() {
|
264 |
+
|
265 |
+
$page = isset( $_GET['page'] ) && ! empty( $_GET['page'] ) ? filter_input( INPUT_GET, 'page' ) : false;
|
266 |
+
return $page === $this->id;
|
267 |
+
}
|
268 |
+
}
|
includes/admin/class-post-columns.php
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The admin post columns functionality.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\Helper as GlobalHelper;
|
14 |
+
use RankMath\Traits\Ajax;
|
15 |
+
use RankMath\Traits\Hooker;
|
16 |
+
|
17 |
+
defined( 'ABSPATH' ) || exit;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Post_Columns class.
|
21 |
+
*/
|
22 |
+
class Post_Columns {
|
23 |
+
|
24 |
+
use Hooker, Ajax;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* The Constructor.
|
28 |
+
*/
|
29 |
+
public function __construct() {
|
30 |
+
$this->action( 'admin_init', 'init' );
|
31 |
+
$this->ajax( 'bulk_edit_columns', 'save' );
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Intialize.
|
36 |
+
*/
|
37 |
+
public function init() {
|
38 |
+
if ( ! GlobalHelper::has_cap( 'general' ) ) {
|
39 |
+
return;
|
40 |
+
}
|
41 |
+
|
42 |
+
foreach ( rank_math()->admin->get_allowed_post_types() as $post_type ) {
|
43 |
+
$this->filter( "views_edit-$post_type", 'add_pillar_content_filter_link' );
|
44 |
+
|
45 |
+
$this->filter( "manage_{$post_type}_posts_columns", 'add_columns', 11 );
|
46 |
+
$this->action( "manage_{$post_type}_posts_custom_column", 'columns_contents', 11, 2 );
|
47 |
+
$this->filter( "manage_edit-{$post_type}_sortable_columns", 'sortable_columns', 11 );
|
48 |
+
|
49 |
+
// Also make them hidden by default.
|
50 |
+
$user_id = get_current_user_id();
|
51 |
+
$columns_hidden = (array) get_user_meta( $user_id, "manageedit-{$post_type}columnshidden", true );
|
52 |
+
$maybe_hidden = get_user_meta( $user_id, "manageedit-{$post_type}columnshidden_default", true );
|
53 |
+
|
54 |
+
// Continue if default is already set.
|
55 |
+
if ( $maybe_hidden ) {
|
56 |
+
continue;
|
57 |
+
}
|
58 |
+
|
59 |
+
// Set it to hidden by default.
|
60 |
+
$columns_hidden = array_unique( array_merge( $columns_hidden, array( 'rank_math_title', 'rank_math_description' ) ) );
|
61 |
+
update_user_meta( $user_id, "manageedit-{$post_type}columnshidden", $columns_hidden );
|
62 |
+
update_user_meta( $user_id, "manageedit-{$post_type}columnshidden_default", '1' );
|
63 |
+
}
|
64 |
+
|
65 |
+
if ( GlobalHelper::get_settings( 'titles.pt_attachment_bulk_editing' ) ) {
|
66 |
+
$this->filter( 'manage_media_columns', 'add_media_columns', 11 );
|
67 |
+
$this->action( 'manage_media_custom_column', 'media_contents', 11, 2 );
|
68 |
+
}
|
69 |
+
|
70 |
+
$this->action( 'admin_enqueue_scripts', 'enqueue' );
|
71 |
+
$this->filter( 'pre_get_posts', 'posts_by_seo_filters' );
|
72 |
+
$this->filter( 'parse_query', 'filter_by_focus_keywords' );
|
73 |
+
$this->filter( 'restrict_manage_posts', 'add_seo_filter', 11 );
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Enqueue Styles and Scripts required by plugin.
|
78 |
+
*/
|
79 |
+
public function enqueue() {
|
80 |
+
$screen = get_current_screen();
|
81 |
+
|
82 |
+
$allowed_post_types = rank_math()->admin->get_allowed_post_types();
|
83 |
+
$allowed_post_types[] = 'attachment';
|
84 |
+
if ( ( 'edit' !== $screen->base && 'upload' !== $screen->base ) || ! in_array( $screen->post_type, $allowed_post_types ) ) {
|
85 |
+
return;
|
86 |
+
}
|
87 |
+
|
88 |
+
wp_enqueue_style( 'rank-math-post-bulk-edit', rank_math()->plugin_url() . 'assets/admin/css/post-list.css', null, rank_math()->get_version() );
|
89 |
+
|
90 |
+
$allow_editing = GlobalHelper::get_settings( 'titles.pt_' . $screen->post_type . '_bulk_editing' );
|
91 |
+
if ( ! $allow_editing || 'readonly' === $allow_editing ) {
|
92 |
+
return;
|
93 |
+
}
|
94 |
+
|
95 |
+
wp_enqueue_script( 'rank-math-post-bulk-edit', rank_math()->plugin_url() . 'assets/admin/js/post-list.js', null, rank_math()->get_version(), true );
|
96 |
+
wp_localize_script( 'rank-math-post-bulk-edit', 'rankMath', array(
|
97 |
+
'security' => wp_create_nonce( 'rank-math-ajax-nonce' ),
|
98 |
+
'bulkEditTitle' => esc_attr__( 'Bulk Edit This Field', 'rank-math' ),
|
99 |
+
'buttonSaveAll' => esc_attr__( 'Save All Edits', 'rank-math' ),
|
100 |
+
'buttonCancel' => esc_attr__( 'Cancel', 'rank-math' ),
|
101 |
+
) );
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Add columns for SEO title, description and focus keywords.
|
106 |
+
*/
|
107 |
+
public function add_seo_filter() {
|
108 |
+
global $post_type;
|
109 |
+
|
110 |
+
if ( ! in_array( $post_type, rank_math()->admin->get_allowed_post_types() ) ) {
|
111 |
+
return;
|
112 |
+
}
|
113 |
+
|
114 |
+
$options = array(
|
115 |
+
'' => esc_html__( 'All Posts', 'rank-math' ),
|
116 |
+
'great-seo' => esc_html__( 'SEO Score: Great', 'rank-math' ),
|
117 |
+
'good-seo' => esc_html__( 'SEO Score: Good', 'rank-math' ),
|
118 |
+
'bad-seo' => esc_html__( 'SEO Score: Bad', 'rank-math' ),
|
119 |
+
'empty-fk' => esc_html__( 'Focus Keyword Not Set', 'rank-math' ),
|
120 |
+
'noindexed' => esc_html__( 'Articles noindexed', 'rank-math' ),
|
121 |
+
);
|
122 |
+
$selected = isset( $_GET['seo-filter'] ) ? $_GET['seo-filter'] : '';
|
123 |
+
?>
|
124 |
+
<select name="seo-filter">
|
125 |
+
<?php foreach ( $options as $val => $option ) : ?>
|
126 |
+
<option value="<?php echo $val; ?>" <?php selected( $selected, $val, true ); ?>><?php echo $option; ?></option>
|
127 |
+
<?php endforeach; ?>
|
128 |
+
</select>
|
129 |
+
<?php
|
130 |
+
}
|
131 |
+
|
132 |
+
/**
|
133 |
+
* Add columns for SEO title, description and focus keywords.
|
134 |
+
*
|
135 |
+
* @param array $columns An array of column names.
|
136 |
+
* @return array
|
137 |
+
*/
|
138 |
+
public function add_columns( $columns ) {
|
139 |
+
global $post_type;
|
140 |
+
|
141 |
+
$columns['rank_math_seo_details'] = esc_html__( 'SEO Details', 'rank-math' );
|
142 |
+
|
143 |
+
if ( GlobalHelper::get_settings( 'titles.pt_' . $post_type . '_bulk_editing' ) ) {
|
144 |
+
$columns['rank_math_title'] = esc_html__( 'SEO Title', 'rank-math' );
|
145 |
+
$columns['rank_math_description'] = esc_html__( 'SEO Desc', 'rank-math' );
|
146 |
+
}
|
147 |
+
|
148 |
+
return $columns;
|
149 |
+
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Add content for custom column.
|
153 |
+
*
|
154 |
+
* @param string $column_name The name of the column to display.
|
155 |
+
* @param int $post_id The current post ID.
|
156 |
+
*/
|
157 |
+
public function columns_contents( $column_name, $post_id ) {
|
158 |
+
|
159 |
+
if ( 'rank_math_title' === $column_name ) {
|
160 |
+
$title = get_post_meta( $post_id, 'rank_math_title', true );
|
161 |
+
?>
|
162 |
+
<span class="rank-math-column-display"><?php echo $title; ?></span>
|
163 |
+
<span class="rank-math-column-value" data-field="title" contenteditable="true" tabindex="11"><?php echo $title; ?></span>
|
164 |
+
<div class="rank-math-column-edit">
|
165 |
+
<a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
|
166 |
+
<a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
|
167 |
+
</div>
|
168 |
+
<?php
|
169 |
+
return;
|
170 |
+
}
|
171 |
+
|
172 |
+
if ( 'rank_math_description' === $column_name ) {
|
173 |
+
$description = get_post_meta( $post_id, 'rank_math_description', true );
|
174 |
+
?>
|
175 |
+
<span class="rank-math-column-display"><?php echo $description; ?></span>
|
176 |
+
<span class="rank-math-column-value" data-field="description" contenteditable="true" tabindex="11"><?php echo $description; ?></span>
|
177 |
+
<div class="rank-math-column-edit">
|
178 |
+
<a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
|
179 |
+
<a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
|
180 |
+
</div>
|
181 |
+
<?php
|
182 |
+
return;
|
183 |
+
}
|
184 |
+
|
185 |
+
if ( 'rank_math_seo_details' === $column_name ) {
|
186 |
+
$score = get_post_meta( $post_id, 'rank_math_seo_score', true );
|
187 |
+
$keyword = get_post_meta( $post_id, 'rank_math_focus_keyword', true );
|
188 |
+
$keyword = explode( ',', $keyword )[0];
|
189 |
+
$is_pillar = get_post_meta( $post_id, 'rank_math_pillar_content', true );
|
190 |
+
$score = $score ? $score : 0;
|
191 |
+
$class = 'bad';
|
192 |
+
if ( $score > 51 && $score < 81 ) {
|
193 |
+
$class = 'good';
|
194 |
+
} elseif ( $score > 80 ) {
|
195 |
+
$class = 'great';
|
196 |
+
}
|
197 |
+
|
198 |
+
$post_type = get_post_type( $post_id );
|
199 |
+
if ( ! metadata_exists( 'post', $post_id, 'rank_math_seo_score' ) ||
|
200 |
+
! GlobalHelper::get_settings( "sitemap.pt_{$post_type}_sitemap" )
|
201 |
+
) {
|
202 |
+
$score = __( 'Update your post', 'rank-math' );
|
203 |
+
$class = 'no-score';
|
204 |
+
}
|
205 |
+
?>
|
206 |
+
<span class="rank-math-column-display seo-score <?php echo $class; ?>"><strong><?php echo $score; ?> / 100</strong></span>
|
207 |
+
|
208 |
+
<span class="rank-math-column-display">
|
209 |
+
<strong title="Focus Keyword"><?php _e( 'Keyword', 'rank-math' ); ?>:</strong>
|
210 |
+
<span><?php echo $keyword; ?></span>
|
211 |
+
</span>
|
212 |
+
|
213 |
+
<span class="rank-math-column-value" data-field="focus_keyword" contenteditable="true" tabindex="11">
|
214 |
+
<span><?php echo $keyword; ?></span>
|
215 |
+
</span>
|
216 |
+
|
217 |
+
<div class="rank-math-column-edit">
|
218 |
+
<a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
|
219 |
+
<a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
|
220 |
+
</div>
|
221 |
+
|
222 |
+
<span class="rank-math-column-display">
|
223 |
+
<strong>Pillar Content:</strong>
|
224 |
+
<span><?php echo $is_pillar ? 'Y' : 'N'; ?></span>
|
225 |
+
</span>
|
226 |
+
|
227 |
+
<?php do_action( $column_name, $post_id ); ?>
|
228 |
+
|
229 |
+
<?php
|
230 |
+
return;
|
231 |
+
}
|
232 |
+
}
|
233 |
+
|
234 |
+
/**
|
235 |
+
* Make seo_score column sortable
|
236 |
+
*
|
237 |
+
* @param array $columns An array of column names.
|
238 |
+
* @return array
|
239 |
+
*/
|
240 |
+
public function sortable_columns( $columns ) {
|
241 |
+
$columns['rank_math_seo_details'] = 'rank_math_seo_score';
|
242 |
+
return $columns;
|
243 |
+
}
|
244 |
+
|
245 |
+
/**
|
246 |
+
* Add columns for Media Alt & Title.
|
247 |
+
*
|
248 |
+
* @param array $columns An array of column names.
|
249 |
+
* @return array
|
250 |
+
*/
|
251 |
+
public function add_media_columns( $columns ) {
|
252 |
+
|
253 |
+
$columns['rank_math_image_title'] = esc_html__( 'Title', 'rank-math' );
|
254 |
+
$columns['rank_math_image_alt'] = esc_html__( 'Alternative Text', 'rank-math' );
|
255 |
+
|
256 |
+
return $columns;
|
257 |
+
}
|
258 |
+
|
259 |
+
/**
|
260 |
+
* Add content for custom media column.
|
261 |
+
*
|
262 |
+
* @param string $column_name The name of the column to display.
|
263 |
+
* @param int $post_id The current post ID.
|
264 |
+
*/
|
265 |
+
public function media_contents( $column_name, $post_id ) {
|
266 |
+
|
267 |
+
if ( 'rank_math_image_title' === $column_name ) {
|
268 |
+
$title = get_the_title( $post_id );
|
269 |
+
?>
|
270 |
+
<span class="rank-math-column-display"><?php echo $title; ?></span>
|
271 |
+
<span class="rank-math-column-value" data-field="image_title" contenteditable="true" tabindex="11"><?php echo $title; ?></span>
|
272 |
+
<div class="rank-math-column-edit">
|
273 |
+
<a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
|
274 |
+
<a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
|
275 |
+
</div>
|
276 |
+
<?php
|
277 |
+
return;
|
278 |
+
}
|
279 |
+
|
280 |
+
if ( 'rank_math_image_alt' === $column_name ) {
|
281 |
+
$alt = get_post_meta( $post_id, '_wp_attachment_image_alt', true );
|
282 |
+
?>
|
283 |
+
<span class="rank-math-column-display"><?php echo $alt; ?></span>
|
284 |
+
<span class="rank-math-column-value" data-field="image_alt" contenteditable="true" tabindex="11"><?php echo $alt; ?></span>
|
285 |
+
<div class="rank-math-column-edit">
|
286 |
+
<a href="#" class="rank-math-column-save"><?php esc_html_e( 'Save', 'rank-math' ); ?></a>
|
287 |
+
<a href="#" class="button-link-delete rank-math-column-cancel"><?php esc_html_e( 'Cancel', 'rank-math' ); ?></a>
|
288 |
+
</div>
|
289 |
+
<?php
|
290 |
+
return;
|
291 |
+
}
|
292 |
+
}
|
293 |
+
|
294 |
+
/**
|
295 |
+
* Filter post in admin by pillar content.
|
296 |
+
*
|
297 |
+
* @param \WP_Query $query The wp_query instance.
|
298 |
+
*/
|
299 |
+
public function filter_by_focus_keywords( $query ) {
|
300 |
+
$screen = get_current_screen();
|
301 |
+
if ( is_null( $screen ) || 'edit' !== $screen->base || ! isset( $_GET['focus_keyword'] ) ) {
|
302 |
+
return;
|
303 |
+
}
|
304 |
+
|
305 |
+
$focus_keyword = $_GET['focus_keyword'];
|
306 |
+
|
307 |
+
$query->set( 'post_status', 'publish' );
|
308 |
+
$query->set( 'meta_key', 'rank_math_focus_keyword' );
|
309 |
+
|
310 |
+
if ( 1 == $focus_keyword ) {
|
311 |
+
$query->set( 'meta_compare', 'NOT EXISTS' );
|
312 |
+
return;
|
313 |
+
}
|
314 |
+
|
315 |
+
$query->set( 'meta_value', $focus_keyword );
|
316 |
+
$query->set( 'meta_compare', '=' );
|
317 |
+
$query->set( 'post_type', 'any' );
|
318 |
+
}
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Add view to filter list for pillar content.
|
322 |
+
*
|
323 |
+
* @param array $views An array of available list table views.
|
324 |
+
*/
|
325 |
+
public function add_pillar_content_filter_link( $views ) {
|
326 |
+
global $typenow;
|
327 |
+
|
328 |
+
$current = empty( $_GET['pillar_content'] ) ? '' : ' class="current" aria-current="page"';
|
329 |
+
$pillars = get_posts( array(
|
330 |
+
'post_type' => $typenow,
|
331 |
+
'fields' => 'ids',
|
332 |
+
'posts_per_page' => -1,
|
333 |
+
'meta_key' => 'rank_math_pillar_content',
|
334 |
+
'meta_value' => 'on',
|
335 |
+
) );
|
336 |
+
|
337 |
+
$views['pillar_content'] = sprintf(
|
338 |
+
'<a href="%1$s"%2$s>%3$s <span class="count">(%4$s)</span></a>',
|
339 |
+
add_query_arg( array(
|
340 |
+
'post_type' => $typenow,
|
341 |
+
'pillar_content' => 1,
|
342 |
+
)),
|
343 |
+
$current,
|
344 |
+
esc_html__( 'Pillar Content', 'rank-math' ),
|
345 |
+
number_format_i18n( count( $pillars ) )
|
346 |
+
);
|
347 |
+
|
348 |
+
return $views;
|
349 |
+
}
|
350 |
+
|
351 |
+
/**
|
352 |
+
* Filter post in admin by Rank Math's Filter value.
|
353 |
+
*
|
354 |
+
* @param \WP_Query $query The wp_query instance.
|
355 |
+
*/
|
356 |
+
public function posts_by_seo_filters( $query ) {
|
357 |
+
$screen = get_current_screen();
|
358 |
+
if (
|
359 |
+
is_null( $screen ) ||
|
360 |
+
'edit' !== $screen->base ||
|
361 |
+
! in_array( $screen->post_type, rank_math()->admin->get_allowed_post_types() )
|
362 |
+
) {
|
363 |
+
return;
|
364 |
+
}
|
365 |
+
|
366 |
+
if ( 'rank_math_seo_score' === $query->get( 'orderby' ) ) {
|
367 |
+
$query->set( 'orderby', 'meta_value' );
|
368 |
+
$query->set( 'meta_key', 'rank_math_seo_score' );
|
369 |
+
$query->set( 'meta_type', 'numeric' );
|
370 |
+
}
|
371 |
+
|
372 |
+
if ( empty( $_GET['pillar_content'] ) && empty( $_GET['seo-filter'] ) ) {
|
373 |
+
return;
|
374 |
+
}
|
375 |
+
|
376 |
+
$meta_query = array();
|
377 |
+
|
378 |
+
// Check for pillar content filter.
|
379 |
+
if ( ! empty( $_GET['pillar_content'] ) ) {
|
380 |
+
$meta_query[] = array(
|
381 |
+
'key' => 'rank_math_pillar_content',
|
382 |
+
'value' => 'on',
|
383 |
+
);
|
384 |
+
}
|
385 |
+
|
386 |
+
// Check for pillar seo filter.
|
387 |
+
if ( ! empty( $_GET['seo-filter'] ) ) {
|
388 |
+
$filter = $_GET['seo-filter'];
|
389 |
+
$hash = array(
|
390 |
+
'empty-fk' => array(
|
391 |
+
'key' => 'rank_math_focus_keyword',
|
392 |
+
'compare' => 'NOT EXISTS',
|
393 |
+
),
|
394 |
+
'bad-seo' => array(
|
395 |
+
'key' => 'rank_math_seo_score',
|
396 |
+
'value' => 50,
|
397 |
+
'compare' => '<=',
|
398 |
+
'type' => 'numeric',
|
399 |
+
),
|
400 |
+
'good-seo' => array(
|
401 |
+
'key' => 'rank_math_seo_score',
|
402 |
+
'value' => array( 51, 80 ),
|
403 |
+
'compare' => 'BETWEEN',
|
404 |
+
),
|
405 |
+
'great-seo' => array(
|
406 |
+
'key' => 'rank_math_seo_score',
|
407 |
+
'value' => 80,
|
408 |
+
'compare' => '>',
|
409 |
+
),
|
410 |
+
'noindexed' => array(
|
411 |
+
'key' => 'rank_math_robots',
|
412 |
+
'value' => 'noindex',
|
413 |
+
'compare' => 'LIKE',
|
414 |
+
),
|
415 |
+
);
|
416 |
+
|
417 |
+
if ( isset( $hash[ $filter ] ) ) {
|
418 |
+
$meta_query[] = $hash[ $filter ];
|
419 |
+
}
|
420 |
+
}
|
421 |
+
|
422 |
+
$query->set( 'meta_query', $meta_query );
|
423 |
+
}
|
424 |
+
|
425 |
+
/**
|
426 |
+
* Save rows.
|
427 |
+
*/
|
428 |
+
public function save() {
|
429 |
+
|
430 |
+
check_ajax_referer( 'rank-math-ajax-nonce', 'security' );
|
431 |
+
|
432 |
+
$this->has_cap_ajax( 'general' );
|
433 |
+
|
434 |
+
$rows = isset( $_POST['rows'] ) ? $_POST['rows'] : false;
|
435 |
+
if ( ! $rows ) {
|
436 |
+
$this->error( esc_html__( 'No data found.', 'rank-math' ) );
|
437 |
+
}
|
438 |
+
|
439 |
+
foreach ( $rows as $post_id => $data ) {
|
440 |
+
$post_id = absint( $post_id );
|
441 |
+
if ( ! $post_id ) {
|
442 |
+
continue;
|
443 |
+
}
|
444 |
+
|
445 |
+
foreach ( $data as $key => $value ) {
|
446 |
+
|
447 |
+
if ( ! in_array( $key, array( 'focus_keyword', 'title', 'description', 'image_alt', 'image_title' ) ) ) {
|
448 |
+
continue;
|
449 |
+
}
|
450 |
+
|
451 |
+
if ( 'image_title' === $key ) {
|
452 |
+
wp_update_post( array(
|
453 |
+
'ID' => $post_id,
|
454 |
+
'post_title' => $value,
|
455 |
+
) );
|
456 |
+
continue;
|
457 |
+
}
|
458 |
+
|
459 |
+
if ( 'focus_keyword' === $key ) {
|
460 |
+
$fk = get_post_meta( $post_id, 'rank_math_' . $key, true );
|
461 |
+
$fk = explode( ',', $fk );
|
462 |
+
$fk[0] = $value;
|
463 |
+
$value = implode( ',', $fk );
|
464 |
+
}
|
465 |
+
|
466 |
+
$key = 'image_alt' === $key ? '_wp_attachment_image_alt' : 'rank_math_' . $key;
|
467 |
+
update_post_meta( $post_id, $key, $value );
|
468 |
+
}
|
469 |
+
}
|
470 |
+
|
471 |
+
$this->success( 'done' );
|
472 |
+
}
|
473 |
+
}
|
includes/admin/class-product-registration.php
ADDED
@@ -0,0 +1,410 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Setup Wizard - configure the SEO settings in a few steps.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\CMB2;
|
14 |
+
use RankMath\Helper as GlobalHelper;
|
15 |
+
use RankMath\Traits\Hooker;
|
16 |
+
|
17 |
+
defined( 'ABSPATH' ) || exit;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Product_Registration class.
|
21 |
+
*/
|
22 |
+
class Product_Registration {
|
23 |
+
|
24 |
+
use Hooker;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Hold steps data.
|
28 |
+
*
|
29 |
+
* @var array
|
30 |
+
*/
|
31 |
+
protected $steps = array();
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Hold current step.
|
35 |
+
*
|
36 |
+
* @var string
|
37 |
+
*/
|
38 |
+
protected $step = '';
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Current step slug.
|
42 |
+
*
|
43 |
+
* @var string
|
44 |
+
*/
|
45 |
+
protected $step_slug = '';
|
46 |
+
|
47 |
+
/**
|
48 |
+
* The text string array.
|
49 |
+
*
|
50 |
+
* @var array
|
51 |
+
*/
|
52 |
+
protected $strings = null;
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Top level admin page.
|
56 |
+
*
|
57 |
+
* @var string
|
58 |
+
*/
|
59 |
+
protected $slug = 'rank-math-registration';
|
60 |
+
|
61 |
+
/**
|
62 |
+
* CMB2 object
|
63 |
+
*
|
64 |
+
* @var \CMB2
|
65 |
+
*/
|
66 |
+
public $cmb = null;
|
67 |
+
|
68 |
+
/**
|
69 |
+
* The Constructor.
|
70 |
+
*/
|
71 |
+
public function __construct() {
|
72 |
+
|
73 |
+
$this->strings();
|
74 |
+
$this->action( 'cmb2_admin_init', 'steps', 9 );
|
75 |
+
$this->action( 'cmb2_admin_init', 'register_cmb2' );
|
76 |
+
$this->action( 'admin_menu', 'add_admin_menu' );
|
77 |
+
$this->action( 'admin_post_rank_math_save_wizard', 'save_wizard' );
|
78 |
+
$this->action( 'admin_post_rank_math_skip_wizard', 'skip_wizard' );
|
79 |
+
|
80 |
+
// If not the page is not this page stop here.
|
81 |
+
if ( ! $this->is_current_page() ) {
|
82 |
+
return;
|
83 |
+
}
|
84 |
+
|
85 |
+
$this->action( 'admin_init', 'admin_page', 30 );
|
86 |
+
$this->filter( 'user_has_cap', 'filter_user_has_cap' );
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Register CMB2 option page for setup wizard.
|
91 |
+
*/
|
92 |
+
public function register_cmb2() {
|
93 |
+
$this->cmb = new_cmb2_box( array(
|
94 |
+
'id' => 'rank-math-wizard',
|
95 |
+
'object_types' => array( 'options-page' ),
|
96 |
+
'option_key' => 'rank-math-wizard',
|
97 |
+
'hookup' => false,
|
98 |
+
'save_fields' => false,
|
99 |
+
) );
|
100 |
+
|
101 |
+
isset( $this->steps[ $this->step ], $this->steps[ $this->step ]['form'] ) ? call_user_func( $this->steps[ $this->step ]['form'], $this ) : false;
|
102 |
+
|
103 |
+
CMB2::pre_init( $this->cmb );
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* Execute save handler for current step.
|
108 |
+
*/
|
109 |
+
public function save_wizard() {
|
110 |
+
|
111 |
+
// If no form submission, bail.
|
112 |
+
if ( empty( $_POST ) || 'register' !== $_POST['step'] ) {
|
113 |
+
return wp_safe_redirect( $_POST['_wp_http_referer'] );
|
114 |
+
}
|
115 |
+
|
116 |
+
check_admin_referer( 'rank-math-wizard', 'security' );
|
117 |
+
|
118 |
+
$show_content = true;
|
119 |
+
$values = $this->cmb->get_sanitized_values( $_POST );
|
120 |
+
if ( isset( $this->steps[ $this->step ]['handler'] ) ) {
|
121 |
+
$show_content = call_user_func( $this->steps[ $this->step ]['handler'], $values, $this );
|
122 |
+
}
|
123 |
+
|
124 |
+
Helper::allow_tracking();
|
125 |
+
|
126 |
+
$redirect = true === $show_content ? GlobalHelper::get_admin_url( 'wizard' ) : $_POST['_wp_http_referer'];
|
127 |
+
wp_safe_redirect( $redirect );
|
128 |
+
exit;
|
129 |
+
}
|
130 |
+
|
131 |
+
/**
|
132 |
+
* Execute save handler for skip_wizard.
|
133 |
+
*/
|
134 |
+
public function skip_wizard() {
|
135 |
+
|
136 |
+
check_admin_referer( 'rank-math-wizard', 'security' );
|
137 |
+
add_option( 'rank_math_registration_skip', true );
|
138 |
+
Helper::allow_tracking();
|
139 |
+
GlobalHelper::schedule_flush_rewrite();
|
140 |
+
wp_safe_redirect( GlobalHelper::get_admin_url( 'wizard' ) );
|
141 |
+
exit;
|
142 |
+
}
|
143 |
+
|
144 |
+
/**
|
145 |
+
* Add the admin menu item, under Appearance.
|
146 |
+
*/
|
147 |
+
public function add_admin_menu() {
|
148 |
+
$is_skipped = get_option( 'rank_math_registration_skip', false );
|
149 |
+
if ( ( $is_skipped || ! $this->invalid_license ) && ( empty( $_GET['page'] ) || $this->slug !== $_GET['page'] ) ) {
|
150 |
+
return;
|
151 |
+
}
|
152 |
+
|
153 |
+
$this->hook_suffix = add_menu_page(
|
154 |
+
esc_html__( 'Rank Math', 'rank-math' ), esc_html__( 'Rank Math', 'rank-math' ), 'manage_options', $this->slug, array( $this, 'admin_page' )
|
155 |
+
);
|
156 |
+
}
|
157 |
+
|
158 |
+
/**
|
159 |
+
* Add the admin page.
|
160 |
+
*/
|
161 |
+
public function admin_page() {
|
162 |
+
|
163 |
+
// Do not proceed, if we're not on the right page.
|
164 |
+
if ( empty( $_GET['page'] ) || $this->slug !== $_GET['page'] ) {
|
165 |
+
return;
|
166 |
+
}
|
167 |
+
|
168 |
+
if ( ob_get_length() ) {
|
169 |
+
ob_end_clean();
|
170 |
+
}
|
171 |
+
|
172 |
+
// Enqueue styles.
|
173 |
+
\CMB2_hookup::enqueue_cmb_css();
|
174 |
+
\CMB2_hookup::enqueue_cmb_js();
|
175 |
+
|
176 |
+
$css = rank_math()->plugin_url() . 'assets/admin/css/';
|
177 |
+
wp_register_style( 'rank-math-common', $css . 'common.css', null, rank_math()->get_version() );
|
178 |
+
wp_register_style( 'rank-math-cmb2', $css . 'cmb2.css', null, rank_math()->get_version() );
|
179 |
+
wp_enqueue_style( 'rank-math-wizard', $css . 'setup-wizard.css', array( 'wp-admin', 'buttons', 'cmb2-styles', 'rank-math-common', 'rank-math-cmb2' ), rank_math()->get_version() );
|
180 |
+
|
181 |
+
$logo_url = '<a href="https://link.mythemeshop.com/rmlogo" target="_blank"><img src="' . esc_url( rank_math()->plugin_url() . 'assets/admin/img/logo.svg' ) . '"></a>';
|
182 |
+
|
183 |
+
ob_start();
|
184 |
+
|
185 |
+
/**
|
186 |
+
* Start the actual page content.
|
187 |
+
*/
|
188 |
+
include_once $this->get_view( 'header' );
|
189 |
+
include_once $this->get_view( 'content' );
|
190 |
+
include_once $this->get_view( 'footer' );
|
191 |
+
exit;
|
192 |
+
}
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Output the content for the current step.
|
196 |
+
*/
|
197 |
+
protected function body() {
|
198 |
+
if ( ! isset( $this->steps[ $this->step ] ) ) {
|
199 |
+
return;
|
200 |
+
}
|
201 |
+
if ( is_callable( $this->steps[ $this->step ]['view'] ) ) {
|
202 |
+
call_user_func( $this->steps[ $this->step ]['view'], $this );
|
203 |
+
return;
|
204 |
+
}
|
205 |
+
|
206 |
+
include_once $this->steps[ $this->step ]['view'];
|
207 |
+
}
|
208 |
+
|
209 |
+
/**
|
210 |
+
* 2. Register Product.
|
211 |
+
*/
|
212 |
+
protected function register() {
|
213 |
+
?>
|
214 |
+
<header>
|
215 |
+
|
216 |
+
<?php if ( $this->invalid_license ) { ?>
|
217 |
+
<h1><?php esc_html_e( 'Connect FREE Account', 'rank-math' ); ?></h1>
|
218 |
+
<div class="notice notice-warning rank-math-registration-notice inline">
|
219 |
+
<p>
|
220 |
+
<?php
|
221 |
+
/* translators: Link to MyThemeShop signup page */
|
222 |
+
printf( wp_kses_post( __( 'You need to connect with your <a href="%s" target="_blank"><strong>FREE MyThemeShop account</strong></a> to use Rank Math on this site.', 'rank-math' ) ), 'https://link.mythemeshop.com/freeaccount' );
|
223 |
+
?>
|
224 |
+
</p>
|
225 |
+
</div>
|
226 |
+
<?php } else { ?>
|
227 |
+
<h1><?php esc_html_e( 'Account Successfully Connected', 'rank-math' ); ?></h1>
|
228 |
+
<h3 style="text-align: center; padding-top:15px;"><?php esc_html_e( 'You have successfully activated Rank Math.', 'rank-math' ); ?></h3>
|
229 |
+
<?php } ?>
|
230 |
+
|
231 |
+
</header>
|
232 |
+
|
233 |
+
<span class="wp-header-end"></span>
|
234 |
+
|
235 |
+
<?php rank_math()->display_notices(); ?>
|
236 |
+
|
237 |
+
<?php $this->cmb->show_form(); ?>
|
238 |
+
<footer class="form-footer wp-core-ui rank-math-ui">
|
239 |
+
<button type="submit" class="button button-<?php echo $this->invalid_license ? 'primary alignright' : 'secondary'; ?>"><?php echo $this->invalid_license ? esc_html__( 'Activate Rank Math', 'rank-math' ) : esc_html__( 'Deactivate License', 'rank-math' ); ?></button>
|
240 |
+
<button type="submit" class="button button-<?php echo $this->invalid_license ? 'secondary' : 'primary alignright'; ?>" formnovalidate id="skip-registration" style="margin-right:15px"><?php echo $this->invalid_license ? esc_html__( 'Skip Now', 'rank-math' ) : esc_html__( 'Next', 'rank-math' ); ?></button>
|
241 |
+
</footer>
|
242 |
+
|
243 |
+
<script>
|
244 |
+
(function($){
|
245 |
+
$(function() {
|
246 |
+
$( '#skip-registration' ).on( 'click', function( event ) {
|
247 |
+
$('[name="action"]').val( 'rank_math_skip_wizard' );
|
248 |
+
$( this ).closest( '.cmb-form' );
|
249 |
+
});
|
250 |
+
|
251 |
+
$( '.cmb-form' ).on( 'keyup keypress', function( event ) {
|
252 |
+
var isValid = event.currentTarget.checkValidity();
|
253 |
+
|
254 |
+
var keyCode = event.keyCode || event.which;
|
255 |
+
if ( ! isValid && 13 === keyCode ) {
|
256 |
+
event.preventDefault();
|
257 |
+
return false;
|
258 |
+
}
|
259 |
+
});
|
260 |
+
|
261 |
+
// Required Field
|
262 |
+
$( '.required, [required]' ).on( 'input invalid', function( event ) {
|
263 |
+
event.preventDefault();
|
264 |
+
|
265 |
+
var input = $( this );
|
266 |
+
if ( ! event.target.validity.valid ) {
|
267 |
+
input.addClass( 'invalid animated shake' );
|
268 |
+
} else {
|
269 |
+
input.removeClass( 'invalid animated shake' );
|
270 |
+
}
|
271 |
+
});
|
272 |
+
|
273 |
+
});
|
274 |
+
})(jQuery);
|
275 |
+
</script>
|
276 |
+
<?php
|
277 |
+
}
|
278 |
+
|
279 |
+
/**
|
280 |
+
* 2.b. Handles form for register page.
|
281 |
+
*/
|
282 |
+
protected function register_form() {
|
283 |
+
|
284 |
+
if ( $this->invalid_license ) {
|
285 |
+
|
286 |
+
$this->cmb->add_field( array(
|
287 |
+
'id' => 'username',
|
288 |
+
'type' => 'text',
|
289 |
+
'name' => esc_html__( 'Username/Email', 'rank-math' ),
|
290 |
+
'classes' => 'nob nopb',
|
291 |
+
'attributes' => array(
|
292 |
+
'required' => '',
|
293 |
+
'autocomplete' => 'off',
|
294 |
+
),
|
295 |
+
'after' => '<span class="validation-message">' . esc_html__( 'This field is required.', 'rank-math' ) . '</span>',
|
296 |
+
));
|
297 |
+
|
298 |
+
$this->cmb->add_field( array(
|
299 |
+
'id' => 'validation_code',
|
300 |
+
'type' => 'text',
|
301 |
+
'name' => esc_html__( 'Password', 'rank-math' ),
|
302 |
+
'classes' => 'nob nopb',
|
303 |
+
'attributes' => array(
|
304 |
+
'required' => '',
|
305 |
+
'autocomplete' => 'off',
|
306 |
+
'type' => 'password',
|
307 |
+
),
|
308 |
+
'after' => '<span class="validation-message">' . esc_html__( 'This field is required.', 'rank-math' ) . '</span>',
|
309 |
+
));
|
310 |
+
|
311 |
+
}
|
312 |
+
$settings = get_option( 'rank-math-options-general' );
|
313 |
+
$this->cmb->add_field( array(
|
314 |
+
'id' => 'rank-math-usage-tracking',
|
315 |
+
'type' => 'checkbox',
|
316 |
+
/* translators: Link to MyThemeShop privay policy */
|
317 |
+
'name' => sprintf( __( 'Gathering usage data helps us make Rank Math SEO plugin better - for you. By understanding how you use Rank Math, we can introduce new features and find out if existing features are working well for you. If you don’t want us to collect data from your website, uncheck the tickbox. Please note that licensing information may still be sent back to us for authentication. We collect data anonymously, read more %s.', 'rank-math' ), '<a href="https://link.mythemeshop.com/rm-privacy" target="_blank">here</a>' ),
|
318 |
+
'classes' => 'nob nopb',
|
319 |
+
'default' => ( isset( $settings['usage_tracking'] ) && 'off' === $settings['usage_tracking'] ) ? '' : 'on',
|
320 |
+
));
|
321 |
+
}
|
322 |
+
|
323 |
+
/**
|
324 |
+
* 2.c. Handles save button from register page.
|
325 |
+
*
|
326 |
+
* @param array $values Array of values for the step to process.
|
327 |
+
*/
|
328 |
+
protected function register_handler( $values ) {
|
329 |
+
|
330 |
+
if ( ! isset( $values['username'] ) ) {
|
331 |
+
delete_option( 'mts_connect_data' );
|
332 |
+
return;
|
333 |
+
}
|
334 |
+
|
335 |
+
$values = wp_parse_args( $values, array(
|
336 |
+
'username' => '',
|
337 |
+
'validation_code' => '',
|
338 |
+
) );
|
339 |
+
return Helper::register_product( $values['username'], $values['validation_code'] );
|
340 |
+
}
|
341 |
+
|
342 |
+
/**
|
343 |
+
* Get the next step link.
|
344 |
+
*/
|
345 |
+
public function step_next_link() {
|
346 |
+
$keys = array_keys( $this->steps );
|
347 |
+
$step = array_search( $this->step, $keys, true ) + 1;
|
348 |
+
|
349 |
+
return add_query_arg( 'step', $keys[ $step ], GlobalHelper::get_admin_url( 'wizard' ) );
|
350 |
+
}
|
351 |
+
|
352 |
+
/**
|
353 |
+
* Setup steps.
|
354 |
+
*/
|
355 |
+
public function steps() {
|
356 |
+
|
357 |
+
$this->steps['register'] = array(
|
358 |
+
'name' => esc_html__( 'Register', 'rank-math' ),
|
359 |
+
'view' => array( $this, 'register' ),
|
360 |
+
'form' => array( $this, 'register_form' ),
|
361 |
+
'handler' => array( $this, 'register_handler' ),
|
362 |
+
'nav_hide' => true,
|
363 |
+
);
|
364 |
+
|
365 |
+
// Set Current Step.
|
366 |
+
$this->step = isset( $_REQUEST['step'] ) ? sanitize_key( $_REQUEST['step'] ) : current( array_keys( $this->steps ) );
|
367 |
+
$this->step_slug = isset( $this->steps[ $this->step ] ) ? strtolower( $this->steps[ $this->step ]['name'] ) : '';
|
368 |
+
}
|
369 |
+
|
370 |
+
/**
|
371 |
+
* Set string.
|
372 |
+
*/
|
373 |
+
private function strings() {
|
374 |
+
|
375 |
+
// Strings passed in from the config file.
|
376 |
+
$this->strings = array(
|
377 |
+
'title' => esc_html__( 'Rank Math Product Registration', 'rank-math' ),
|
378 |
+
'return-to-dashboard' => esc_html__( 'Return to dashboard', 'rank-math' ),
|
379 |
+
);
|
380 |
+
|
381 |
+
$options = get_option( 'mts_connect_data', false );
|
382 |
+
$this->invalid_license = empty( $options ) ? true : false;
|
383 |
+
}
|
384 |
+
|
385 |
+
/**
|
386 |
+
* Is the page is currrent page.
|
387 |
+
*
|
388 |
+
* @return bool
|
389 |
+
*/
|
390 |
+
public function is_current_page() {
|
391 |
+
|
392 |
+
$page = isset( $_GET['page'] ) && ! empty( $_GET['page'] ) ? filter_input( INPUT_GET, 'page' ) : false;
|
393 |
+
return $page === $this->slug;
|
394 |
+
}
|
395 |
+
|
396 |
+
/**
|
397 |
+
* Get view file to display.
|
398 |
+
*
|
399 |
+
* @param string $view View to display.
|
400 |
+
* @return string
|
401 |
+
*/
|
402 |
+
public function get_view( $view ) {
|
403 |
+
|
404 |
+
if ( 'navigation' === $view ) {
|
405 |
+
return Helper::get_view( 'wizard/no-navigation' );
|
406 |
+
}
|
407 |
+
|
408 |
+
return Helper::get_view( "wizard/{$view}" );
|
409 |
+
}
|
410 |
+
}
|
includes/admin/class-serp-checklist.php
ADDED
@@ -0,0 +1,371 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The serp checklist functionality.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\CMB2;
|
14 |
+
use RankMath\Helper as GlobalHelper;
|
15 |
+
|
16 |
+
defined( 'ABSPATH' ) || exit;
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Serp_Checklist class.
|
20 |
+
*/
|
21 |
+
class Serp_Checklist {
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Display SERP checklist.
|
25 |
+
*/
|
26 |
+
public function display() {
|
27 |
+
$locale = array();
|
28 |
+
$method = 'display_' . CMB2::current_object_type() . '_list';
|
29 |
+
?>
|
30 |
+
<div id="rank-math-serp-checklist" class="rank-math-serp-checklist">
|
31 |
+
<?php
|
32 |
+
foreach ( $this->get_groups() as $group => $state ) :
|
33 |
+
$list = $this->$method();
|
34 |
+
if ( isset( $list[ $group ] ) ) :
|
35 |
+
?>
|
36 |
+
<div id="rank-math-serp-group-<?php echo $group; ?>" class="rank-math-serp-group state-<?php echo $state; ?>" data-id="<?php echo $group; ?>">
|
37 |
+
<div class="group-handle">
|
38 |
+
<span class="group-status"></span>
|
39 |
+
<h4><?php echo $this->get_heading( $group ); ?></h4>
|
40 |
+
<button type="button" class="group-handlediv" aria-expanded="true"><span class="screen-reader-text"><?php printf( esc_html__( 'Toggle tests: %s', 'rank-math' ), $this->get_heading( $group ) ); // @codingStandardsIgnoreLine ?></span><span class="toggle-indicator" aria-hidden="true"></span></button>
|
41 |
+
</div>
|
42 |
+
<ul>
|
43 |
+
<?php $this->print_list( $list[ $group ], $locale ); ?>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
<?php
|
47 |
+
endif;
|
48 |
+
endforeach;
|
49 |
+
?>
|
50 |
+
</div>
|
51 |
+
<?php
|
52 |
+
rank_math()->add_json( 'assessor', array( '__' => $locale ) );
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Display SERP checklist for posts.
|
57 |
+
*/
|
58 |
+
private function display_post_list() {
|
59 |
+
$is_connected = GlobalHelper::is_mythemeshop_connected();
|
60 |
+
|
61 |
+
/* translators: link to registration screen */
|
62 |
+
$power_words_not_connected = sprintf( esc_html__( 'Please connect your %s to calculate the Power Words used.', 'rank-math' ), '<a href="' . GlobalHelper::get_admin_url( '', 'view=help' ) . '" target="_blank">MyThemeShop account</a>' );
|
63 |
+
/* translators: link to registration screen */
|
64 |
+
$sentiments_not_connected = sprintf( esc_html__( 'Please connect your %s to calculate the Sentiments of the content.', 'rank-math' ), '<a href="' . GlobalHelper::get_admin_url( '', 'view=help' ) . '" target="_blank">MyThemeShop account</a>' );
|
65 |
+
|
66 |
+
return array(
|
67 |
+
'basic' => array(
|
68 |
+
'keywordInTitle' => array(
|
69 |
+
'ok' => esc_html__( 'Hurray! You\'re using Focus Keyword in the SEO Title.', 'rank-math' ),
|
70 |
+
'fail' => esc_html__( 'Focus Keyword does not appear in the SEO title.', 'rank-math' ),
|
71 |
+
'empty' => esc_html__( 'Add Focus Keyword to the SEO title.', 'rank-math' ),
|
72 |
+
'tooltip' => esc_html__( 'Make sure the focus keyword appears in the SEO post title too.', 'rank-math' ),
|
73 |
+
),
|
74 |
+
'keywordInMetaDescription' => array(
|
75 |
+
'ok' => esc_html__( 'Focus Keyword used inside SEO Meta Description.', 'rank-math' ),
|
76 |
+
'fail' => esc_html__( 'Focus Keyword not found in your SEO Meta Description.', 'rank-math' ),
|
77 |
+
'empty' => esc_html__( 'Add Focus Keyword to your SEO Meta Description.', 'rank-math' ),
|
78 |
+
'tooltip' => esc_html__( 'Make sure the focus keyword appears in the SEO description too.', 'rank-math' ),
|
79 |
+
),
|
80 |
+
'keywordInPermalink' => array(
|
81 |
+
'ok' => esc_html__( 'Focus Keyword used in the URL.', 'rank-math' ),
|
82 |
+
'fail' => esc_html__( 'Focus Keyword not found in the URL.', 'rank-math' ),
|
83 |
+
'empty' => esc_html__( 'Use Focus Keyword in the URL.', 'rank-math' ),
|
84 |
+
'tooltip' => esc_html__( 'Include the focus keyword in the slug (permalink) of this post.', 'rank-math' ),
|
85 |
+
),
|
86 |
+
'keywordIn10Content' => array(
|
87 |
+
'ok' => esc_html__( 'Focus Keyword appears in the first 10% of the content.', 'rank-math' ),
|
88 |
+
'fail' => esc_html__( 'Focus Keyword doesn\'t appear at the beginning of your content.', 'rank-math' ),
|
89 |
+
'empty' => esc_html__( 'Use Focus Keyword at the beginning of your content.', 'rank-math' ),
|
90 |
+
'tooltip' => esc_html__( 'The first 10% of the content should contain the Focus Keyword preferably at the beginning.', 'rank-math' ),
|
91 |
+
),
|
92 |
+
'keywordInContent' => array(
|
93 |
+
'ok' => esc_html__( 'Focus Keyword found in the content.', 'rank-math' ),
|
94 |
+
'fail' => esc_html__( 'Focus Keyword doesn\'t appear in the content.', 'rank-math' ),
|
95 |
+
'empty' => esc_html__( 'Use Focus Keyword in the content.', 'rank-math' ),
|
96 |
+
'tooltip' => esc_html__( 'It is recommended to make the focus keyword appear in the post content too.', 'rank-math' ),
|
97 |
+
),
|
98 |
+
'lengthContent' => array(
|
99 |
+
'ok' => esc_html__( 'Your content is {0} long. Good job!', 'rank-math' ),
|
100 |
+
'fail' => esc_html__( 'Your content is {0} long. Consider using at least 600 words.', 'rank-math' ),
|
101 |
+
/* translators: link to kb article */
|
102 |
+
'empty' => sprintf( esc_html__( 'Content should be %s long.', 'rank-math' ), '<a href="https://mythemeshop.com/kb/wordpress-seo-plugin-rank-math/score-100-in-tests/?utm_source=Rank+Math+Plugin&utm_medium=LP+CPC&utm_content=Rank+Math+KB&utm_campaign=Rank+Math#content-length" target="_blank">600-2500 words</a>' ),
|
103 |
+
'tooltip' => esc_html__( 'Minimum recommended content length should be 600 words.', 'rank-math' ),
|
104 |
+
),
|
105 |
+
),
|
106 |
+
'advanced' => array(
|
107 |
+
'lengthPermalink' => array(
|
108 |
+
'ok' => esc_html__( 'URL is {0} characters long. Kudos!', 'rank-math' ),
|
109 |
+
'fail' => esc_html__( 'URL is {0} characters long. Considering shortening it.', 'rank-math' ),
|
110 |
+
'empty' => esc_html__( 'URL unavailable. Add a short URL.', 'rank-math' ),
|
111 |
+
'tooltip' => esc_html__( 'Permalink should be at most 25 characters long.', 'rank-math' ),
|
112 |
+
),
|
113 |
+
'keywordInSubheadings' => array(
|
114 |
+
'ok' => esc_html__( 'Focus Keyword found in the subheading(s).', 'rank-math' ),
|
115 |
+
'fail' => esc_html__( 'Focus Keyword not found in subheading(s) like H2, H3, H4, etc..', 'rank-math' ),
|
116 |
+
'empty' => esc_html__( 'Use Focus Keyword in subheading(s) like H2, H3, H4, etc..', 'rank-math' ),
|
117 |
+
'tooltip' => esc_html__( 'It is recommended to add the focus keyword as part of one or more subheadings in the content.', 'rank-math' ),
|
118 |
+
),
|
119 |
+
'keywordInImageAlt' => array(
|
120 |
+
'ok' => esc_html__( 'Focus Keyword found in image alt attribute(s).', 'rank-math' ),
|
121 |
+
'fail' => esc_html__( 'Focus Keyword not found in image alt attribute(s).', 'rank-math' ),
|
122 |
+
'empty' => esc_html__( 'Add an image with your Focus Keyword as alt text.', 'rank-math' ),
|
123 |
+
'tooltip' => esc_html__( 'It is recommended to add the focus keyword in the alt attribute of one or more images.', 'rank-math' ),
|
124 |
+
),
|
125 |
+
'linksHasExternals' => array(
|
126 |
+
'ok' => esc_html__( 'Great! You are linking to external resources.', 'rank-math' ),
|
127 |
+
'fail' => esc_html__( 'No outbound links were found. Link out to external resources.', 'rank-math' ),
|
128 |
+
'empty' => esc_html__( 'Link out to external resources.', 'rank-math' ),
|
129 |
+
'tooltip' => esc_html__( 'It helps visitors read more about a topic and prevents pogosticking.', 'rank-math' ),
|
130 |
+
),
|
131 |
+
'linksNotAllExternals' => array(
|
132 |
+
'ok' => esc_html__( 'At least one external link with DoFollow found in your content.', 'rank-math' ),
|
133 |
+
'fail' => esc_html__( 'We found {0} outbound links in your content and all of them are nofollow.', 'rank-math' ),
|
134 |
+
'empty' => esc_html__( 'Add DoFollow links pointing to external resources.', 'rank-math' ),
|
135 |
+
'tooltip' => esc_html__( 'PageRank Sculpting no longer works. Your posts should have a mix of nofollow and DoFollow links.', 'rank-math' ),
|
136 |
+
),
|
137 |
+
'keywordDensity' => array(
|
138 |
+
'ok' => esc_html__( 'Keyword Density is {0}, the Focus Keyword and combination appears {1} times.', 'rank-math' ),
|
139 |
+
'fail' => esc_html__( 'Keyword Density is {0}, the Focus Keyword and combination appears {1} times.', 'rank-math' ),
|
140 |
+
'empty' => esc_html__( 'Keyword Density is {0}. Aim for around 1% Keyword Density.', 'rank-math' ),
|
141 |
+
'tooltip' => esc_html__( 'There is no ideal keyword density percentage, but it should not be too high. The most important thing is to keep the copy natural.', 'rank-math' ),
|
142 |
+
),
|
143 |
+
'linksHasInternal' => array(
|
144 |
+
'ok' => esc_html__( 'You are linking to other resources on your website which is great.', 'rank-math' ),
|
145 |
+
'fail' => esc_html__( 'We couldn\'t find any internal links in your content.', 'rank-math' ),
|
146 |
+
'empty' => esc_html__( 'Add internal links in your content.', 'rank-math' ),
|
147 |
+
'tooltip' => esc_html__( 'Internal links decrease your bounce rate and improve SEO.', 'rank-math' ),
|
148 |
+
),
|
149 |
+
'keywordNotUsed' => array(
|
150 |
+
'ok' => esc_html__( 'You haven\'t used this Focus Keyword before.', 'rank-math' ),
|
151 |
+
/* translators: focus keyword link */
|
152 |
+
'fail' => sprintf( esc_html__( 'You have %s this Focus Keyword.', 'rank-math' ), '<a target="_blank" class="focus-keyword-link" href="' . admin_url( 'edit.php?focus_keyword=%focus_keyword%&post_type=%post_type%' ) . '">' . __( 'already used', 'rank-math' ) . '</a>' ),
|
153 |
+
'empty' => esc_html__( 'Set a Focus Keyword for this content.', 'rank-math' ),
|
154 |
+
'looking' => esc_html__( 'We are searching in database.', 'rank-math' ),
|
155 |
+
),
|
156 |
+
),
|
157 |
+
'title-readability' => array(
|
158 |
+
'titleStartWithKeyword' => array(
|
159 |
+
'ok' => esc_html__( 'Focus Keyword used at the beginning of SEO title.', 'rank-math' ),
|
160 |
+
'fail' => esc_html__( 'Focus Keyword doesn\'t appear at the beginning of SEO title.', 'rank-math' ),
|
161 |
+
'empty' => esc_html__( 'Use the Focus Keyword near the beginning of SEO title.', 'rank-math' ),
|
162 |
+
'tooltip' => esc_html__( 'The SEO page title should contain the Focus Keyword preferably at the beginning.', 'rank-math' ),
|
163 |
+
),
|
164 |
+
'titleSentiment' => array(
|
165 |
+
'ok' => $is_connected ? esc_html__( 'Your title has a positive or a negative sentiment.', 'rank-math' ) : $sentiments_not_connected,
|
166 |
+
/* translators: link to kb article */
|
167 |
+
'fail' => $is_connected ? sprintf( __( 'Your title doesn\'t contain a %s word.', 'rank-math' ), '<a href="https://monkeylearn.com/sentiment-analysis/" target="_blank">positive or a negative sentiment</a>' ) : $sentiments_not_connected,
|
168 |
+
'empty' => esc_html__( 'Titles with positive or negative sentiment work best for higher CTR.', 'rank-math' ),
|
169 |
+
'tooltip' => esc_html__( 'Headlines with a strong emotional sentiment (positive or negative) tend to receive more clicks.', 'rank-math' ),
|
170 |
+
),
|
171 |
+
'titleHasPowerWords' => array(
|
172 |
+
'ok' => $is_connected ? esc_html__( 'Your title contains {0} power word(s). Booyah!', 'rank-math' ) : $power_words_not_connected,
|
173 |
+
/* translators: link to kb article */
|
174 |
+
'fail' => $is_connected ? sprintf( esc_html__( 'Your title doesn\'t contain a %s. Add at least one.', 'rank-math' ), '<a href="https://sumo.com/stories/power-words" target="_blank">power word</a>' ) : $power_words_not_connected,
|
175 |
+
/* translators: link to kb article */
|
176 |
+
'empty' => sprintf( esc_html__( 'Add %s to your title to increase CTR.', 'rank-math' ), '<a href="https://sumo.com/stories/power-words" target="_blank">power words</a>' ),
|
177 |
+
/* translators: link to registration screen */
|
178 |
+
'tooltip' => esc_html__( 'Power Words are tried-and-true words that copywriters use to attract more clicks.', 'rank-math' ),
|
179 |
+
),
|
180 |
+
'titleHasNumber' => array(
|
181 |
+
'ok' => esc_html__( 'You are using a number in your SEO title.', 'rank-math' ),
|
182 |
+
'fail' => esc_html__( 'Your SEO title doesn\'t contain a number.', 'rank-math' ),
|
183 |
+
'empty' => esc_html__( 'Add a number to your title to improve CTR.', 'rank-math' ),
|
184 |
+
'tooltip' => esc_html__( 'Headlines with numbers are 36% more likely to generate clicks, according to research by Conductor.', 'rank-math' ),
|
185 |
+
),
|
186 |
+
),
|
187 |
+
'content-readability' => array(
|
188 |
+
'contentHasTOC' => array(
|
189 |
+
/* translators: link to kb article */
|
190 |
+
'ok' => sprintf( esc_html__( 'You seem to be using a %s to break-down your text.', 'rank-math' ), '<a href="https://mythemeshop.com/kb/wordpress-seo-plugin-rank-math/score-100-in-tests/#table-of-contents?utm_source=Rank+Math+Plugin&utm_medium=LP+CPC&utm_content=Rank+Math+KB&utm_campaign=Rank+Math" target="_blank">Table of Contents plugin.</a>' ),
|
191 |
+
/* translators: link to kb article */
|
192 |
+
'fail' => sprintf( esc_html__( 'You don\'t seem to be using a %s.', 'rank-math' ), '<a href="https://mythemeshop.com/kb/wordpress-seo-plugin-rank-math/score-100-in-tests/#table-of-contents?utm_source=Rank+Math+Plugin&utm_medium=LP+CPC&utm_content=Rank+Math+KB&utm_campaign=Rank+Math" target="_blank">Table of Contents plugin.</a>' ),
|
193 |
+
'empty' => esc_html__( 'Use Table of Content to break-down your text.', 'rank-math' ),
|
194 |
+
'tooltip' => esc_html__( ' Table of Contents help break down content into smaller, digestible chunks. It makes reading easier which in turn results in better rankings.', 'rank-math' ),
|
195 |
+
),
|
196 |
+
'calculateFleschReading' => array(
|
197 |
+
/* translators: Link to kb article */
|
198 |
+
'ok' => esc_html__( 'Your Flesch Readability score is {1} and is regarded as {0}', 'rank-math' ),
|
199 |
+
'fail' => esc_html__( 'Your Flesch Readability score is {1} and is regarded as {0}.', 'rank-math' ),
|
200 |
+
'empty' => esc_html__( 'Add some content to calculate Flesch Readability score.', 'rank-math' ),
|
201 |
+
'tooltip' => esc_html__( 'Try to make shorter sentences, using less difficult words to improve readability.', 'rank-math' ),
|
202 |
+
),
|
203 |
+
'contentHasShortParagraphs' => array(
|
204 |
+
'ok' => esc_html__( 'Kudos! You are using short paragraphs.', 'rank-math' ),
|
205 |
+
'fail' => esc_html__( 'At least one paragraph is long. Consider using short paragraphs.', 'rank-math' ),
|
206 |
+
'empty' => esc_html__( 'Add short and concise paragraphs for better readability and UX.', 'rank-math' ),
|
207 |
+
'tooltip' => esc_html__( 'Short paragraphs are easier to read and more pleasing to the eye. Long paragraphs scare the visitor, and they might result to SERPs looking for better readable content.', 'rank-math' ),
|
208 |
+
),
|
209 |
+
'contentHasAssets' => array(
|
210 |
+
'ok' => esc_html__( 'Your content contains images and/or video(s).', 'rank-math' ),
|
211 |
+
'fail' => esc_html__( 'You are not using rich media like images or videos.', 'rank-math' ),
|
212 |
+
'empty' => esc_html__( 'Add a few images and/or videos to make your content appealing.', 'rank-math' ),
|
213 |
+
'tooltip' => esc_html__( 'Content with images and/or video feels more inviting to users. It also helps supplement your textual content.', 'rank-math' ),
|
214 |
+
),
|
215 |
+
),
|
216 |
+
);
|
217 |
+
}
|
218 |
+
|
219 |
+
/**
|
220 |
+
* Display SERP checklist for terms.
|
221 |
+
*/
|
222 |
+
private function display_term_list() {
|
223 |
+
return array(
|
224 |
+
'basic' => array(
|
225 |
+
'keywordInTitle' => array(
|
226 |
+
'ok' => esc_html__( 'Hurray! You\'re using Focus Keyword in the SEO Title.', 'rank-math' ),
|
227 |
+
'fail' => esc_html__( 'Focus Keyword does not appear in the SEO title.', 'rank-math' ),
|
228 |
+
'empty' => esc_html__( 'Add Focus Keyword to the SEO title.', 'rank-math' ),
|
229 |
+
'tooltip' => esc_html__( 'Make sure the focus keyword appears in the SEO Term too.', 'rank-math' ),
|
230 |
+
),
|
231 |
+
'keywordInMetaDescription' => array(
|
232 |
+
'ok' => esc_html__( 'Focus Keyword used inside SEO Meta Description.', 'rank-math' ),
|
233 |
+
'fail' => esc_html__( 'Focus Keyword not found in your SEO Meta Description.', 'rank-math' ),
|
234 |
+
'empty' => esc_html__( 'Add Focus Keyword to your SEO Meta Description.', 'rank-math' ),
|
235 |
+
'tooltip' => esc_html__( 'Make sure the focus keyword appears in the SEO description too.', 'rank-math' ),
|
236 |
+
),
|
237 |
+
'keywordInPermalink' => array(
|
238 |
+
'ok' => esc_html__( 'Focus Keyword used in the URL.', 'rank-math' ),
|
239 |
+
'fail' => esc_html__( 'Focus Keyword not found in the URL.', 'rank-math' ),
|
240 |
+
'empty' => esc_html__( 'Use Focus Keyword in the URL.', 'rank-math' ),
|
241 |
+
'tooltip' => esc_html__( 'Include the focus keyword in the slug (permalink) of this term.', 'rank-math' ),
|
242 |
+
),
|
243 |
+
),
|
244 |
+
'advanced' => array(
|
245 |
+
'titleStartWithKeyword' => array(
|
246 |
+
'ok' => esc_html__( 'Focus Keyword used at the beginning of SEO title.', 'rank-math' ),
|
247 |
+
'fail' => esc_html__( 'Focus Keyword doesn\'t appear at the beginning of SEO title.', 'rank-math' ),
|
248 |
+
'empty' => esc_html__( 'Use the Focus Keyword near the beginning of SEO title.', 'rank-math' ),
|
249 |
+
'tooltip' => esc_html__( 'The SEO Term title should contain the Focus Keyword preferably at the beginning.', 'rank-math' ),
|
250 |
+
),
|
251 |
+
'keywordNotUsed' => array(
|
252 |
+
'ok' => esc_html__( 'You haven\'t used this Focus Keyword before.', 'rank-math' ),
|
253 |
+
'fail' => esc_html__( 'You have already used this Focus Keyword.', 'rank-math' ),
|
254 |
+
'empty' => esc_html__( 'Set a Focus Keyword for this content.', 'rank-math' ),
|
255 |
+
),
|
256 |
+
),
|
257 |
+
);
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
* Display SERP checklist for users.
|
262 |
+
*/
|
263 |
+
private function display_user_list() {
|
264 |
+
return array(
|
265 |
+
'basic' => array(
|
266 |
+
'keywordInTitle' => array(
|
267 |
+
'ok' => esc_html__( 'Hurray! You\'re using Focus Keyword in the SEO Title.', 'rank-math' ),
|
268 |
+
'fail' => esc_html__( 'Focus Keyword does not appear in the SEO title.', 'rank-math' ),
|
269 |
+
'empty' => esc_html__( 'Add Focus Keyword to the SEO title.', 'rank-math' ),
|
270 |
+
'tooltip' => esc_html__( 'Make sure the focus keyword appears in the SEO Author too.', 'rank-math' ),
|
271 |
+
),
|
272 |
+
'keywordInMetaDescription' => array(
|
273 |
+
'ok' => esc_html__( 'Focus Keyword used inside SEO Meta Description.', 'rank-math' ),
|
274 |
+
'fail' => esc_html__( 'Focus Keyword not found in your SEO Meta Description.', 'rank-math' ),
|
275 |
+
'empty' => esc_html__( 'Add Focus Keyword to your SEO Meta Description.', 'rank-math' ),
|
276 |
+
'tooltip' => esc_html__( 'Make sure the focus keyword appears in the SEO description too.', 'rank-math' ),
|
277 |
+
),
|
278 |
+
'keywordInPermalink' => array(
|
279 |
+
'ok' => esc_html__( 'Focus Keyword used in the URL.', 'rank-math' ),
|
280 |
+
'fail' => esc_html__( 'Focus Keyword not found in the URL.', 'rank-math' ),
|
281 |
+
'empty' => esc_html__( 'Use Focus Keyword in the URL.', 'rank-math' ),
|
282 |
+
'tooltip' => esc_html__( 'Include the focus keyword in the slug (permalink) of this author.', 'rank-math' ),
|
283 |
+
),
|
284 |
+
),
|
285 |
+
'advanced' => array(
|
286 |
+
'titleStartWithKeyword' => array(
|
287 |
+
'ok' => esc_html__( 'Focus Keyword used at the beginning of SEO title.', 'rank-math' ),
|
288 |
+
'fail' => esc_html__( 'Focus Keyword doesn\'t appear at the beginning of SEO title.', 'rank-math' ),
|
289 |
+
'empty' => esc_html__( 'Use the Focus Keyword near the beginning of SEO title.', 'rank-math' ),
|
290 |
+
'tooltip' => esc_html__( 'The SEO Author title should contain the Focus Keyword preferably at the beginning.', 'rank-math' ),
|
291 |
+
),
|
292 |
+
'keywordNotUsed' => array(
|
293 |
+
'ok' => esc_html__( 'You haven\'t used this Focus Keyword before.', 'rank-math' ),
|
294 |
+
'fail' => esc_html__( 'You have already used this Focus Keyword.', 'rank-math' ),
|
295 |
+
'empty' => esc_html__( 'Set a Focus Keyword for this content.', 'rank-math' ),
|
296 |
+
),
|
297 |
+
),
|
298 |
+
);
|
299 |
+
}
|
300 |
+
|
301 |
+
/**
|
302 |
+
* Print checklist.
|
303 |
+
*
|
304 |
+
* @param array $list Array of checklist to print.
|
305 |
+
* @param array $locale Array of locale strings.
|
306 |
+
*/
|
307 |
+
private function print_list( $list, &$locale ) {
|
308 |
+
$primary = array(
|
309 |
+
'keywordInTitle',
|
310 |
+
'keywordInMetaDescription',
|
311 |
+
'keywordInPermalink',
|
312 |
+
'keywordIn10Content',
|
313 |
+
'keywordInImageAlt',
|
314 |
+
'keywordNotUsed',
|
315 |
+
'titleStartWithKeyword',
|
316 |
+
);
|
317 |
+
|
318 |
+
foreach ( $list as $id => $item ) :
|
319 |
+
|
320 |
+
if ( 'en' !== substr( get_locale(), 0, 2 ) && in_array( $id, array( 'titleSentiment', 'titleHasPowerWords' ) ) ) {
|
321 |
+
continue;
|
322 |
+
}
|
323 |
+
|
324 |
+
$locale[ $id . '.ok' ] = $item['ok'];
|
325 |
+
$locale[ $id . '.fail' ] = $item['fail'];
|
326 |
+
foreach ( array( 'empty', 'looking' ) as $key ) {
|
327 |
+
if ( ! empty( $item[ $key ] ) ) {
|
328 |
+
$locale[ $id . '.' . $key ] = $item[ $key ];
|
329 |
+
}
|
330 |
+
}
|
331 |
+
?>
|
332 |
+
<li class="seo-check-<?php echo $id; ?> test-fail<?php echo in_array( $id, $primary ) ? ' is-primary' : ''; ?>">
|
333 |
+
<span class="seo-check-text"><?php echo str_replace( array( '{0}', '{1}' ), '_', $item['fail'] ); ?></span>
|
334 |
+
<?php echo isset( $item['tooltip'] ) ? Helper::get_tooltip( $item['tooltip'] ) : ''; ?>
|
335 |
+
</li>
|
336 |
+
<?php
|
337 |
+
endforeach;
|
338 |
+
}
|
339 |
+
|
340 |
+
/**
|
341 |
+
* Get heading of the checklist heading.
|
342 |
+
*
|
343 |
+
* @param string $id ID of the checklist section.
|
344 |
+
* @return string
|
345 |
+
*/
|
346 |
+
private function get_heading( $id ) {
|
347 |
+
$hash = array(
|
348 |
+
'basic' => esc_html__( 'Basic SEO', 'rank-math' ),
|
349 |
+
'advanced' => esc_html__( 'Additional', 'rank-math' ),
|
350 |
+
'title-readability' => esc_html__( 'Title Readability', 'rank-math' ),
|
351 |
+
'content-readability' => esc_html__( 'Content Readability', 'rank-math' ),
|
352 |
+
);
|
353 |
+
|
354 |
+
return isset( $hash[ $id ] ) ? $hash[ $id ] : esc_html__( 'Unkown', 'rank-math' );
|
355 |
+
}
|
356 |
+
|
357 |
+
/**
|
358 |
+
* Get checklist groups.
|
359 |
+
*/
|
360 |
+
private function get_groups() {
|
361 |
+
$defaults = array(
|
362 |
+
'basic' => 'open',
|
363 |
+
'advanced' => 'open',
|
364 |
+
'title-readability' => 'open',
|
365 |
+
'content-readability' => 'open',
|
366 |
+
);
|
367 |
+
$groups = get_user_meta( get_current_user_id(), 'rank_math_metabox_checklist_layout', true );
|
368 |
+
|
369 |
+
return $groups ? array_merge( $defaults, $groups ) : $defaults;
|
370 |
+
}
|
371 |
+
}
|
includes/admin/class-serp-preview.php
ADDED
@@ -0,0 +1,474 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The serp preview functionality.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\CMB2;
|
14 |
+
use RankMath\Rewrite;
|
15 |
+
use RankMath\Helper as GlobalHelper;
|
16 |
+
|
17 |
+
defined( 'ABSPATH' ) || exit;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Serp_Preview class.
|
21 |
+
*/
|
22 |
+
class Serp_Preview {
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Display SERP preview.
|
26 |
+
*/
|
27 |
+
public function display() {
|
28 |
+
$method = 'get_' . CMB2::current_object_type() . '_data';
|
29 |
+
$data = $this->$method();
|
30 |
+
if ( 'post' === CMB2::current_object_type() && GlobalHelper::is_module_active( 'rich-snippet' ) ) {
|
31 |
+
$snippet_preview = $this->get_snippet_html();
|
32 |
+
}
|
33 |
+
$snippet_type = isset( $snippet_preview['type'] ) ? $snippet_preview['type'] : '';
|
34 |
+
$desktop_preview = isset( $snippet_preview['desktop'] ) ? $snippet_preview['desktop'] : '';
|
35 |
+
$mobile_preview = isset( $snippet_preview['mobile'] ) ? $snippet_preview['mobile'] : '';
|
36 |
+
?>
|
37 |
+
<div class="serp-preview desktop-preview">
|
38 |
+
|
39 |
+
<div class="serp-preview-title" data-title="<?php esc_attr_e( 'Preview', 'rank-math' ); ?>" data-desktop="<?php esc_attr_e( 'Desktop Preview', 'rank-math' ); ?>" data-mobile="<?php esc_attr_e( 'Mobile Preview', 'rank-math' ); ?>">
|
40 |
+
<div class="alignright">
|
41 |
+
<a href="#" class="button button-secondary rank-math-select-device device-desktop" data-device="desktop"><span class="dashicons dashicons-desktop"></span></a>
|
42 |
+
<a href="#" class="button button-secondary rank-math-select-device device-mobile" data-device="mobile"><span class="dashicons dashicons-smartphone"></span></a>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<div class="serp-preview-wrapper">
|
47 |
+
<div class="serp-preview-bg">
|
48 |
+
<div class="serp-preview-input">
|
49 |
+
<input type="text" value="MyThemeShop" disabled />
|
50 |
+
<span class="serp-search">
|
51 |
+
<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></svg>
|
52 |
+
</span>
|
53 |
+
<span class="serp-mike"></span>
|
54 |
+
</div>
|
55 |
+
<div class="serp-preview-menus">
|
56 |
+
<ul>
|
57 |
+
<li class="current">All</li>
|
58 |
+
<li>Images</li>
|
59 |
+
<li>Videos</li>
|
60 |
+
<li>News</li>
|
61 |
+
<li>Maps</li>
|
62 |
+
<li>More</li>
|
63 |
+
</ul>
|
64 |
+
<ul class="menus-right">
|
65 |
+
<li>Settings</li>
|
66 |
+
<li>Tools</li>
|
67 |
+
</ul>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<div class="serp-preview-result-stats">
|
71 |
+
About 43,70,000 results (0.32 seconds)
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
<div class="serp-preview-body">
|
76 |
+
|
77 |
+
<h5 class="serp-title" data-format="<?php echo esc_attr( $data['title_format'] ); ?>" data-empty-title="<?php esc_attr_e( 'Click to enter custom title', 'rank-math' ); ?>"></h5>
|
78 |
+
|
79 |
+
<span class="serp-url" data-baseurl="<?php echo trailingslashit( substr( $data['url'], 0, strrpos( $data['url'], '/' ) ) ); ?>" data-format="<?php echo esc_attr( $data['permalink_format'] ); ?>" data-empty-title="<?php esc_attr_e( 'Click to enter permalink', 'rank-math' ); ?>"><?php echo esc_url( $data['permalink'] ); ?></span>
|
80 |
+
<?php
|
81 |
+
if ( 'event' !== $snippet_type ) {
|
82 |
+
echo $desktop_preview;
|
83 |
+
}
|
84 |
+
?>
|
85 |
+
|
86 |
+
<p class="serp-description" data-format="<?php echo esc_attr( $data['desc_format'] ); ?>" data-empty-title="<?php esc_attr_e( 'Click to enter custom meta description', 'rank-math' ); ?>"></p>
|
87 |
+
|
88 |
+
<?php
|
89 |
+
if ( 'event' === $snippet_type ) {
|
90 |
+
echo $desktop_preview;
|
91 |
+
}
|
92 |
+
|
93 |
+
echo $mobile_preview;
|
94 |
+
?>
|
95 |
+
|
96 |
+
</div>
|
97 |
+
|
98 |
+
<div class="serp-preview-noindex">
|
99 |
+
<h3><?php esc_html_e( 'Noindex robots meta is enabled', 'rank-math' ); ?></h3>
|
100 |
+
<p><?php esc_html_e( 'This page will not appear in search results. You can disable noindex in the Advanced tab.', 'rank-math' ); ?></p>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
<div class="serp-preview-footer wp-clearfix">
|
104 |
+
|
105 |
+
<div class="rank-math-ui">
|
106 |
+
<a href="#" class="button button-secondary rank-math-edit-snippet"><span class="dashicons dashicons-edit"></span><?php esc_html_e( 'Edit Snippet', 'rank-math' ); ?></a>
|
107 |
+
<a href="#" class="button button-secondary rank-math-edit-snippet hidden"><span class="dashicons dashicons-no-alt"></span> Close Editor</a>
|
108 |
+
</div>
|
109 |
+
|
110 |
+
</div>
|
111 |
+
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
<?php
|
115 |
+
}
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Get post data for SERP preview.
|
119 |
+
*
|
120 |
+
* @return array
|
121 |
+
*/
|
122 |
+
private function get_post_data() {
|
123 |
+
global $post;
|
124 |
+
setup_postdata( $post );
|
125 |
+
|
126 |
+
$post_type = Helper::get_post_type();
|
127 |
+
$title_format = GlobalHelper::get_settings( "titles.pt_{$post_type}_title" );
|
128 |
+
$desc_format = GlobalHelper::get_settings( "titles.pt_{$post_type}_description" );
|
129 |
+
$title_format = $title_format ? $title_format : '%title%';
|
130 |
+
|
131 |
+
// Get the permalink.
|
132 |
+
list( $permalink_format ) = get_sample_permalink( $post->ID, null, null );
|
133 |
+
|
134 |
+
$permalink = $permalink_format;
|
135 |
+
if ( 'publish' === $post->post_status || 'attachment' === $post->post_type ) {
|
136 |
+
$permalink = get_permalink( $post );
|
137 |
+
} elseif ( 'auto-draft' === $post->post_status && 'post' === $post->post_type ) {
|
138 |
+
$post_temp = $post;
|
139 |
+
$post_temp->post_status = 'publish';
|
140 |
+
$permalink = get_permalink( $post_temp, true );
|
141 |
+
$permalink_format = $permalink;
|
142 |
+
} else {
|
143 |
+
$permalink = str_replace( array( '%pagename%', '%postname%' ), ( $post->post_name ? $post->post_name : sanitize_title( $post->post_title ) ), $permalink_format );
|
144 |
+
}
|
145 |
+
|
146 |
+
$url = untrailingslashit( esc_url( $permalink ) );
|
147 |
+
|
148 |
+
return compact( 'title_format', 'desc_format', 'url', 'permalink', 'permalink_format' );
|
149 |
+
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Get term data for SERP preview.
|
153 |
+
*
|
154 |
+
* @return array
|
155 |
+
*/
|
156 |
+
private function get_term_data() {
|
157 |
+
global $taxnow, $wp_rewrite;
|
158 |
+
|
159 |
+
$term_id = isset( $_REQUEST['tag_ID'] ) ? absint( $_REQUEST['tag_ID'] ) : 0;
|
160 |
+
$term = get_term( $term_id, $taxnow, OBJECT, 'edit' );
|
161 |
+
$taxonomy = get_taxonomy( $term->taxonomy );
|
162 |
+
|
163 |
+
$title_format = GlobalHelper::get_settings( "titles.tax_{$term->taxonomy}_title" );
|
164 |
+
$desc_format = GlobalHelper::get_settings( "titles.tax_{$term->taxonomy}_description" );
|
165 |
+
$title_format = $title_format ? $title_format : '%term%';
|
166 |
+
|
167 |
+
// Get the permalink.
|
168 |
+
$permalink = untrailingslashit( esc_url( get_term_link( $term_id, $term->taxonomy ) ) );
|
169 |
+
$termlink = $wp_rewrite->get_extra_permastruct( $term->taxonomy );
|
170 |
+
|
171 |
+
// Pretty permalinks disabled.
|
172 |
+
if ( empty( $termlink ) ) {
|
173 |
+
$permalink_format = $permalink;
|
174 |
+
} else {
|
175 |
+
|
176 |
+
$slugs = array();
|
177 |
+
$ancestors = get_ancestors( $term_id, $term->taxonomy, 'taxonomy' );
|
178 |
+
|
179 |
+
foreach ( (array) $ancestors as $ancestor ) {
|
180 |
+
$ancestor_term = get_term( $ancestor, $term->taxonomy );
|
181 |
+
$slugs[] = $ancestor_term->slug;
|
182 |
+
}
|
183 |
+
|
184 |
+
$slugs = array_reverse( $slugs );
|
185 |
+
$slugs[] = '%postname%';
|
186 |
+
$termlink = str_replace( "%$term->taxonomy%", implode( '/', $slugs ), $termlink );
|
187 |
+
$permalink_format = home_url( user_trailingslashit( $termlink, 'category' ) );
|
188 |
+
}
|
189 |
+
|
190 |
+
$url = untrailingslashit( esc_url( $permalink ) );
|
191 |
+
|
192 |
+
return compact( 'title_format', 'desc_format', 'url', 'permalink', 'permalink_format' );
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* Get user data for SERP preview.
|
197 |
+
*
|
198 |
+
* @return array
|
199 |
+
*/
|
200 |
+
private function get_user_data() {
|
201 |
+
global $user_id, $wp_rewrite;
|
202 |
+
|
203 |
+
$title_format = GlobalHelper::get_settings( 'titles.author_archive_title' );
|
204 |
+
$desc_format = GlobalHelper::get_settings( 'titles.author_archive_description' );
|
205 |
+
$title_format = $title_format ? $title_format : '%author%';
|
206 |
+
|
207 |
+
Rewrite::change_author_base();
|
208 |
+
$permalink = untrailingslashit( esc_url( get_author_posts_url( $user_id ) ) );
|
209 |
+
$link = $wp_rewrite->get_author_permastruct();
|
210 |
+
$permalink_format = empty( $link ) ? $permalink : $this->get_author_permalink( $link );
|
211 |
+
$url = untrailingslashit( esc_url( $permalink ) );
|
212 |
+
|
213 |
+
return compact( 'title_format', 'desc_format', 'url', 'permalink', 'permalink_format' );
|
214 |
+
}
|
215 |
+
|
216 |
+
/**
|
217 |
+
* Get user permalink
|
218 |
+
*
|
219 |
+
* @param string $link Permalink structure.
|
220 |
+
* @return string
|
221 |
+
*/
|
222 |
+
private function get_author_permalink( $link ) {
|
223 |
+
global $user_id;
|
224 |
+
|
225 |
+
$user = get_userdata( $user_id );
|
226 |
+
$nicename = '';
|
227 |
+
|
228 |
+
if ( ! empty( $user->user_nicename ) ) {
|
229 |
+
$nicename = $user->user_nicename;
|
230 |
+
}
|
231 |
+
|
232 |
+
$link = str_replace( '%author%', '%postname%', $link );
|
233 |
+
return home_url( user_trailingslashit( $link ) );
|
234 |
+
}
|
235 |
+
|
236 |
+
/**
|
237 |
+
* Get Snippet HTML for SERP preview.
|
238 |
+
*/
|
239 |
+
private function get_snippet_html() {
|
240 |
+
$snippet_data = $this->get_snippet_data();
|
241 |
+
if ( ! $snippet_data ) {
|
242 |
+
return false;
|
243 |
+
}
|
244 |
+
|
245 |
+
$data = $snippet_data['data'];
|
246 |
+
$rating = isset( $data['rating'] ) ? $data['rating'] : '';
|
247 |
+
$rating_count = isset( $data['rating_count'] ) ? $data['rating_count'] : '';
|
248 |
+
unset( $data['rating'] );
|
249 |
+
unset( $data['rating_count'] );
|
250 |
+
|
251 |
+
if ( isset( $data['price'] ) && isset( $data['currency'] ) ) {
|
252 |
+
$data['price'] = $data['currency'] . $data['price'];
|
253 |
+
unset( $data['currency'] );
|
254 |
+
}
|
255 |
+
|
256 |
+
$html = array(
|
257 |
+
'type' => $snippet_data['type'],
|
258 |
+
'desktop' => $this->get_desktop_preview( $data, $rating, $rating_count ),
|
259 |
+
'mobile' => $this->get_mobile_preview( $data, $rating, $rating_count ),
|
260 |
+
);
|
261 |
+
|
262 |
+
return $html;
|
263 |
+
}
|
264 |
+
|
265 |
+
/**
|
266 |
+
* Get desktop preview
|
267 |
+
*
|
268 |
+
* @param array $data Snippet data array.
|
269 |
+
* @param int $rating Ratings.
|
270 |
+
* @param int $rating_count Rating count.
|
271 |
+
* @return string
|
272 |
+
*/
|
273 |
+
private function get_desktop_preview( $data, $rating, $rating_count ) {
|
274 |
+
$preview = '';
|
275 |
+
$labels = array(
|
276 |
+
'price_range' => esc_html__( 'Price range: ', 'rank-math' ),
|
277 |
+
'calories' => esc_html__( 'Calories: ', 'rank-math' ),
|
278 |
+
'in_stock' => esc_html__( 'In stock', 'rank-math' ),
|
279 |
+
);
|
280 |
+
|
281 |
+
if ( $rating ) {
|
282 |
+
$preview .= $this->get_ratings( $rating );
|
283 |
+
/* translators: total reviews */
|
284 |
+
$preview .= '<span class="serp-rating-label">' . sprintf( esc_html__( 'Rating: %s', 'rank-math' ), esc_html( $rating ) ) . '</span>';
|
285 |
+
if ( $rating_count ) {
|
286 |
+
/* translators: total reviews */
|
287 |
+
$preview .= '<span class="serp-review-count"> - ' . sprintf( esc_html__( '%s reviews', 'rank-math' ), esc_html( $rating_count ) ) . '</span>';
|
288 |
+
}
|
289 |
+
}
|
290 |
+
|
291 |
+
foreach ( $data as $key => $value ) {
|
292 |
+
if ( ! $value ) {
|
293 |
+
continue;
|
294 |
+
}
|
295 |
+
|
296 |
+
if ( ! in_array( $key, array( 'event_date', 'event_place', 'event_name' ) ) ) {
|
297 |
+
$preview .= '<span class="separator"> - </span>';
|
298 |
+
}
|
299 |
+
|
300 |
+
$preview .= '<span class="serp-' . $key . '">';
|
301 |
+
if ( isset( $labels[ $key ] ) ) {
|
302 |
+
$preview .= $labels[ $key ];
|
303 |
+
}
|
304 |
+
|
305 |
+
if ( 'in_stock' !== $key ) {
|
306 |
+
$preview .= $value;
|
307 |
+
}
|
308 |
+
|
309 |
+
$preview .= '</span>';
|
310 |
+
}
|
311 |
+
|
312 |
+
return '<div class="serp-snippet-data">' . $preview . '</div>';
|
313 |
+
}
|
314 |
+
|
315 |
+
/**
|
316 |
+
* Get mobile preview
|
317 |
+
*
|
318 |
+
* @param array $data Snippet data array.
|
319 |
+
* @param int $rating Ratings.
|
320 |
+
* @param int $rating_count Rating count.
|
321 |
+
* @return string
|
322 |
+
*/
|
323 |
+
private function get_mobile_preview( $data, $rating, $rating_count ) {
|
324 |
+
$labels = array(
|
325 |
+
'price' => esc_html__( 'Price', 'rank-math' ),
|
326 |
+
'price_range' => esc_html__( 'Price range', 'rank-math' ),
|
327 |
+
'time' => esc_html__( 'Cooking time', 'rank-math' ),
|
328 |
+
'calories' => esc_html__( 'Calories', 'rank-math' ),
|
329 |
+
'in_stock' => esc_html__( 'In Stock', 'rank-math' ),
|
330 |
+
'event_date' => esc_html__( 'Date', 'rank-math' ),
|
331 |
+
'event_place' => esc_html__( 'Location', 'rank-math' ),
|
332 |
+
);
|
333 |
+
|
334 |
+
$preview = '';
|
335 |
+
if ( $rating ) {
|
336 |
+
$preview .= '<span class="inner-wrapper">';
|
337 |
+
$preview .= '<span class="serp-mobile-label">';
|
338 |
+
$preview .= esc_html__( 'Rating', 'rank-math' );
|
339 |
+
$preview .= '</span>';
|
340 |
+
$preview .= '<span class="serp-rating-count">' . esc_html( $rating ) . '</span>';
|
341 |
+
|
342 |
+
$preview .= $this->get_ratings( $rating );
|
343 |
+
|
344 |
+
if ( $rating_count ) {
|
345 |
+
$preview .= '<span class="serp-review-count">(' . esc_html( $rating_count ) . ')</span>';
|
346 |
+
}
|
347 |
+
|
348 |
+
$preview .= '</span>';
|
349 |
+
}
|
350 |
+
|
351 |
+
foreach ( $data as $key => $value ) {
|
352 |
+
if ( ! $value || 'event_name' === $key ) {
|
353 |
+
continue;
|
354 |
+
}
|
355 |
+
|
356 |
+
$preview .= '<span class="inner-wrapper">';
|
357 |
+
|
358 |
+
if ( isset( $labels[ $key ] ) ) {
|
359 |
+
$preview .= '<span class="serp-mobile-label">';
|
360 |
+
$preview .= $labels[ $key ];
|
361 |
+
$preview .= '</span>';
|
362 |
+
}
|
363 |
+
|
364 |
+
if ( 'in_stock' !== $key ) {
|
365 |
+
$preview .= '<span class="serp-' . $key . '">' . esc_html( $value ) . '</span>';
|
366 |
+
}
|
367 |
+
|
368 |
+
$preview .= '</span>';
|
369 |
+
}
|
370 |
+
|
371 |
+
return '<div class="serp-snippet-mobile">' . $preview . '</div>';
|
372 |
+
}
|
373 |
+
|
374 |
+
/**
|
375 |
+
* Get Star Ratings.
|
376 |
+
*
|
377 |
+
* @param int $rating Rating count.
|
378 |
+
*/
|
379 |
+
private function get_ratings( $rating ) {
|
380 |
+
$html = '';
|
381 |
+
$rating = $rating * 20;
|
382 |
+
|
383 |
+
for ( $i = 1; $i <= 5; $i++ ) {
|
384 |
+
$html .= '<span class="dashicons dashicons-star-filled"></span>';
|
385 |
+
}
|
386 |
+
|
387 |
+
$html .= '<div class="serp-result" style="width:' . $rating . '%;">';
|
388 |
+
for ( $i = 1; $i <= 5; $i++ ) {
|
389 |
+
$html .= '<span class="dashicons dashicons-star-filled"></span>';
|
390 |
+
}
|
391 |
+
|
392 |
+
return '<span class="serp-rating serp-desktop-rating"><div class="serp-star-rating">' . $html . '</div></div></span>';
|
393 |
+
}
|
394 |
+
|
395 |
+
/**
|
396 |
+
* Get Snippet Data for SERP preview.
|
397 |
+
*
|
398 |
+
* @return array
|
399 |
+
*/
|
400 |
+
private function get_snippet_data() {
|
401 |
+
global $post;
|
402 |
+
setup_postdata( $post );
|
403 |
+
|
404 |
+
// Get rich snippet.
|
405 |
+
$snippet = get_post_meta( $post->ID, 'rank_math_rich_snippet', true );
|
406 |
+
$wp_review_total = get_post_meta( $post->ID, 'wp_review_total', true );
|
407 |
+
|
408 |
+
if ( ! in_array( $snippet, array( 'recipe', 'product', 'event', 'restaurant', 'review', 'service', 'software' ) ) && ! $wp_review_total ) {
|
409 |
+
return false;
|
410 |
+
}
|
411 |
+
|
412 |
+
$snippet_data = array( 'type' => $snippet );
|
413 |
+
|
414 |
+
if ( 'product' === $post->post_type ) {
|
415 |
+
$product = wc_get_product( $post->ID );
|
416 |
+
$snippet_data['data'] = array(
|
417 |
+
'price' => $product->get_price(),
|
418 |
+
'currency' => get_woocommerce_currency_symbol(),
|
419 |
+
'in_stock' => $product->get_stock_status(),
|
420 |
+
);
|
421 |
+
} else {
|
422 |
+
if ( 'recipe' === $snippet ) {
|
423 |
+
$hash = array(
|
424 |
+
'rating' => 'recipe_rating',
|
425 |
+
'time' => 'recipe_totaltime',
|
426 |
+
'calories' => 'recipe_calories',
|
427 |
+
);
|
428 |
+
} elseif ( 'product' === $snippet ) {
|
429 |
+
$hash = array(
|
430 |
+
'price' => 'product_price',
|
431 |
+
'currency' => 'product_currency',
|
432 |
+
'in_stock' => 'product_instock',
|
433 |
+
);
|
434 |
+
} elseif ( 'event' === $snippet ) {
|
435 |
+
$hash = array(
|
436 |
+
'event_date' => 'event_startdate',
|
437 |
+
'event_name' => 'name',
|
438 |
+
'event_place' => 'event_address',
|
439 |
+
);
|
440 |
+
} elseif ( 'restaurant' === $snippet ) {
|
441 |
+
$hash = array(
|
442 |
+
'price_range' => 'local_price_range',
|
443 |
+
);
|
444 |
+
} else {
|
445 |
+
$hash = array(
|
446 |
+
'rating' => $snippet . '_rating_value',
|
447 |
+
'rating_count' => $snippet . '_rating_count',
|
448 |
+
);
|
449 |
+
}
|
450 |
+
|
451 |
+
foreach ( $hash as $key => $value ) {
|
452 |
+
$value = get_post_meta( $post->ID, 'rank_math_snippet_' . $value, true );
|
453 |
+
if ( 'event_place' === $key ) {
|
454 |
+
$value = implode( ', ', array_filter( $value ) );
|
455 |
+
}
|
456 |
+
|
457 |
+
if ( 'event_date' === $key ) {
|
458 |
+
$value = date_i18n( 'j M Y', $value );
|
459 |
+
}
|
460 |
+
$snippet_data['data'][ $key ] = $value;
|
461 |
+
}
|
462 |
+
}
|
463 |
+
|
464 |
+
// Get rating.
|
465 |
+
if ( ! isset( $snippet_data['rating'] ) && function_exists( 'wp_review_show_total' ) ) {
|
466 |
+
$wp_review_type_star = 'star' === get_post_meta( $post->ID, 'wp_review_type', true );
|
467 |
+
if ( $wp_review_total && $wp_review_type_star ) {
|
468 |
+
$snippet_data['data']['rating'] = $wp_review_total;
|
469 |
+
}
|
470 |
+
}
|
471 |
+
|
472 |
+
return $snippet_data;
|
473 |
+
}
|
474 |
+
}
|
includes/admin/class-setup-wizard.php
ADDED
@@ -0,0 +1,1253 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Setup Wizard - configure the SEO settings in a few steps.
|
4 |
+
*
|
5 |
+
* @since 0.9.0
|
6 |
+
* @package RankMath
|
7 |
+
* @subpackage RankMath\Admin
|
8 |
+
* @author MyThemeShop <admin@mythemeshop.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace RankMath\Admin;
|
12 |
+
|
13 |
+
use RankMath\CMB2;
|
14 |
+
use RankMath\Traits\Ajax;
|
15 |
+
use RankMath\Traits\Hooker;
|
16 |
+
use RankMath\Helper as GlobalHelper;
|
17 |
+
use RankMath\Admin\Importers\Detector;
|
18 |
+
use RankMath\Modules\Search_Console\Search_Console;
|
19 |
+
|
20 |
+
defined( 'ABSPATH' ) || exit;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Setup_Wizard class.
|
24 |
+
*/
|
25 |
+
class Setup_Wizard {
|
26 |
+
|
27 |
+
use Hooker, Ajax;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Hold steps data.
|
31 |
+
*
|
32 |
+
* @var array
|
33 |
+
*/
|
34 |
+
protected $steps = array();
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Hold current step.
|
38 |
+
*
|
39 |
+
* @var string
|
40 |
+
*/
|
41 |
+
protected $step = '';
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Current step slug.
|
45 |
+
*
|
46 |
+
* @var string
|
47 |
+
*/
|
48 |
+
protected $step_slug = '';
|
49 |
+
|
50 |
+
/**
|
51 |
+
* The text string array.
|
52 |
+
*
|
53 |
+
* @var array
|
54 |
+
*/
|
55 |
+
protected $strings = null;
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Top level admin page.
|
59 |
+
*
|
60 |
+
* @var string
|
61 |
+
*/
|
62 |
+
protected $slug = 'rank-math-wizard';
|
63 |
+
|
64 |
+
/**
|
65 |
+
* CMB2 object
|
66 |
+
*
|
67 |
+
* @var \CMB2
|
68 |
+
*/
|
69 |
+
public $cmb = null;
|
70 |
+
|
71 |
+
/**
|
72 |
+
* The Constructor.
|
73 |
+
*/
|
74 |
+
public function __construct() {
|
75 |
+
|
76 |
+
$this->strings();
|
77 |
+
$this->action( 'cmb2_admin_init', 'steps', 9 );
|
78 |
+
$this->action( 'cmb2_admin_init', 'register_cmb2' );
|
79 |
+
$this->action( 'admin_menu', 'add_admin_menu' );
|
80 |
+
$this->action( 'admin_post_rank_math_save_wizard', 'save_wizard' );
|
81 |
+
|
82 |
+
if ( defined( 'DOING_AJAX' ) && ! class_exists( 'RankMath\Modules\Search_Console\Search_Console' ) ) {
|
83 |
+
new Search_Console;
|
84 |
+
}
|
85 |
+
|
86 |
+
// If not the page is not this page stop here.
|
87 |
+
if ( ! $this->is_current_page() ) {
|
88 |
+
return;
|
89 |
+
}
|
90 |
+
|
91 |
+
$this->action( 'admin_init', 'admin_page', 30 );
|
92 |
+
$this->filter( 'user_has_cap', 'filter_user_has_cap' );
|
93 |
+
$this->filter( 'rank_math/wizard/step/label', 'change_label' );
|
94 |
+
$this->filter( 'rank_math/wizard/step/label_url', 'change_label_url' );
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Register CMB2 option page for setup wizard.
|
99 |
+
*/
|
100 |
+
public function register_cmb2() {
|
101 |
+
$this->cmb = new_cmb2_box( array(
|
102 |
+
'id' => 'rank-math-wizard',
|
103 |
+
'object_types' => array( 'options-page' ),
|
104 |
+
'option_key' => 'rank-math-wizard',
|
105 |
+
'hookup' => false,
|
106 |
+
'save_fields' => false,
|
107 |
+
'classes' => 'wp-core-ui rank-math-ui',
|
108 |
+
) );
|
109 |
+
|
110 |
+
isset( $this->steps[ $this->step ], $this->steps[ $this->step ]['form'] ) ? call_user_func( $this->steps[ $this->step ]['form'], $this ) : false;
|
111 |
+
|
112 |
+
CMB2::pre_init( $this->cmb );
|
113 |
+
}
|
114 |
+
|
115 |
+
/**
|
116 |
+
* Execute save handler for current step.
|
117 |
+
*/
|
118 |
+
public function save_wizard() {
|
119 |
+
|
120 |
+
// If no form submission, bail.
|
121 |
+
if ( empty( $_POST ) ) {
|
122 |
+
return wp_safe_redirect( $_POST['_wp_http_referer'] );
|
123 |
+
}
|
124 |
+
|
125 |
+
check_admin_referer( 'rank-math-wizard', 'security' );
|
126 |
+
|
127 |
+
$show_content = true;
|
128 |
+
$values = $this->cmb->get_sanitized_values( $_POST );
|
129 |
+
if ( isset( $this->steps[ $this->step ]['handler'] ) ) {
|
130 |
+
$show_content = call_user_func( $this->steps[ $this->step ]['handler'], $values, $this );
|
131 |
+
GlobalHelper::is_configured( true );
|
132 |
+
}
|
133 |
+
|
134 |
+
$redirect = $show_content ? $this->step_next_link() : $_POST['_wp_http_referer'];
|
135 |
+
if ( is_string( $show_content ) ) {
|
136 |
+
$redirect = $show_content;
|
137 |
+
}
|
138 |
+
wp_safe_redirect( $redirect );
|
139 |
+
exit;
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Add the admin menu item, under Appearance.
|
144 |
+
*/
|
145 |
+
public function add_admin_menu() {
|
146 |
+
if ( empty( $_GET['page'] ) || $this->slug !== $_GET['page'] ) {
|
147 |
+
return;
|
148 |
+
}
|
149 |
+
|
150 |
+
$this->hook_suffix = add_submenu_page(
|
151 |
+
null, esc_html( $this->strings['admin-menu'] ), esc_html( $this->strings['admin-menu'] ), 'manage_options', $this->slug, array( $this, 'admin_page' )
|
152 |
+
);
|
153 |
+
}
|
154 |
+
|
155 |
+
/**
|
156 |
+
* Add the admin page.
|
157 |
+
*/
|
158 |
+
public function admin_page() {
|
159 |
+
|
160 |
+
// Do not proceed, if we're not on the right page.
|
161 |
+
if ( empty( $_GET['page'] ) || $this->slug !== $_GET['page'] ) {
|
162 |
+
return;
|
163 |
+
}
|
164 |
+
|
165 |
+
if ( ob_get_length() ) {
|
166 |
+
ob_end_clean();
|
167 |
+
}
|
168 |
+
|
169 |
+
// Enqueue styles.
|
170 |
+
\CMB2_hookup::enqueue_cmb_css();
|
171 |
+
\CMB2_hookup::enqueue_cmb_js();
|
172 |
+
rank_math()->admin->register_scripts();
|
173 |
+
wp_enqueue_style( 'rank-math-wizard', rank_math()->plugin_url() . 'assets/admin/css/setup-wizard.css', array( 'wp-admin', 'buttons', 'cmb2-styles', 'select2-rm', 'rank-math-common', 'rank-math-cmb2' ), rank_math()->get_version() );
|
174 |
+
|
175 |
+
// Enqueue javascript.
|
176 |
+
wp_enqueue_script( 'rank-math-wizard', rank_math()->plugin_url() . 'assets/admin/js/wizard.js', array( 'select2-rm', 'rank-math-common' ), rank_math()->get_version(), true );
|
177 |
+
|
178 |
+
rank_math()->add_json( 'currentStep', $this->step );
|
179 |
+
rank_math()->add_json( 'deactivated', esc_html__( 'Deactivated', 'rank-math' ) );
|
180 |
+
rank_math()->add_json( 'confirm', esc_html__( 'Are you sure you want to import settings into Rank Math? Don\'t worry, your current configuration will be saved as a backup.', 'rank-math' ) );
|
181 |
+
rank_math()->add_json( 'isConfigured', GlobalHelper::is_configured() );
|
182 |
+
|
183 |
+
ob_start();
|
184 |
+
|
185 |
+
/**
|
186 |
+
* Start the actual page content.
|
187 |
+
*/
|
188 |
+
include_once $this->get_view( 'header' );
|
189 |
+
include_once $this->get_view( 'content' );
|
190 |
+
include_once $this->get_view( 'footer' );
|
191 |
+
exit;
|
192 |
+
}
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Output the content for the current step.
|
196 |
+
*/
|
197 |
+
protected function body() {
|
198 |
+
if ( ! isset( $this->steps[ $this->step ] ) ) {
|
199 |
+
return;
|
200 |
+
}
|
201 |
+
|
202 |
+
if ( is_callable( $this->steps[ $this->step ]['view'] ) ) {
|
203 |
+
call_user_func( $this->steps[ $this->step ]['view'], $this );
|
204 |
+
return;
|
205 |
+
}
|
206 |
+
|
207 |
+
include_once $this->steps[ $this->step ]['view'];
|
208 |
+
}
|
209 |
+
|
210 |
+
/**
|
211 |
+
* 3.b. Handles form for import page.
|
212 |
+
*/
|
213 |
+
protected function import_form() {
|
214 |
+
$detector = new Detector;
|
215 |
+
$plugins = $detector->detect();
|
216 |
+
|
217 |
+
$i = 0;
|
218 |
+
foreach ( $plugins as $slug => $plugin ) {
|
219 |
+
$checked = 'checked';
|
220 |
+
$multi_checked = 'multicheck-checked';
|
221 |
+
$choices = array_keys( $plugin['choices'] );
|
222 |
+
|
223 |
+
if ( ( array_key_exists( 'yoast', $plugins ) || array_key_exists( 'yoast-premium', $plugins ) ) && 'aioseo' === $slug ) {
|
224 |
+
$checked = '';
|
225 |
+
$multi_checked = '';
|
226 |
+
$choices = array();
|
227 |
+
}
|
228 |
+
|
229 |
+
$field_args = array(
|
230 |
+
'id' => 'import_from_' . $slug,
|
231 |
+
'type' => 'group',
|
232 |
+
'description' => '<input type="checkbox" class="import-data" name="import[]" value="' . $slug . '" ' . $checked . ' data-plugin="' . $plugin['name'] . '" />',
|
233 |
+
'before_group' => 0 === $i ? '<h3 class="import-label">' . esc_html__( 'Input Data From:', 'rank-math' ) . '</h3>' : '',
|
234 |
+
'repeatable' => false,
|
235 |
+
'options' => array(
|
236 |
+
'group_title' => $plugin['name'],
|
237 |
+
'sortable' => false,
|
238 |
+
'closed' => true,
|
239 |
+
),
|
240 |
+
);
|
241 |
+
|
242 |
+
$group_id = $this->cmb->add_field( $field_args );
|
243 |
+
|
244 |
+
if ( ! function_exists( 'is_plugin_active' ) ) {
|
245 |
+
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
246 |
+
}
|
247 |
+
|
248 |
+
$is_active = is_plugin_active( $plugin['file'] );
|
249 |
+
/* translators: 1 is plugin name, 2 is link to Knowledge Base article, 3 Recommended message */
|
250 |
+
$desc = sprintf( esc_html__( 'Import settings and meta data from the %1$s plugin. The process may take a few minutes if you have a large number of posts or pages. %2$s', 'rank-math' ) . ( is_plugin_active( $plugin['file'] ) ? '<br>' . esc_html__( ' %1$s plugin will be disabled automatically moving forward to avoid conflicts. %3$s', 'rank-math' ) : '' ), $plugin['name'], '<a href="https://link.mythemeshop.com/HkUT4vCT" target="_blank">' . esc_html__( 'Learn more about the import process here.', 'rank-math' ) . '</a>', '<strong>' . __( 'It is thus recommended to import the data you need now.', 'rank-math' ) . '</strong>' );
|
251 |
+
|
252 |
+
if ( 'aio-rich-snippet' === $slug ) {
|
253 |
+
/* translators: 1 is plugin name, 2 is link to Knowledge Base article, 3 Recommended message */
|
254 |
+
$desc = sprintf( esc_html__( 'Import meta data from the %1$s plugin. The process may take a few minutes if you have a large number of posts or pages. %2$s', 'rank-math' ) . ( is_plugin_active( $plugin['file'] ) ? '<br>' . esc_html__( ' %1$s plugin will be disabled automatically moving forward to avoid conflicts. %3$s', 'rank-math' ) : '' ), $plugin['name'], '<a href="https://link.mythemeshop.com/HkUT4vCT" target="_blank">' . esc_html__( 'Learn more about the import process here.', 'rank-math' ) . '</a>', '<strong>' . __( 'It is thus recommended to import the data you need now.', 'rank-math' ) . '</strong>' );
|
255 |
+
}
|
256 |
+
|
257 |
+
foreach ( $plugin['choices'] as $ck => $choice ) {
|
258 |
+
$this->cmb->add_group_field( $group_id, array(
|
259 |
+
'id' => $slug . '_meta',
|
260 |
+
'type' => 'multicheck',
|
261 |
+
'repeatable' => false,
|
262 |
+
'desc' => $desc,
|
263 |
+
'options' => $plugin['choices'],
|
264 |
+
'default' => $choices,
|
265 |
+
'dep' => array( array( 'import_from', $slug ) ),
|
266 |
+
'classes' => 'nob nopb cmb-multicheck-inline with-description ' . $multi_checked . ' ' . $is_active,
|
267 |
+
'attributes' => array( 'data-active' => $is_active ),
|
268 |
+
));
|
269 |
+
}
|
270 |
+
|
271 |
+
$i++;
|
272 |
+
}
|
273 |
+
|
274 |
+
}
|
275 |
+
|
276 |
+
/**
|
277 |
+
* 4.b. Handles form for yoursite page.
|
278 |
+
*/
|
279 |
+
protected function yoursite_form() {
|
280 |
+
$displayname = $this->get_site_display_name();
|
281 |
+
|
282 |
+
// Default value for logo.
|
283 |
+
$logo_url = GlobalHelper::get_settings( 'titles.knowledgegraph_logo' );
|
284 |
+
|
285 |
+
// Check if it's a MTS theme.
|
286 |
+
if ( defined( 'MTS_THEME_NAME' ) && MTS_THEME_NAME ) {
|
287 |
+
$theme_options = get_option( MTS_THEME_NAME );
|
288 |
+
$logo_url = isset( $theme_options['mts_logo'] ) ? wp_get_attachment_url( $theme_options['mts_logo'] ) : $logo_url;
|
289 |
+
} elseif ( current_theme_supports( 'custom-logo' ) && ! empty( get_theme_mod( 'custom_logo' ) ) ) {
|
290 |
+
$logo_url = wp_get_attachment_url( get_theme_mod( 'custom_logo' ) );
|
291 |
+
}
|
292 |
+
|
293 |
+
$default = get_transient( '_rank_math_site_type' );
|
294 |
+
$default = $default ? $default : ( class_exists( 'Easy_Digital_Downloads' ) || class_exists( 'WooCommerce' ) ? 'webshop' : 'blog' );
|
295 |
+
$this->cmb->add_field( array(
|
296 |
+
'id' => 'site_type',
|
297 |
+
'type' => 'select',
|
298 |
+
/* translators: sitename */
|
299 |
+
'name' => sprintf( esc_html__( '%1$s is a…', 'rank-math' ), $displayname ),
|
300 |
+
'options' => array(
|
301 |
+
'blog' => esc_html__( 'Personal Blog', 'rank-math' ),
|
302 |
+
'news' => esc_html__( 'Community Blog/News Site', 'rank-math' ),
|
303 |
+
'portfolio' => esc_html__( 'Personal Portfolio', 'rank-math' ),
|
304 |
+
'business' => esc_html__( 'Small Business Site', 'rank-math' ),
|
305 |
+
'webshop' => esc_html__( 'Webshop', 'rank-math' ),
|
306 |
+
'otherpersonal' => esc_html__( 'Other Personal Website', 'rank-math' ),
|
307 |
+
'otherbusiness' => esc_html__( 'Other Business Website', 'rank-math' ),
|
308 |
+
),
|
309 |
+
'default' => $default,
|
310 |
+
) );
|
311 |
+
|
312 |
+
$this->cmb->add_field( array(
|
313 |
+
'id' => 'business_type',
|
314 |
+
'type' => 'select',
|
315 |
+
'name' => esc_html__( 'Business Type', 'rank-math' ),
|
316 |
+
'desc' => esc_html__( 'Select the type that best describes your business. If you can\'t find one that applies exactly, use the generic "Organization" or "Local Business" types.', 'rank-math' ),
|
317 |
+
'options' => GlobalHelper::choices_business_types(),
|
318 |
+
'attributes' => array(
|
319 |
+
'data-s2' => '',
|
320 |
+
'data-default' => GlobalHelper::get_settings( 'titles.local_business_type' ) ? '0' : '1',
|
321 |
+
),
|
322 |
+
'default' => GlobalHelper::get_settings( 'titles.local_business_type' ),
|
323 |
+
'dep' => array(
|
324 |
+
array( 'site_type', 'news' ),
|
325 |
+
array( 'site_type', 'business' ),
|
326 |
+
array( 'site_type', 'webshop' ),
|
327 |
+
array( 'site_type', 'otherbusiness' ),
|
328 |
+
),
|
329 |
+
) );
|
330 |
+
|
331 |
+
$this->cmb->add_field( array(
|
332 |
+
'id' => 'company_name',
|
333 |
+
'type' => 'text',
|
334 |
+
'name' => esc_html__( 'Company Name', 'rank-math' ),
|
335 |
+
'default' => GlobalHelper::get_settings( 'titles.knowledgegraph_name', $displayname ),
|
336 |
+
'dep' => array(
|
337 |
+
array( 'site_type', 'news' ),
|
338 |
+
array( 'site_type', 'business' ),
|
339 |
+
array( 'site_type', 'webshop' ),
|
340 |
+
array( 'site_type', 'otherbusiness' ),
|
341 |
+
),
|
342 |
+
) );
|
343 |
+
|
344 |
+
$this->cmb->add_field( array(
|
345 |
+
'id' => 'company_logo',
|
346 |
+
'type' => 'file',
|
347 |
+
'name' => esc_html__( 'Logo for Google', 'rank-math' ),
|
348 |
+
'default' => $logo_url,
|
349 |
+
'desc' => __( '<strong>Min Size: 160Χ90px, Max Size: 1920X1080px</strong>.<br />A squared image is preferred by the search engines.', 'rank-math' ),
|
350 |
+
'options' => array( 'url' => false ),
|
351 |
+
) );
|
352 |
+
|
353 |
+
$this->cmb->add_field( array(
|
354 |
+
'id' => 'open_graph_image',
|
355 |
+
'type' => 'file',
|
356 |
+
'name' => esc_html__( 'Default Social Share Image', 'rank-math' ),
|
357 |
+
'desc' => __( 'When a featured image is not set, this image will be used as a thumbnail when your post is shared on Facebook. <strong>Recommended image size 1200 x 630 pixels.</strong>', 'rank-math' ),
|
358 |
+
'options' => array( 'url' => false ),
|
359 |
+
'default' => GlobalHelper::get_settings( 'titles.open_graph_image' ),
|
360 |
+
) );
|
361 |
+
}
|
362 |
+
|
363 |
+
/**
|
364 |
+
* 4.c. Handles save button from yoursite page.
|
365 |
+
*
|
366 |
+
* @param array $values Array of values of step to process.
|
367 |
+
*/
|
368 |
+
protected function yoursite_handler( $values ) {
|
369 |
+
$settings = wp_parse_args( rank_math()->settings->all_raw(), array(
|
370 |
+
'titles' => '',
|
371 |
+
'sitemap' => '',
|
372 |
+
) );
|
373 |
+
$current_user = wp_get_current_user();
|
374 |
+
$values = wp_parse_args( $values, array(
|
375 |
+
'author_name' => $current_user->display_name,
|
376 |
+
'company_logo' => '',
|
377 |
+
'company_logo_id' => '',
|
378 |
+
'open_graph_image' => '',
|
379 |
+
'open_graph_image_id' => '',
|
380 |
+
) );
|
381 |
+
|
382 |
+
// Local SEO.
|
383 |
+
switch ( $values['site_type'] ) {
|
384 |
+
case 'blog':
|
385 |
+
case 'portfolio':
|
386 |
+
$settings['titles']['knowledgegraph_type'] = 'person';
|
387 |
+
$settings['titles']['knowledgegraph_name'] = $values['author_name'];
|
388 |
+
$settings['titles']['knowledgegraph_logo'] = $values['company_logo'];
|
389 |
+
$settings['titles']['knowledgegraph_logo_id'] = $values['company_logo_id'];
|
390 |
+
break;
|
391 |
+
|
392 |
+
case 'news':
|
393 |
+
case 'webshop':
|
394 |
+
case 'business':
|
395 |
+
case 'otherbusiness':
|
396 |
+
$settings['titles']['knowledgegraph_type'] = 'company';
|
397 |
+
$settings['titles']['knowledgegraph_name'] = $values['company_name'];
|
398 |
+
$settings['titles']['knowledgegraph_logo'] = $values['company_logo'];
|
399 |
+
$settings['titles']['local_business_type'] = $values['business_type'];
|
400 |
+
$settings['titles']['knowledgegraph_logo_id'] = $values['company_logo_id'];
|
401 |
+
break;
|
402 |
+
|
403 |
+
case 'otherpersonal':
|
404 |
+
$settings['titles']['knowledgegraph_type'] = 'person';
|
405 |
+
$settings['titles']['knowledgegraph_name'] = $values['author_name'];
|
406 |
+
break;
|
407 |
+
}
|
408 |
+
|
409 |
+
$settings['titles']['open_graph_image'] = $values['open_graph_image'];
|
410 |
+
$settings['titles']['open_graph_image_id'] = $values['open_graph_image_id'];
|
411 |
+
|
412 |
+
// Check and delete.
|
413 |
+
if ( empty( $values['open_graph_image_id'] ) ) {
|
414 |
+
unset( $settings['titles']['open_graph_image'] );
|
415 |
+
unset( $settings['titles']['open_graph_image_id'] );
|
416 |
+
}
|
417 |
+
if ( empty( $values['company_logo_id'] ) ) {
|
418 |
+
unset( $settings['titles']['knowledgegraph_logo'] );
|
419 |
+
unset( $settings['titles']['knowledgegraph_logo_id'] );
|
420 |
+
}
|
421 |
+
|
422 |
+
// Post Types.
|
423 |
+
foreach ( GlobalHelper::get_accessible_post_types() as $post_type => $label ) {
|
424 |
+
$settings['titles'][ "pt_{$post_type}_add_meta_box" ] = 'on';
|
425 |
+
}
|
426 |
+
|
427 |
+
// Taxonomies.
|
428 |
+
$taxonomies = Helper::get_taxonomies_options();
|
429 |
+
array_shift( $taxonomies );
|
430 |
+
foreach ( $taxonomies as $taxonomy => $label ) {
|
431 |
+
$settings['titles'][ "tax_{$taxonomy}_add_meta_box" ] = 'on';
|
432 |
+
}
|
433 |
+
|
434 |
+
GlobalHelper::update_all_settings( null, $settings['titles'], null );
|
435 |
+
|
436 |
+
$business_type = array( 'news', 'business', 'webshop', 'otherbusiness' );
|
437 |
+
$modules = array( 'local-seo' => in_array( $values['site_type'], $business_type ) ? 'on' : 'off' );
|
438 |
+
$users = get_users( array( 'role__in' => array( 'administrator', 'editor', 'author', 'contributor' ) ) );
|
439 |
+
|
440 |
+
if ( count( $users ) > 1 && ! is_plugin_active( 'members/members.php' ) ) {
|
441 |
+
$modules['role-manager'] = 'on';
|
442 |
+
}
|
443 |
+
|
444 |
+
set_transient( '_rank_math_site_type', $values['site_type'] );
|
445 |
+
GlobalHelper::update_modules( $modules );
|
446 |
+
|
447 |
+
return true;
|
448 |
+
}
|
449 |
+
|
450 |
+
/**
|
451 |
+
* 6.b. Handles form for search console page.
|
452 |
+
*/
|
453 |
+
protected function searchconsole_form() {
|
454 |
+
|
455 |
+
$this->cmb->add_field( array(
|
456 |
+
'id' => 'rank_math_sc_step2',
|
457 |
+
'type' => 'raw',
|
458 |
+
/* translators: count */
|
459 |
+
'content' => '<br>',
|
460 |
+
));
|
461 |
+
|
462 |
+
$data = GlobalHelper::search_console_data();
|
463 |
+
$primary = '<button class="button button-primary">' . ( $data['authorized'] ? esc_html__( 'De-authorize Account', 'rank-math' ) : esc_html__( 'Authorize', 'rank-math' ) ) . '</button>';
|
464 |
+
$secondary = '<a href="' . esc_url( GlobalHelper::get_console_auth_url() ) . '" class="button button-secondary custom"' . ( $data['authorized'] ? ' style="display:none;"' : '' ) . '>' . esc_html__( 'Get Authorization Code', 'rank-math' ) . '</a><br />';
|
465 |
+
$this->cmb->add_field( array(
|
466 |
+
'id' => 'console_authorization_code',
|
467 |
+
'type' => 'text',
|
468 |
+
'name' => esc_html__( 'Search Console', 'rank-math' ),
|
469 |
+
'desc' => esc_html__( 'Authorize Rank Math to access data from the Google Search Console.', 'rank-math' ),
|
470 |
+
'attributes' => array( 'data-authorized' => $data['authorized'] ? 'true' : 'false' ),
|
471 |
+
'after_field' => $primary . $secondary,
|
472 |
+
) );
|
473 |
+
|
474 |
+
$this->cmb->add_field( array(
|
475 |
+
'id' => 'console_profile',
|
476 |
+
'type' => 'select',
|
477 |
+
'name' => esc_html__( 'Search Console Profile', 'rank-math' ),
|
478 |
+
'desc' => esc_html__( 'After authenticating with Google Search Console, select your website from the dropdown list.', 'rank-math' ) .
|
479 |
+
/* translators: Link to setting screen */
|
480 |
+
'<br><br><span style="color: orange;">' . sprintf( __( 'Is your site not listed? <a href="%1$s" target="_blank">Click here</a> to get your website verified.', 'rank-math' ), GlobalHelper::get_admin_url( 'options-general#setting-panel-webmaster' ) ) . '</span>',
|
481 |
+
'op
|