!function(){"use strict";var e={3111:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-analyses{display:flex;flex-direction:column;gap:24px}.rank-math-ai-visibility-analyses__error{padding:8px 16px;background:#fef0f0;border:1px solid #f66276;border-radius:4px;color:#f66276;font-size:14px}.rank-math-ai-visibility-analyses__card{border-radius:4px;border:1px solid #e0e0e0;overflow:hidden}.rank-math-ai-visibility-analyses .rank-math-table{font-size:13px}.rank-math-ai-visibility-analyses .rank-math-table-card{border-top:1px solid #e0e0e0}.rank-math-ai-visibility-analyses .rank-math-table thead{background:#fcfcfc;border-color:#e0e0e0}.rank-math-ai-visibility-analyses .rank-math-table thead th{padding:13px 16px}.rank-math-ai-visibility-analyses .rank-math-table thead th:first-child{padding:13px 26px}.rank-math-ai-visibility-analyses .rank-math-table thead th .rank-math-table-header-cell{color:#1e1e1e;font-size:14px}.rank-math-ai-visibility-analyses .rank-math-table tbody tr td{padding:16px}.rank-math-ai-visibility-analyses .rank-math-table tbody tr td:first-child{padding:16px 26px}.rank-math-ai-visibility-analyses .rank-math-table tbody .rank-math-table-row,.rank-math-ai-visibility-analyses .rank-math-table tbody .rank-math-table-row:hover,.rank-math-ai-visibility-analyses .rank-math-table tbody .rank-math-table-row:nth-child(odd){background:rgba(0,0,0,0)}.rank-math-ai-visibility-analyses .rank-math-table-footer{justify-content:center;padding:20px 0}.rank-math-ai-visibility-analyses .rank-math-table-footer-nav{justify-content:center;align-items:center}.rank-math-ai-visibility-analyses .rank-math-pagination-page-info{color:#666}.rank-math-ai-visibility-analyses .rank-math-pagination-separator{color:#b2b2b2}.rank-math-ai-visibility-analyses .rank-math-pagination-jump span{color:#666}.rank-math-ai-visibility-analyses .rank-math-pagination-jump .rank-math-pagination-input{width:31px;height:28px;border-radius:2px;min-height:28px;border-color:#c6c6c6;color:#757575}",""]);const l=o},834:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-analyses-filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;padding:15px 25px;background-color:#fff}.rank-math-ai-visibility-analyses-filter-bar .components-base-control{margin-bottom:0}.rank-math-ai-visibility-analyses-filter-bar__brand{min-width:150px;flex-shrink:0}.rank-math-ai-visibility-analyses-filter-bar__status{min-width:140px;flex-shrink:0}.rank-math-ai-visibility-analyses-filter-bar__search{flex:1;min-width:120px;max-width:260px}.rank-math-ai-visibility-analyses-filter-bar__search .components-input-control.is-focused .components-input-control__backdrop{border-color:#017cba !important;box-shadow:0 0 0 2px rgba(1,124,186,.15) !important}.rank-math-ai-visibility-analyses-filter-bar__search input[type=text],.rank-math-ai-visibility-analyses-filter-bar__search input[type=search]{height:36px;border-radius:2px;font-size:13px}.rank-math-ai-visibility-analyses-filter-bar__search input[type=text]:focus,.rank-math-ai-visibility-analyses-filter-bar__search input[type=search]:focus{outline:none !important;box-shadow:none !important}.rank-math-ai-visibility-analyses-filter-bar__search input[type=text]{padding:0 12px}.rank-math-ai-visibility-analyses-filter-bar__search input[type=search]{padding:0 5px}.rank-math-ai-visibility-analyses-filter-bar__dates{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}.rank-math-ai-visibility-analyses-filter-bar__date-sep{font-size:13px;color:#9b9b9b;flex-shrink:0}.rank-math-ai-visibility-analyses-filter-bar__date-input{border:none;outline:none;font-size:12px;color:#1e1e1e;background:rgba(0,0,0,0);width:100px;padding:0}.rank-math-ai-visibility-analyses-filter-bar__clear{flex-shrink:0;white-space:nowrap;font-size:12px}#rank-math-ai-visibility-container .components-input-control__input,#rank-math-ai-visibility-container .components-select-control__input{height:36px;min-height:36px}#rank-math-ai-visibility-container .components-select-control__input{color:#757575;padding:0 16px}#rank-math-ai-visibility-container .components-input-control__backdrop{border-color:#949494}",""]);const l=o},5517:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-analyses .rank-math-table-header{display:none !important}.rank-math-ai-visibility-analyses table th:nth-child(1){width:45%}.rank-math-ai-visibility-analyses table th:nth-child(2){width:35%}.rank-math-ai-visibility-analyses table th:nth-child(3){width:20%}.rank-math-ai-visibility-analyses-table__time-cell{display:flex;align-items:center;gap:6px;white-space:nowrap}",""]);const l=o},4373:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-analysis-run-detail__stat-cards{display:flex;gap:28px;margin-bottom:26px;margin-top:24px}.rank-math-ai-visibility-analysis-run-detail__table{background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.rank-math-ai-visibility-analysis-run-detail__table-row{display:grid;grid-template-columns:1fr 140px 160px;align-items:center;padding:20px 35px;border-bottom:1px solid #e0e0e0;gap:16px}.rank-math-ai-visibility-analysis-run-detail__table-row:last-child{border-bottom:none}.rank-math-ai-visibility-analysis-run-detail__table-row--header{background:#fcfcfc;font-size:12px;font-weight:600;color:#1e1e1e;text-transform:uppercase;letter-spacing:.03em;padding:13px 35px}.rank-math-ai-visibility-analysis-run-detail__col{min-width:0}.rank-math-ai-visibility-analysis-run-detail__col--query{font-size:13px;color:#1e1e1e;line-height:1.5}.rank-math-ai-visibility-analysis-run-detail__col--sentiment{display:flex;align-items:center}.rank-math-ai-visibility-analysis-run-detail__content{background:#fff;border-width:0px 1px 1px 1px;border-style:solid;border-color:#e0e0e0;border-radius:0px 0px 4px 4px;padding:24px 34px 34px 34px;margin:24px 0 0 0}",""]);const l=o},9717:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility{margin:0}.rank-math-ai-visibility .rank-math-tabs{margin-top:16px}.rank-math-ai-visibility .rank-math-table tbody .rank-math-table-row:focus{outline:none}.rank-math-ai-visibility .components-checkbox-control__input[type=checkbox]:checked,.rank-math-ai-visibility .components-checkbox-control__input[type=checkbox]:indeterminate{background:#017cba;border-color:#017cba}.rank-math-ai-visibility .components-input-control__suffix svg,.rank-math-ai-visibility .components-input-control__suffix,.rank-math-ai-visibility .components-input-control__prefix{color:#757575}.rank-math-ai-visibility .rank-math-table-pagination-buttons{display:inline-flex}.rank-math-ai-visibility .rank-math-table-pagination-buttons .rank-math-pagination-btn{color:#757575;border-radius:2px}.rank-math-ai-visibility .rank-math-table-pagination-buttons .rank-math-pagination-btn:first-child{border-top-right-radius:0;margin-right:-1px;border-bottom-right-radius:0}.rank-math-ai-visibility .rank-math-table-pagination-buttons .rank-math-pagination-btn:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.rank-math-ai-visibility .rank-math-table-pagination-buttons .rank-math-pagination-input{width:auto;padding:0}.rank-math-ai-visibility .rank-math-pagination-jump .rank-math-pagination-input{width:auto;min-height:28px;background:rgba(0,0,0,0)}.rank-math-ai-visibility .rank-math-pagination-jump span{color:#666}.rank-math-ai-visibility .rank-math-pagination-page-info{color:#666}.rank-math-ai-visibility .rank-math-table-footer{padding:20px 20px}@media(min-width: 960px){.rank-math-ai-visibility .components-modal__frame{max-height:80%}}",""]);const l=o},4629:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-brand-detail{display:flex;flex-direction:column;gap:20px}.rank-math-ai-visibility-brand-detail__content{background:#fff;border:1px solid #e0e0e0;border-radius:4px}.rank-math-ai-visibility-brand-detail--loading{display:flex;justify-content:center;padding:24px}.rank-math-ai-visibility-brand-detail--error{padding:16px;text-align:center;color:#f66276}.rank-math-ai-visibility-brand-detail__tabs{margin-top:8px}.rank-math-ai-visibility-brand-detail__tab{padding:32px}.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-header__name{font-weight:400;font-size:30px;line-height:34px;color:#1e1e1e;margin:0}.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-detail__tabs.rank-math-tabs{margin:0}.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-detail__tabs.rank-math-tabs .components-tab-panel__tabs{padding:0 16px;border-bottom:1px solid #e0e0e0}.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-detail__tabs.rank-math-tabs .components-tab-panel__tabs-item{height:52px !important;font-weight:500;color:#383838}.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-detail__tabs.rank-math-tabs .components-tab-panel__tabs-item.is-active{color:#017cba}.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-detail__tabs.rank-math-tabs .components-tab-panel__tabs-item.is-active:after{background:#017cba;height:2px}.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-detail__tabs.rank-math-tabs .components-button:hover:not(:disabled,[aria-disabled=true]),.rank-math-ai-visibility-brand-detail .rank-math-ai-visibility-brand-detail__tabs.rank-math-tabs .components-button[aria-expanded=true]{color:#017cba}",""]);const l=o},421:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-brand-header{display:flex;flex-direction:column;gap:0;padding:32px;border-bottom:1px solid #e0e0e0}.rank-math-ai-visibility-brand-header__content{display:flex;align-items:flex-start;justify-content:space-between}.rank-math-ai-visibility-brand-header__identity{display:flex;flex-direction:column;flex:1}.rank-math-ai-visibility-brand-header__name-row{display:flex;align-items:center;gap:16px}.rank-math-ai-visibility-brand-header__name{margin:0;font-size:26px;font-weight:600;line-height:1.2;color:#1e1e1e}.rank-math-ai-visibility-brand-header__edit-btn.rank-math-ai-visibility-btn.components-button{display:inline-flex;align-items:center;gap:6px;font-size:12px;height:24px;padding:0 8px;border-color:#c6c6c6;color:#757575;background:#fcfcfc;min-height:24px}.rank-math-ai-visibility-brand-header__edit-btn.rank-math-ai-visibility-btn.components-button .dashicons{height:12px;width:12px;font-size:12px;margin:0}.rank-math-ai-visibility-brand-header__url-row{display:flex;align-items:center;gap:8px}.rank-math-ai-visibility-brand-header__url{text-decoration:none;font-weight:300;font-size:20px;line-height:28px;color:#017cba}.rank-math-ai-visibility-brand-header__url:hover{text-decoration:underline}.rank-math-ai-visibility-brand-header__language{display:inline-flex;align-items:center;padding:2px 8px;border-radius:20px;font-size:11px;color:#9b9b9b;border:1px solid #e0e0e0}.rank-math-ai-visibility-brand-header__external{color:#757575;display:inline-flex;align-items:center;text-decoration:none}.rank-math-ai-visibility-brand-header__external:hover{color:#017cba}.rank-math-ai-visibility-brand-header__external svg path{fill:currentColor}.rank-math-ai-visibility-brand-header__meta-row{display:flex;align-items:center;gap:10px;font-size:13px;margin:12px 0 0 0}.rank-math-ai-visibility-brand-header__status{display:inline-flex;align-items:center;padding:0 10px;border-radius:20px;font-size:11px;font-weight:400;border:1px solid #e0e0e0}.rank-math-ai-visibility-brand-header__status--active{color:#2e7d32;border-color:#a5d6a7;background:rgba(46,125,50,.06)}.rank-math-ai-visibility-brand-header__status--inactive{color:#9b9b9b;border-color:#e0e0e0;background:rgba(0,0,0,0)}.rank-math-ai-visibility-brand-header__last-analysis{display:inline-flex;align-items:center;gap:4px;color:#9b9b9b;font-size:12px}.rank-math-ai-visibility-brand-header__last-analysis .dashicons{height:14px;width:14px;font-size:14px}.rank-math-ai-visibility-brand-header__description-panel{flex:0 0 320px;padding:16px;border:1px solid #e0e0e0;border-radius:4px;background:#fff}.rank-math-ai-visibility-brand-header__description-label{display:block;font-size:13px;font-weight:600;color:#1e1e1e;margin-bottom:8px}.rank-math-ai-visibility-brand-header__description-text{margin:0;font-size:13px;line-height:1.6;color:#9b9b9b}",""]);const l=o},695:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-brand-overview{display:flex;flex-direction:column;gap:16px}.rank-math-ai-visibility-brand-overview__stats{display:flex;flex-wrap:wrap;gap:16px}@media(max-width: 782px){.rank-math-ai-visibility-brand-overview__stats{flex-direction:column}}.rank-math-ai-visibility-brand-overview__stats .rank-math-ai-visibility-stat-card{flex:0 1 calc(25% - 62px)}.rank-math-ai-visibility-stat-card--overview-score{--stat-icon-bg: rgba( 1, 124, 186, 0.12 );--stat-icon-color: #017cba}.rank-math-ai-visibility-stat-card--overview-rank{--stat-icon-bg: rgba( 45, 168, 116, 0.12 );--stat-icon-color: #2DA874}.rank-math-ai-visibility-stat-card--overview-mentions{--stat-icon-bg: rgba( 232, 166, 35, 0.12 );--stat-icon-color: #E8A623}.rank-math-ai-visibility-stat-card--overview-sentiment{--stat-icon-bg: rgba( 82, 96, 185, 0.12 );--stat-icon-color: #5260B9}.rank-math-ai-visibility-stat-card--overview-citations{--stat-icon-bg: rgba( 26, 155, 172, 0.12 );--stat-icon-color: #1A9BAC}.rank-math-ai-visibility-stat-card--overview-competitor{--stat-icon-bg: rgba( 246, 98, 118, 0.12 );--stat-icon-color: #F66276}",""]);const l=o},6350:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-competitors-table{max-width:1146px;margin:0 auto}.rank-math-ai-visibility-competitors-table--loading{display:flex;justify-content:center;padding:24px}.rank-math-ai-visibility-competitors-table--error p{font-size:13px;color:#f66276;margin:0}.rank-math-ai-visibility-competitors-table .rank-math-ai-visibility-data-table__td:first-child{display:flex;align-items:center;gap:10px}.rank-math-ai-visibility-competitors-table__avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;font-size:12px;font-weight:600;color:#fff;flex-shrink:0;line-height:1}.rank-math-ai-visibility-competitors-table__name{font-size:13px;color:#1e1e1e;font-weight:400}",""]);const l=o},5607:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-queries-table{display:flex;flex-direction:column;gap:30px}.rank-math-ai-visibility-queries-table__toolbar{display:flex;align-items:center;gap:12px}.rank-math-ai-visibility-queries-table__toolbar .components-button{min-height:36px;font-weight:300}.rank-math-ai-visibility-queries-table__toolbar .dashicons{font-size:14px;width:14px;height:14px;line-height:14px}.rank-math-ai-visibility-queries-table .rank-math-ai-visibility-data-table__th{font-weight:500;font-size:14px;line-height:20px;color:#1e1e1e;padding:13px}.rank-math-ai-visibility-queries-table .rank-math-ai-visibility-data-table__th:first-child{padding-left:35px}.rank-math-ai-visibility-queries-table .rank-math-ai-visibility-data-table__td{padding:30px 16px;font-weight:400;font-size:13px;line-height:19px;color:#1e1e1e}.rank-math-ai-visibility-queries-table .rank-math-ai-visibility-data-table__td:first-child{padding:20px 35px}.rank-math-ai-visibility-queries-table .rank-math-ai-visibility-data-table__td:nth-child(2),.rank-math-ai-visibility-queries-table .rank-math-ai-visibility-data-table__td:nth-child(3){color:#868686}",""]);const l=o},385:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-run-detail--loading{display:flex;justify-content:center;padding:32px}.rank-math-ai-visibility-run-detail--error p{font-size:13px;color:#f66276;margin:0}.rank-math-ai-visibility-run-detail--empty p{font-size:13px;color:#9b9b9b;margin:0}",""]);const l=o},2634:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,".rank-math-ai-visibility-account{border:1px solid #e0e0e0;border-radius:4px}.rank-math-ai-visibility-account h3{font-style:normal;font-weight:500;font-size:20px;line-height:26px;color:#c64539;margin:0}.rank-math-ai-visibility-account header{padding:19px 28px;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;justify-content:space-between}.rank-math-ai-visibility-account .rank-math-status-button.components-button.is-disconnected{background:#c64539;font-size:13px;font-weight:300;border-radius:2px}.rank-math-ai-visibility-account .rank-math-status-button.components-button.is-disconnected svg{width:10px}.rank-math-ai-visibility-account-content{display:flex;padding:80px;align-items:center;justify-content:center;text-align:center;font-weight:400;font-size:16px;line-height:23px;color:#1e1e1e}.rank-math-ai-visibility-account-content a{color:#017cba}.rank-math-ai-visibility-account-content p{margin:0;font-size:14px;font-weight:400;line-height:23px}.rank-math-ai-visibility-account-content p.rank-math-ai-visibility-account-not-registered-note{margin-top:30px;font-weight:500;line-height:16px;color:#757575}.rank-math-ai-visibility-account-content .rank-math-button.components-button.button-animate{margin-top:32px;font-size:22px;font-weight:400;line-height:80px;padding:0 42px}",""]);const l=o},3019:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-brands-table__last-analyzed{color:#868686;display:inline-flex;align-items:center;gap:4px}.rank-math-ai-visibility-brands-table tbody .rank-math-table-row .rank-math-table-primary-column a{color:#017cba;font-weight:400}.rank-math-ai-visibility-brands-table__brand-cell{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.rank-math-ai-visibility-brands-table tbody .rank-math-table-row .rank-math-table-primary-column .rank-math-ai-visibility-brands-table__brand-name{font-size:13px;font-weight:600;color:#1e1e1e;line-height:1.4}.rank-math-ai-visibility-brands-table tbody .rank-math-table-row .rank-math-table-primary-column .rank-math-ai-visibility-brands-table__brand-name:hover{color:#1e1e1e;text-decoration:none}.rank-math-ai-visibility-brands-table__brand-url{font-size:12px;color:#017cba;line-height:1.4;word-break:break-all}.rank-math-ai-visibility-brands-table__brand-url:hover{text-decoration:underline}.rank-math-ai-visibility-brands-table__brand-link{display:inline-flex;gap:4px}.rank-math-ai-visibility-brands-table .rank-math-table-cell-content{font-size:13px}.rank-math-ai-visibility-brands-table .rank-math-table-header-cell{font-size:14px}.rank-math-ai-visibility-brands-table .rank-math-table thead{background-color:#fcfcfc}.rank-math-ai-visibility-brands-table .rank-math-table thead th{color:#1e1e1e;font-size:14px}.rank-math-ai-visibility-brands-table .rank-math-table thead th:first-child{padding-left:25px}.rank-math-ai-visibility-brands-table .rank-math-table tbody tr td:first-child{padding-left:25px}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row:hover,.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row:nth-child(odd){background:rgba(0,0,0,0)}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled td{color:#c4c4c4}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-brands-table__brand-name{color:#c4c4c4}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-brands-table__brand-url{color:#c4c4c4}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-brands-table__brand-url:hover{text-decoration:none}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-brands-table__last-analyzed{color:#c4c4c4}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-country-flag__code{color:#c4c4c4}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-score-badge{color:#c4c4c4 !important;border-color:#c4c4c4 !important;background-color:rgba(196,196,196,.1) !important}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-rank-badge{color:#c4c4c4 !important;border-color:#c4c4c4 !important;background-color:rgba(196,196,196,.2) !important}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-sentiment-badge{color:#c4c4c4 !important;border-color:#c4c4c4 !important;background-color:rgba(196,196,196,.08) !important}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-sentiment-badge svg{color:#c4c4c4}.rank-math-ai-visibility-brands-table .rank-math-table tbody .rank-math-table-row.is-disabled .rank-math-ai-visibility-sentiment-badge svg path{fill:#c4c4c4 !important}",""]);const l=o},8766:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-brands-toolbar{display:flex;align-items:center;gap:16px}.rank-math-ai-visibility-brands-toolbar__search.components-base-control{flex:0 0 auto;margin:0;width:200px}.rank-math-ai-visibility-brands-toolbar__search.components-base-control input[type=text],.rank-math-ai-visibility-brands-toolbar__search.components-base-control input[type=search]{height:36px;border-radius:2px;border-color:#949494;font-size:13px}.rank-math-ai-visibility-brands-toolbar__search.components-base-control input[type=text]:focus,.rank-math-ai-visibility-brands-toolbar__search.components-base-control input[type=search]:focus{border-color:#017cba;box-shadow:0 0 0 1px #017cba}.rank-math-ai-visibility-brands-toolbar__search.components-base-control input[type=text]{padding:0 12px}.rank-math-ai-visibility-brands-toolbar__search.components-base-control input[type=search]{padding:0 5px}",""]);const l=o},9921:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-dashboard{display:flex;flex-direction:column;gap:26px}.rank-math-ai-visibility-dashboard__error{padding:8px 16px;background:#fef0f0;border:1px solid #f66276;border-radius:4px;color:#f66276;font-size:14px}.rank-math-ai-visibility-dashboard__stats{display:flex;gap:16px;margin-top:16px}@media(max-width: 782px){.rank-math-ai-visibility-dashboard__stats{flex-direction:column}}.rank-math-ai-visibility-dashboard__empty{background:#fff;border:1px solid #e0e0e0;border-radius:4px}.rank-math-ai-visibility-dashboard__table-card{background:#fff;border:1px solid #e0e0e0;border-radius:4px;overflow:hidden;position:relative}.rank-math-ai-visibility-dashboard__table-card .rank-math-ai-visibility-brands-toolbar{padding:14px 25px;border-bottom:1px solid #e0e0e0;gap:8px}.rank-math-ai-visibility-dashboard__table-card .rank-math-ai-visibility-brands-toolbar__search.components-base-control{width:260px}.rank-math-ai-visibility-dashboard__table-card .rank-math-table-header{display:none}.rank-math-ai-visibility-dashboard__table-card .rank-math-table-card{border:none;border-radius:0;background:rgba(0,0,0,0);box-shadow:none}.rank-math-ai-visibility-dashboard__table-card .rank-math-table-footer,.rank-math-ai-visibility-dashboard__table-card .rank-math-table__pagination{display:flex;justify-content:center}.rank-math-ai-visibility-dashboard__table-card>svg{position:absolute;top:0;left:0;z-index:999;opacity:.5}",""]);const l=o},3484:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,".rank-math-ai-visibility-gated-preview{filter:blur(4px);pointer-events:none;user-select:none}",""]);const l=o},7377:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-reports{display:flex;flex-direction:column;gap:24px}.rank-math-ai-visibility-reports-total-citations .rank-math-ai-visibility-reports__stat-value,.rank-math-ai-visibility-reports-total-mentions .rank-math-ai-visibility-reports__stat-value{font-size:26px}.rank-math-ai-visibility-reports__layout{display:grid;grid-template-columns:1fr 3fr;gap:16px}.rank-math-ai-visibility-reports__filters{display:flex;flex-direction:column;gap:0;padding:0;background:#fff;border:1px solid #e0e0e0;border-radius:4px;align-self:baseline;min-width:0}.rank-math-ai-visibility-reports__filters-header{display:flex;align-items:center;min-height:68px;gap:9px;padding:0 18px 0 24px;border-bottom:1px solid #e0e0e0}.rank-math-ai-visibility-reports__filters-header .dashicons{font-size:18px;width:18px;height:18px;color:#9b9b9b;flex-shrink:0}.rank-math-ai-visibility-reports__filters-body{display:flex;flex-direction:column;gap:12px;padding:20px 24px 24px}.rank-math-ai-visibility-reports__filters-header .rank-math-ai-visibility-reports__filters-title{font-size:13px;font-weight:500;line-height:16px;color:#1e1e1e;margin:0 0 2px}.rank-math-ai-visibility-reports__filters-header .rank-math-ai-visibility-reports__filters-subtitle{font-size:12px;line-height:20px;color:#868686;margin:0}.rank-math-ai-visibility-reports__filter-field{display:flex;flex-direction:column;gap:8px}.rank-math-ai-visibility-reports__filter-field .components-base-control__label{font-size:11px;font-weight:600;color:#1e1e1e;letter-spacing:.1px;text-transform:uppercase}.rank-math-ai-visibility-reports__generate-btn{align-self:flex-start;margin-top:24px}.rank-math-ai-visibility-reports__preview{display:flex;flex-direction:column;gap:24px;min-width:0}.rank-math-ai-visibility-reports__empty{display:flex;align-items:center;justify-content:center;min-height:100%;background:#fff;border:1px dashed #e0e0e0;border-radius:4px}.rank-math-ai-visibility-reports__empty p{font-size:14px;color:#9b9b9b;margin:0;text-align:center}.rank-math-ai-visibility-reports__report-card{background:#fff;border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}.rank-math-ai-visibility-reports__preview-header{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:0 18px 0 24px;gap:16px;border-bottom:1px solid #e0e0e0}.rank-math-ai-visibility-reports__preview-title-row{display:flex;align-items:center;gap:12px}.rank-math-ai-visibility-reports__preview-title-row .dashicons{font-size:18px;width:18px;height:18px;color:#9b9b9b;flex-shrink:0}.rank-math-ai-visibility-reports__preview-header .rank-math-ai-visibility-reports__preview-title{font-size:13px;font-weight:500;line-height:16px;color:#1e1e1e;margin:0 0 2px}.rank-math-ai-visibility-reports__preview-header .rank-math-ai-visibility-reports__preview-subtitle{font-size:12px;font-weight:300;line-height:20px;color:#868686;margin:0}.rank-math-ai-visibility-reports__preview-actions{display:flex;gap:8px;flex-shrink:0;align-items:center}.rank-math-ai-visibility-reports__report-card-body{padding:30px 20px 20px 20px;display:flex;flex-direction:column;gap:26px;min-width:0;overflow-x:auto}.rank-math-ai-visibility-reports__stat-cards{display:grid;grid-template-columns:repeat(4, 1fr);gap:12px}.rank-math-ai-visibility-reports__stat-card{background:#fff;border:1px solid #e0e0e0;border-radius:4px;display:flex;gap:16px;padding:34px 17px}.rank-math-ai-visibility-reports__stat-icon{display:flex;align-items:center;justify-content:center;min-width:44px;flex-shrink:0;width:45.5px;height:38.52px;border-radius:7.16667px}.rank-math-ai-visibility-reports__stat-icon .dashicons{font-size:20px;width:20px;height:20px}.rank-math-ai-visibility-reports__stat-body{display:flex;flex-direction:column;gap:8px;min-width:0}.rank-math-ai-visibility-reports__stat-label{font-size:12px;white-space:nowrap;gap:8px;display:inline-flex}.rank-math-ai-visibility-reports__stat-value{font-size:30px;font-weight:500;color:#1e1e1e;line-height:1}.rank-math-ai-visibility-reports__stat-value--na{color:#868686;font-weight:400}.rank-math-ai-visibility-reports__report-card-body .rank-math-ai-visibility-data-table__th{padding:15px 18px;font-size:14px;color:#1e1e1e}.rank-math-ai-visibility-reports__report-card-body .rank-math-ai-visibility-data-table__td{padding:10px 16px}.rank-math-ai-visibility-reports__report-card-body .rank-math-ai-visibility-data-table__td--date{color:#868686}.rank-math-ai-visibility-reports__competitors{display:flex;flex-wrap:wrap;gap:7px}.rank-math-ai-visibility-reports__competitor-tag{box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;gap:6px;border:1px solid rgba(0,0,0,.1);border-radius:2px;font-weight:400;font-size:12px;line-height:13px;color:rgba(0,0,0,.5)}",""]);const l=o},9559:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-access-gate-modal.components-modal__frame{width:600px;max-width:95vw;max-height:95%}.rank-math-ai-visibility-access-gate-modal .components-modal__content{padding:0}.rank-math-ai-visibility-access-gate-modal__header{display:flex;align-items:center;gap:14px;padding:26px 56px;background:linear-gradient(96deg, #7053c9 0%, #59abf7 100%)}.rank-math-ai-visibility-access-gate-modal__header-icon{flex-shrink:0;color:#fff}.rank-math-ai-visibility-access-gate-modal__header-icon.dashicons,.rank-math-ai-visibility-access-gate-modal__header-icon.rm-icon{width:26px;height:26px;font-size:26px;line-height:1}.rank-math-ai-visibility-access-gate-modal__title{margin:0;font-size:20px;font-weight:500;line-height:1.3;color:#fff !important}.rank-math-ai-visibility-access-gate-modal__body{display:flex;flex-direction:column;gap:24px;padding:32px 56px 28px}.rank-math-ai-visibility-gate__intro{margin:0;font-size:14px;line-height:1.65;color:#4e4e4e}.rank-math-ai-visibility-gate__intro strong{color:#1e1e1e;font-weight:600}.rank-math-ai-visibility-gate__notice{margin:0;padding:12px 16px;font-size:13px;line-height:1.55;color:#1e1e1e;background:#ebf3fa;border-left:3px solid #017cba;border-radius:0 4px 4px 0}.rank-math-ai-visibility-gate__error{margin:0;padding:10px 14px;background-color:#fff3f3;border:1px solid #f0b8b8;border-radius:4px;color:#c0392b;font-size:13px;line-height:1.5}.rank-math-ai-visibility-gate__actions{display:flex}.rank-math-ai-visibility-gate__footnote{margin:-12px 0 0;font-size:12px;color:#757575}.rank-math-ai-visibility-btn.rank-math-ai-visibility-gate__cta.components-button{background:#16a571;color:#fff;font-size:14px;padding:12px 16px}.rank-math-ai-visibility-btn.rank-math-ai-visibility-gate__cta.components-button svg{fill:#fff}.rank-math-ai-visibility-btn.rank-math-ai-visibility-gate__cta.components-button:hover:not(:disabled){background:rgb(18.4,138,94.5090909091);color:#fff !important}.rank-math-ai-visibility-btn.rank-math-ai-visibility-gate__cta.components-button:focus-visible{background:#16a571;color:#fff !important;box-shadow:0 0 0 2px #fff,0 0 0 4px #16a571}.rank-math-ai-visibility-btn.rank-math-ai-visibility-gate__cta.components-button:focus:not(:focus-visible):not(:disabled){background:#16a571;color:#fff !important}.rank-math-ai-visibility-btn.rank-math-ai-visibility-gate__cta.components-button:active:not(:disabled){background:rgb(16,120,82.1818181818);color:#fff !important}",""]);const l=o},5367:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-activating-modal.components-modal__frame{width:440px;max-width:95vw}.rank-math-ai-visibility-activating-modal .components-modal__content{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px 40px 32px;text-align:center}.rank-math-ai-visibility-activating-modal__spinner{margin-bottom:4px}.rank-math-ai-visibility-activating-modal__spinner .components-spinner{width:44px;height:44px;margin:0;color:#017cba}.rank-math-ai-visibility-activating-modal__title{margin:0;font-size:18px;font-weight:500;line-height:1.35;color:#017cba}.rank-math-ai-visibility-activating-modal__subtitle{margin:0;font-size:13px;line-height:1.55;color:#757575}.rank-math-ai-visibility-activating-modal__steps{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:12px 0 0;padding:0;list-style:none;text-align:left}.rank-math-ai-visibility-activating-modal__step{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;line-height:1.4;color:#9b9b9b;transition:color .2s ease,opacity .2s ease}.rank-math-ai-visibility-activating-modal__step--done,.rank-math-ai-visibility-activating-modal__step--active{color:#017cba}.rank-math-ai-visibility-activating-modal__step--pending{opacity:.6}.rank-math-ai-visibility-activating-modal__step-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:14px;height:14px;color:currentColor}.rank-math-ai-visibility-activating-modal__step-icon .rm-icon{font-size:13px;line-height:1}.rank-math-ai-visibility-activating-modal__step-circle{display:block;width:12px;height:12px;border:1.4px solid currentColor;border-radius:50%}.rank-math-ai-visibility-activating-modal__step--active .rank-math-ai-visibility-activating-modal__step-circle{border-top-color:rgba(0,0,0,0);animation:rank-math-aiv-step-spin .9s linear infinite}@keyframes rank-math-aiv-step-spin{to{transform:rotate(360deg)}}.rank-math-ai-visibility-trial-success__video{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:280px;padding:32px 24px;background:#131a2a;border-radius:8px;color:#fff}.rank-math-ai-visibility-trial-success__video--idle{cursor:pointer}.rank-math-ai-visibility-trial-success__video--idle:hover,.rank-math-ai-visibility-trial-success__video--idle:focus-visible{outline:none}.rank-math-ai-visibility-trial-success__video--idle:hover .rank-math-ai-visibility-trial-success__video-play,.rank-math-ai-visibility-trial-success__video--idle:focus-visible .rank-math-ai-visibility-trial-success__video-play{opacity:.75;transform:scale(1.1)}.rank-math-ai-visibility-trial-success__video--playing{padding:0;overflow:hidden}.rank-math-ai-visibility-trial-success__video-iframe{display:block;width:100%;height:280px;border:0;border-radius:8px}.rank-math-ai-visibility-trial-success__video-play.dashicons{width:48px;height:48px;font-size:48px;line-height:1;transition:opacity .2s ease,transform .2s ease}.rank-math-ai-visibility-trial-success__video-caption{font-size:12px;font-weight:500;letter-spacing:1.5px;text-transform:uppercase}.rank-math-ai-visibility-trial-success__links{display:flex;align-items:center;gap:28px}.rank-math-ai-visibility-trial-success__link{display:inline-flex;align-items:center;gap:7px;font-size:14px;color:#017cba;text-decoration:none}.rank-math-ai-visibility-trial-success__link .rm-icon{flex-shrink:0;font-size:16px;line-height:1}.rank-math-ai-visibility-trial-success__link:hover,.rank-math-ai-visibility-trial-success__link:focus{color:rgb(.7818181818,96.9454545455,145.4181818182);text-decoration:underline;box-shadow:none}",""]);const l=o},9368:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-add-brand-modal.components-modal__frame{width:585px;max-width:95vw;max-height:85%}.rank-math-ai-visibility-add-brand-modal .components-modal__content{padding:0}.rank-math-ai-visibility-add-brand-modal__header{display:flex;align-items:flex-start;justify-content:space-between;padding:30px 32px 32px 54px}.rank-math-ai-visibility-add-brand-modal__header-text{display:flex;flex-direction:column;gap:6px}.rank-math-ai-visibility-add-brand-modal__title{margin:0;font-size:18px;font-weight:400;line-height:1.3;color:#1e1e1e}.rank-math-ai-visibility-add-brand-modal__subtitle{margin:0;font-size:13px;line-height:1.5;color:#9b9b9b}.rank-math-ai-visibility-add-brand-modal__subtitle a{margin-left:2px}.rank-math-ai-visibility-add-brand-modal__close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:rgba(0,0,0,0);border:none;border-radius:4px;color:#9b9b9b;cursor:pointer;flex-shrink:0;margin-top:-4px}.rank-math-ai-visibility-add-brand-modal__close:hover{background:rgba(0,0,0,.06);color:#1e1e1e}.rank-math-ai-visibility-add-brand-modal__close:focus-visible{outline:2px solid #868686;outline-offset:2px}.rank-math-ai-visibility-add-brand-modal__close[aria-expanded=true],.rank-math-ai-visibility-add-brand-modal__close:hover:not(:disabled,[aria-disabled=true]){background:rgba(0,0,0,0);color:inherit}.rank-math-ai-visibility-add-brand-modal__close:focus:not(:active){box-shadow:none}.rank-math-ai-visibility-add-brand-modal__divider{margin:0;border:none;border-top:1px solid #e0e0e0}.rank-math-ai-visibility-add-brand-modal__body{display:flex;flex-direction:column;gap:22px;padding:36px 56px}.rank-math-ai-visibility-add-brand-modal__field{display:flex;flex-direction:column;gap:6px}.rank-math-ai-visibility-add-brand-modal__label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;color:#1e1e1e}.rank-math-ai-visibility-add-brand-modal__info-icon{color:#9b9b9b;flex-shrink:0}.rank-math-ai-visibility-add-brand-modal__field-note{margin:4px 0 0;font-size:12px;color:#9b9b9b}.rank-math-ai-visibility-add-brand-modal__field-note--error{color:#f66276}.rank-math-ai-visibility-add-brand-modal .components-base-control__label,.rank-math-ai-visibility-add-brand-modal .components-input-control__label{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;color:#1e1e1e}.rank-math-ai-visibility-add-brand-modal .rank-math-select-with-searchbox{max-width:100%}.rank-math-ai-visibility-add-brand-modal .rank-math-select-with-searchbox .components-button{font-weight:normal;font-size:inherit;font-family:inherit;line-height:inherit}.rank-math-ai-visibility-add-brand-modal__field--error .components-text-control__input,.rank-math-ai-visibility-add-brand-modal__field--error .components-textarea-control__input{border-color:#f66276}.rank-math-ai-visibility-add-brand-modal__field--error .components-text-control__input:focus,.rank-math-ai-visibility-add-brand-modal__field--error .components-textarea-control__input:focus{box-shadow:0 0 0 1px #f66276;border-color:#f66276}.rank-math-ai-visibility-add-brand-modal__field--error .components-base-control__help{color:#f66276}.rank-math-ai-visibility-add-brand-modal .components-base-control{margin-bottom:0}.rank-math-ai-visibility-add-brand-modal__platforms{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row;gap:10px 16px;margin-top:4px}.rank-math-ai-visibility-add-brand-modal__platform-row{display:flex;align-items:center;gap:8px}.rank-math-ai-visibility-add-brand-modal__platform-row .components-checkbox-control{margin-bottom:0}.rank-math-ai-visibility-add-brand-modal__platform-row .components-checkbox-control__input-container,.rank-math-ai-visibility-add-brand-modal__platform-row .components-checkbox-control__label{cursor:pointer}.rank-math-ai-visibility-add-brand-modal__platform-row--disabled{opacity:.65}.rank-math-ai-visibility-add-brand-modal__platform-row--disabled .components-checkbox-control__input-container,.rank-math-ai-visibility-add-brand-modal__platform-row--disabled .components-checkbox-control__label{cursor:not-allowed}.rank-math-ai-visibility-add-brand-modal__coming-soon{display:inline-flex;align-items:center;padding:0px 4px;background-color:rgba(183,183,183,.1411764706);color:#9d9d9d;font-size:10px;font-weight:500;white-space:nowrap;flex-shrink:0;border:1px solid rgba(183,183,183,.1294117647);border-radius:2px}.rank-math-ai-visibility-add-brand-modal__api-error{margin:0 54px 0 54px;padding:10px 14px;background-color:#fff3f3;border:1px solid #f0b8b8;border-radius:4px;color:#c0392b;font-size:13px;line-height:1.5}.rank-math-ai-visibility-add-brand-modal__footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:20px 54px 24px 24px}.rank-math-ai-visibility-add-brand-modal__footer .components-button.is-primary{min-height:40px;padding:12px 16px;font-weight:300}.rank-math-ai-visibility-add-brand-modal__footer .components-button.is-secondary{min-height:40px;padding:12px 16px;color:#757575;border-color:#949494}.rank-math-ai-visibility-add-brand-modal .rank-math-ai-visibility-add-brand-modal__close{padding:0px;color:#9b9b9b}",""]);const l=o},1655:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-checkout-iframe{display:block;width:100%;height:100%;border:0}.rank-math-ai-visibility-checkout-iframe__state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;height:72vh;background:#fff}.rank-math-ai-visibility-checkout-iframe__error{margin:0;max-width:360px;font-size:14px;color:#4e4e4e;text-align:center}",""]);const l=o},9034:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-confirm-modal .components-modal__content{padding-bottom:0}.rank-math-ai-visibility-confirm-modal__message{margin:0 0 24px;font-size:14px;line-height:1.6;color:#1e1e1e}.rank-math-ai-visibility-confirm-modal__footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:20px 0 28px;border-top:1px solid #e0e0e0;margin-top:4px}.rank-math-ai-visibility-confirm-modal__footer .components-button{min-height:36px;padding:8px 16px;font-size:13px;font-weight:500}.rank-math-ai-visibility-confirm-modal__footer .components-button.is-secondary{color:#5c5f62;border-color:#8c9196}.rank-math-ai-visibility-confirm-modal__footer .components-button.is-secondary:hover:not(:disabled){color:#1d2327;border-color:#5c5f62;background:rgba(0,0,0,.04)}.rank-math-ai-visibility-confirm-modal__footer .components-button.is-primary.is-destructive{background:#f66276;border-color:#f66276;color:#fff}.rank-math-ai-visibility-confirm-modal__footer .components-button.is-primary.is-destructive:hover:not(:disabled){background:rgb(243.7879518072,59.4120481928,84.3277108434);border-color:rgb(243.7879518072,59.4120481928,84.3277108434)}",""]);const l=o},1664:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,".rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{top:32px;left:160px;z-index:999999}body.folded .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{left:36px}body.rtl .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{left:0;right:160px}body.rtl.folded .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{right:36px}@media(max-width: 960px){body.auto-fold .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{left:36px}body.rtl.auto-fold .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{left:0;right:36px}}@media(max-width: 782px){.rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{top:46px}.rank-math-ai-visibility-content-overlay.components-modal__screen-overlay,body.folded .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay,body.auto-fold .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay,body.rtl .rank-math-ai-visibility-content-overlay.components-modal__screen-overlay{left:0;right:0}}body:has(.rank-math-ai-visibility-content-overlay) #wpfooter{position:relative;z-index:100001}",""]);const l=o},5357:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-feature-checklist{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none}.rank-math-ai-visibility-feature-checklist__item{display:flex;align-items:center;gap:14px;margin:0}.rank-math-ai-visibility-feature-checklist__icon.dashicons{flex-shrink:0;width:20px;height:20px;font-size:20px;line-height:1;color:#16a571}.rank-math-ai-visibility-feature-checklist__label{font-size:14px;line-height:1.4;color:#1e1e1e}",""]);const l=o},3771:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-upgrade-plan-modal.components-modal__frame{width:1060px;max-width:95vw;max-height:92vh}.rank-math-ai-visibility-upgrade-plan-modal .components-modal__content{padding:0}.rank-math-ai-visibility-upgrade-plan-modal__header{display:flex;align-items:flex-start;gap:14px;padding:24px 32px}.rank-math-ai-visibility-upgrade-plan-modal__header-icon.dashicons{flex-shrink:0;margin-top:2px;width:24px;height:24px;font-size:24px;line-height:1;color:#1e1e1e}.rank-math-ai-visibility-upgrade-plan-modal__header-text{display:flex;flex-direction:column;gap:4px;flex:1}.rank-math-ai-visibility-upgrade-plan-modal__title{margin:0;font-size:18px;font-weight:600;line-height:1.3;color:#1e1e1e}.rank-math-ai-visibility-upgrade-plan-modal__subtitle{margin:0;font-size:13px;line-height:1.5;color:#757575}.rank-math-ai-visibility-upgrade-plan-modal__close.components-button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;flex-shrink:0;background:rgba(0,0,0,0);border:1px solid #e0e0e0;border-radius:4px;color:#9b9b9b;cursor:pointer}.rank-math-ai-visibility-upgrade-plan-modal__close.components-button:hover:not(:disabled){background:rgba(0,0,0,.04);color:#1e1e1e !important}.rank-math-ai-visibility-upgrade-plan-modal__close.components-button:focus-visible{outline:2px solid #017cba;outline-offset:2px;box-shadow:none}.rank-math-ai-visibility-upgrade-plan-modal__close.components-button:focus:not(:active){box-shadow:none}.rank-math-ai-visibility-upgrade-plan-modal__body{background:linear-gradient(96deg, #7053c9 0%, #59abf7 100%)}.rank-math-ai-visibility-upgrade-plan-modal__body iframe{display:block;width:100%;height:72vh;border:0}.rank-math-ai-visibility-upgrade-plan-modal__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 32px;background:#fff}.rank-math-ai-visibility-upgrade-plan-modal__guarantee{margin:0;font-size:13px;color:#4e4e4e}.rank-math-ai-visibility-upgrade-plan-modal__later.components-button{padding:0;height:auto;font-size:14px;font-weight:500;color:#017cba;background:rgba(0,0,0,0);border:none;box-shadow:none;text-decoration:none}.rank-math-ai-visibility-upgrade-plan-modal__later.components-button:hover:not(:disabled){color:rgb(.7818181818,96.9454545455,145.4181818182) !important;text-decoration:underline;background:rgba(0,0,0,0)}.rank-math-ai-visibility-upgrade-plan-modal__later.components-button:focus-visible{outline:2px solid #017cba;outline-offset:2px;box-shadow:none}.rank-math-ai-visibility-upgrade-plan-modal__later.components-button:focus:not(:focus-visible){box-shadow:none}",""]);const l=o},6424:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-action-buttons{display:grid;grid-template-columns:repeat(3, 28px);gap:8px;align-items:center;flex-shrink:0}.rank-math-ai-visibility-action-buttons .dashicons,.rank-math-ai-visibility-action-buttons svg{height:16px;width:16px;font-size:16px;line-height:1;flex-shrink:0}.rank-math-ai-visibility-action-buttons svg path,.rank-math-ai-visibility-action-buttons svg circle{fill:currentColor}.rank-math-ai-visibility-action-buttons .rank-math-ai-visibility-btn--icon.components-button{width:28px;height:28px;min-width:unset;padding:0;gap:0;border:none;background:rgba(0,0,0,0);box-shadow:none;position:relative;overflow:visible;z-index:1}.rank-math-ai-visibility-action-buttons .rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled),.rank-math-ai-visibility-action-buttons .rank-math-ai-visibility-btn--icon.components-button:focus:not(:disabled){background:rgba(0,0,0,0);box-shadow:none}.rank-math-ai-visibility-action-buttons .rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled){z-index:10}.rank-math-ai-visibility-action-buttons .rank-math-ai-visibility-btn--icon.components-button:focus-visible{outline:none;box-shadow:none}.rank-math-ai-visibility-action-buttons__inner{box-sizing:border-box;position:absolute;left:0;top:0;height:28px;display:flex;align-items:center;padding:0 6px;border-radius:2px;white-space:nowrap;min-width:28px;box-shadow:0 0 0 1px #c6c6c6;background:rgba(0,0,0,0);color:#757575;pointer-events:none;transition:min-width .2s ease,box-shadow .15s ease,background .15s ease,color .15s ease}.rank-math-ai-visibility-action-buttons__inner>span:not(.rank-math-ai-visibility-action-buttons__label){flex-shrink:0;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;line-height:1}.rank-math-ai-visibility-action-buttons__label{max-width:0;overflow:hidden;opacity:0;white-space:nowrap;font-size:12px;line-height:1;transition:max-width .2s ease,opacity .15s ease,margin-left .15s ease}.rank-math-ai-visibility-action-buttons__view.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__inner{box-shadow:0 0 0 1px #42b268;color:#42b268}.rank-math-ai-visibility-action-buttons__view.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__inner{min-width:64px;box-shadow:0 0 0 1px #198b3f;background:#f0f9f3;color:#198b3f}.rank-math-ai-visibility-action-buttons__view.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__label{max-width:50px;opacity:1;margin-left:4px}.rank-math-ai-visibility-action-buttons__edit.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__inner{min-width:64px;box-shadow:0 0 0 1px #9b9b9b;background:#f8f8f8;color:#383838}.rank-math-ai-visibility-action-buttons__edit.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__label{max-width:40px;opacity:1;margin-left:4px}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__inner{right:0;left:auto;flex-direction:row-reverse;box-shadow:0 0 0 1px #017cba;color:#017cba}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__label{transition:max-width .2s ease,opacity .15s ease,margin-right .15s ease}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__inner{min-width:64px;box-shadow:0 0 0 1px #006ba1;background:#ebf5fa;color:#006ba1}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__label{max-width:36px;opacity:1;margin-right:4px}.rank-math-ai-visibility-action-buttons__active.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__inner{box-shadow:0 0 0 1px #f66276;color:#f66276}.rank-math-ai-visibility-action-buttons__active.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__inner{box-shadow:0 0 0 1px #f66276;background:#fff9fa;color:#f24f65}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__inner,.rank-math-ai-visibility-action-buttons__active.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__inner{right:0;left:auto;flex-direction:row-reverse}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__label,.rank-math-ai-visibility-action-buttons__active.rank-math-ai-visibility-btn--icon.components-button .rank-math-ai-visibility-action-buttons__label{transition:max-width .2s ease,opacity .15s ease,margin-right .15s ease}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__inner,.rank-math-ai-visibility-action-buttons__active.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__inner{min-width:64px}.rank-math-ai-visibility-action-buttons__inactive.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__label,.rank-math-ai-visibility-action-buttons__active.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled) .rank-math-ai-visibility-action-buttons__label{max-width:80px;opacity:1;margin-right:4px}",""]);const l=o},5089:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-btn.components-button{padding:10px 12px;gap:8px;border-radius:2px;font-size:13px;font-weight:400;line-height:1;white-space:nowrap;cursor:pointer;height:auto}.rank-math-ai-visibility-btn--primary.components-button{background:#017cba;color:#fff;border:none;box-shadow:none}.rank-math-ai-visibility-btn--primary.components-button:hover:not(:disabled){background:rgb(.7818181818,96.9454545455,145.4181818182);color:#fff !important;box-shadow:none}.rank-math-ai-visibility-btn--primary.components-button:focus-visible{background:#017cba;color:#fff !important;box-shadow:0 0 0 2px #fff,0 0 0 4px #017cba;outline:none}.rank-math-ai-visibility-btn--primary.components-button:focus:not(:focus-visible):not(:disabled){background:#017cba;color:#fff !important;box-shadow:none;outline:none}.rank-math-ai-visibility-btn--primary.components-button:active:not(:disabled){background:rgb(.6727272727,83.4181818182,125.1272727273);color:#fff !important;box-shadow:none}.rank-math-ai-visibility-btn--primary.components-button:disabled,.rank-math-ai-visibility-btn--primary.components-button[aria-disabled=true]{opacity:.6;cursor:not-allowed}.rank-math-ai-visibility-btn--secondary.components-button{background:rgba(0,0,0,0);color:#4e4e4e;border:1px solid #949494;border-radius:2px;box-shadow:none}.rank-math-ai-visibility-btn--secondary.components-button:hover:not(:disabled){background:rgba(0,0,0,0);color:#4e4e4e !important;border-color:#4e4e4e;box-shadow:none}.rank-math-ai-visibility-btn--secondary.components-button:focus-visible{color:#4e4e4e !important;box-shadow:none;outline:2px solid #017cba;outline-offset:2px}.rank-math-ai-visibility-btn--secondary.components-button:focus:not(:focus-visible):not(:disabled){color:#4e4e4e !important;box-shadow:none;outline:none}.rank-math-ai-visibility-btn--secondary.components-button:disabled,.rank-math-ai-visibility-btn--secondary.components-button[aria-disabled=true]{opacity:.6;cursor:not-allowed}.rank-math-ai-visibility-btn--icon.components-button{width:28px;height:28px;min-width:0;padding:0;border:1px solid #e0e0e0;border-radius:4px;background:rgba(0,0,0,0);color:#9b9b9b;box-shadow:none;transition:background .15s ease,color .15s ease,border-color .15s ease;display:inline-flex;align-items:center;justify-content:center}.rank-math-ai-visibility-btn--icon.components-button svg{display:block;flex-shrink:0}.rank-math-ai-visibility-btn--icon.components-button:hover:not(:disabled){background:rgba(0,0,0,.05);color:#9b9b9b}.rank-math-ai-visibility-btn--icon.components-button:focus-visible{outline:2px solid #017cba;outline-offset:2px;box-shadow:none}.rank-math-ai-visibility-btn--icon.components-button:disabled,.rank-math-ai-visibility-btn--icon.components-button[aria-disabled=true]{opacity:.6;cursor:not-allowed}.rank-math-ai-visibility-btn--primary.components-button.is-destructive{background:#f66276;color:#fff;border:none}.rank-math-ai-visibility-btn--primary.components-button.is-destructive:hover:not(:disabled){background:rgb(243.7879518072,59.4120481928,84.3277108434);color:#fff !important}.rank-math-ai-visibility-btn--icon-danger.components-button{color:#f66276;border-color:#f66276;background:rgba(246,98,118,.08)}.rank-math-ai-visibility-btn--icon-danger.components-button svg{fill:#f66276}.rank-math-ai-visibility-btn--icon-danger.components-button:hover:not(:disabled){background:rgba(246,98,118,.14);color:#f66276}.rank-math-ai-visibility-btn--icon-active.components-button{color:#017cba;border-color:#017cba;background:rgba(1,124,186,.08)}.rank-math-ai-visibility-btn--icon-active.components-button svg{fill:#017cba}.rank-math-ai-visibility-btn--icon-active.components-button:hover:not(:disabled){background:rgba(1,124,186,.14);color:#017cba}.rank-math-ai-visibility-btn__icon-left,.rank-math-ai-visibility-btn__icon-right{display:inline-flex;align-items:center;flex-shrink:0;line-height:0}.rank-math-ai-visibility-btn__icon-left svg,.rank-math-ai-visibility-btn__icon-right svg{display:block;width:16px;height:16px}.rank-math-ai-visibility-btn.rank-math-ai-visibility-view-transcript{padding:7px 8px;gap:6px;background:rgba(0,0,0,0) !important;border:1px solid #42b268 !important;border-radius:2px;font-size:12px;color:#42b268 !important;box-shadow:none !important}.rank-math-ai-visibility-btn.rank-math-ai-visibility-view-transcript:hover:not(:disabled){background:#f0f9f3 !important;color:#198b3f !important;border-color:#198b3f !important;box-shadow:none !important}.rank-math-ai-visibility-btn.rank-math-ai-visibility-view-transcript:focus-visible{outline:none !important;box-shadow:none !important;color:#42b268 !important}.rank-math-ai-visibility-btn.rank-math-ai-visibility-view-transcript:focus:not(:focus-visible){box-shadow:none !important;outline:none !important;color:#42b268 !important}.rank-math-ai-visibility-btn.rank-math-ai-visibility-view-transcript .dashicons{color:#42b268;height:13px;width:13px;font-size:14px}.components-modal__header button.components-button{color:#9b9b9b;background:rgba(0,0,0,0);box-shadow:none}.components-modal__header button.components-button:hover:not(:disabled){background:rgba(0,0,0,.06);color:#1e1e1e !important;box-shadow:none}.components-modal__header button.components-button:focus-visible{outline:2px solid #017cba;outline-offset:2px;box-shadow:none;color:#1e1e1e !important}.components-modal__header button.components-button:focus:not(:focus-visible){box-shadow:none}.components-modal__header button.components-button svg{fill:currentColor}",""]);const l=o},627:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-count-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-size:12px;font-weight:400;color:#1e1e1e;line-height:1;background:rgba(0,0,0,.05)}.rank-math-ai-visibility-count-badge--citations{background:rgba(66,178,104,.08)}.rank-math-ai-visibility-count-badge--mentions{background:rgba(223,150,44,.08)}",""]);const l=o},5975:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-country-flag{display:inline-flex;align-items:center;gap:2px;height:16px;padding:0 6px;border-radius:2px;border:1px solid #cecece;background:rgba(109,122,135,.0901960784);font-size:11px;font-weight:400;line-height:1;white-space:nowrap;color:#9b9b9b}.rank-math-ai-visibility-country-flag__emoji{font-size:11px;line-height:1}.rank-math-ai-visibility-country-flag__code{font-size:11px;line-height:1}",""]);const l=o},479:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-data-table{width:100%;border-collapse:collapse;font-size:13px;border:1px solid #e0e0e0;background:#fff}.rank-math-ai-visibility-data-table__th{padding:14px 22px;text-align:left;font-size:12px;font-weight:500;color:#3c434a;border-bottom:1px solid #e0e0e0;background:#f9f9f9;white-space:nowrap}.rank-math-ai-visibility-data-table__row{border-bottom:1px solid #e0e0e0}.rank-math-ai-visibility-data-table__row:last-child{border-bottom:none}.rank-math-ai-visibility-data-table__row:hover{background:rgba(0,0,0,.01)}.rank-math-ai-visibility-data-table__td{padding:14px 22px;vertical-align:middle;color:#1e1e1e;line-height:1.5}",""]);const l=o},6135:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-date-input{display:inline-flex;align-items:center;gap:4px;height:34px;padding:0 8px;border:1px solid #949494;border-radius:2px}.rank-math-ai-visibility-date-input:focus-within{border-color:#949494 !important;box-shadow:0 0 0 2px rgba(148,148,148,.15) !important}.rank-math-ai-visibility-date-input input{border:none;color:#383838;padding:0;min-width:auto;width:auto;min-height:auto}.rank-math-ai-visibility-date-input input:focus{border:none !important;box-shadow:none !important;outline:none !important}.rank-math-ai-visibility-date-input input::-webkit-datetime-edit{max-width:max-content}.rank-math-ai-visibility-date-input input::-webkit-calendar-picker-indicator{opacity:.5;background-size:14px;padding-left:4px}",""]);const l=o},6583:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:100px 0}.rank-math-ai-visibility-empty-state__icon{width:60px;height:60px;border-radius:40px;background:rgba(57,116,198,.1);padding:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box}.rank-math-ai-visibility-empty-state__icon svg{width:28px;height:28px;fill:#017cba}.rank-math-ai-visibility-empty-state .rank-math-ai-visibility-empty-state__heading{margin:0 0 8px 0;font-size:28px;font-weight:400;line-height:34px;color:#1e1e1e}.rank-math-ai-visibility-empty-state .rank-math-ai-visibility-empty-state__description{margin:0 0 15px 0;font-size:16px;font-weight:300;line-height:23px;color:#868686;max-width:580px}.rank-math-ai-visibility-empty-state .components-button.rank-math-ai-visibility-btn.rank-math-ai-visibility-empty-state__cta{font-weight:300}",""]);const l=o},6574:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-page-topbar{display:flex;align-items:center;justify-content:space-between}.rank-math-ai-visibility-page-topbar__left{display:flex;align-items:center;gap:16px;font-size:14px}.rank-math-ai-visibility-page-topbar__title{font-size:16px;font-weight:500;color:#1e1e1e}.rank-math-ai-visibility-page-topbar__actions{display:flex;align-items:center;gap:8px}",""]);const l=o},6558:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-rank-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0;border-radius:50%;border-width:1px;border-style:solid;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;flex-shrink:0}.rank-math-ai-visibility-rank-badge--rank-1{color:#42b268;background-color:rgba(66,178,104,.1019607843);border-color:#42b268}.rank-math-ai-visibility-rank-badge--rank-3{color:#f66276;background-color:rgba(246,98,118,.1019607843);border-color:#f66276}.rank-math-ai-visibility-rank-badge--rank-2{color:#f2b02d;background-color:rgba(242,176,45,.1019607843);border-color:#f2b02d}.rank-math-ai-visibility-rank-badge--neutral{color:#b7b7b7;background-color:rgba(183,183,183,.1019607843);border-color:#b7b7b7}",""]);const l=o},4236:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-score-badge{display:inline-flex;align-items:center;padding:3px 6px;border-radius:2px;font-size:11px;font-weight:600;white-space:nowrap;border:1px solid #b7b7b7;background:rgba(183,183,183,.1);color:#b7b7b7;min-width:44px;justify-content:center}.rank-math-ai-visibility-score-badge--good{background:rgba(66,178,104,.1);border-color:#42b268;color:#198b3f}.rank-math-ai-visibility-score-badge--average{background:rgba(232,166,35,.1);border-color:#e8a623;color:#d18e08}.rank-math-ai-visibility-score-badge--poor{background:rgba(246,98,118,.1);border-color:#f66276;color:#f66276}",""]);const l=o},3269:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-section-header{display:flex;flex-direction:column;gap:8px}.rank-math-ai-visibility-section-header .rank-math-ai-visibility-section-header__title{margin:0;font-size:18px;font-weight:500;line-height:26px;color:#1e1e1e}.rank-math-ai-visibility-section-header .rank-math-ai-visibility-section-header__subtitle{margin:0;font-size:12px;font-weight:400;line-height:16px;color:#868686}",""]);const l=o},7497:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-sentiment-badge{display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 6px;border-radius:20px;border-width:1px;border-style:solid;font-size:12px;font-weight:400;line-height:1;white-space:nowrap;min-width:40px;justify-content:center}.rank-math-ai-visibility-sentiment-badge--positive{color:#42b268;background-color:rgba(66,178,104,.0784313725);border-color:#42b268}.rank-math-ai-visibility-sentiment-badge--warning{color:#f2b02d;background-color:#F2B02D14;border-color:#f2b02d}.rank-math-ai-visibility-sentiment-badge--negative{color:#f66276;background-color:rgba(246,98,118,.0784313725);border-color:#f66276}.rank-math-ai-visibility-sentiment-badge--neutral{color:#b7b7b7;background-color:#B7B7B714;border-color:#b7b7b7}.rank-math-ai-visibility-sentiment-badge__icon{flex-shrink:0;display:inline-flex}.rank-math-ai-visibility-sentiment-badge__label{font-size:11px;font-weight:bold}",""]);const l=o},6082:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-processed-start-time{color:#868686}",""]);const l=o},1297:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-stat-card{background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:40px 24px;display:flex;flex-direction:row;align-items:flex-start;gap:20px;flex:1 1 0;min-width:0}.rank-math-ai-visibility-stat-card__icon-wrap{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:42px;background:var(--stat-icon-bg, #f0f0f0);border-radius:6px}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--score .rank-math-ai-visibility-stat-card__icon-wrap{background:rgba(1,124,186,.1215686275)}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--score .rank-math-ai-visibility-stat-card__icon-wrap .dashicons{color:#017cba}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--mentions .rank-math-ai-visibility-stat-card__icon-wrap{background:rgba(223,150,44,.1215686275)}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--mentions .rank-math-ai-visibility-stat-card__icon-wrap svg{fill:#df962c}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--mentions .rank-math-ai-visibility-stat-card__icon-wrap .dashicons{color:#df962c}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--sentiment .rank-math-ai-visibility-stat-card__icon-wrap{background:rgba(82,96,185,.1215686275)}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--sentiment .rank-math-ai-visibility-stat-card__icon-wrap .dashicons{color:#5260b9}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--competitor .rank-math-ai-visibility-stat-card__icon-wrap{background:rgba(246,98,118,.1215686275)}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--competitor .rank-math-ai-visibility-stat-card__icon-wrap .dashicons{color:#f66276}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--citations .rank-math-ai-visibility-stat-card__icon-wrap,.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--rank .rank-math-ai-visibility-stat-card__icon-wrap{background:rgba(66,178,104,.08)}.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--citations .rank-math-ai-visibility-stat-card__icon-wrap .dashicons,.rank-math-ai-visibility-stat-card.rank-math-ai-visibility-brand-overview__stat-card--rank .rank-math-ai-visibility-stat-card__icon-wrap .dashicons{color:#42b268}.rank-math-ai-visibility-stat-card__icon{width:24px;height:24px;flex-shrink:0;fill:var(--stat-icon-color, #9b9b9b);color:var(--stat-icon-color, #9b9b9b)}.rank-math-ai-visibility-stat-card__icon.dashicons{width:20px;height:20px;font-size:20px;line-height:1}.rank-math-ai-visibility-stat-card__content{display:flex;flex-direction:column;gap:11px;min-width:0}.rank-math-ai-visibility-stat-card__label-row{display:flex;align-items:center;gap:8px}.rank-math-ai-visibility-stat-card__label{font-size:16px;line-height:normal;font-weight:400;color:#9b9b9b}.rank-math-ai-visibility-stat-card--has-data .rank-math-ai-visibility-stat-card__label,.rank-math-ai-visibility-stat-card--has-data .rank-math-ai-visibility-stat-card__value{color:inherit}.rank-math-ai-visibility-stat-card__data{display:flex;flex-direction:column;gap:8px;min-width:0}.rank-math-ai-visibility-stat-card__value{font-size:30px;font-weight:600;line-height:32px;color:#9b9b9b}.rank-math-ai-visibility-stat-card--active-brands{--stat-icon-bg: #017CBA1F;--stat-icon-color: #017CBA}.rank-math-ai-visibility-stat-card--analyses{--stat-icon-bg: #5260B91F;--stat-icon-color: #5260B9}.rank-math-ai-visibility-stat-card--mentions{--stat-icon-bg: #E8A6231F;--stat-icon-color: #E8A623}.rank-math-ai-visibility-stat-card--target-brand .rank-math-ai-visibility-stat-card__icon-wrap{background:rgba(1,124,186,.1215686275)}.rank-math-ai-visibility-stat-card--target-brand .rank-math-ai-visibility-stat-card__icon-wrap .dashicons{color:#017cba}.rank-math-ai-visibility-stat-card--duration-timing .rank-math-ai-visibility-stat-card__icon-wrap{background:rgba(82,96,185,.1215686275)}.rank-math-ai-visibility-stat-card--duration-timing .rank-math-ai-visibility-stat-card__icon-wrap .dashicons{color:#5260b9}.rank-math-ai-visibility-stat-card--compact{padding:20px}.rank-math-ai-visibility-stat-card__sub{font-size:12px;color:#9b9b9b;margin-top:2px}",""]);const l=o},162:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-status-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:400;padding:2px 6px 2px 3px;border-radius:20px;flex-shrink:0;white-space:nowrap;line-height:1}.rank-math-ai-visibility-status-badge svg{flex-shrink:0}.rank-math-ai-visibility-status-badge .dashicons{height:14px;width:14px;font-size:14px}.rank-math-ai-visibility-status-badge--success{color:#42b268;background:rgba(66,178,104,.1);border:1px solid rgba(66,178,104,.35)}.rank-math-ai-visibility-status-badge--error{color:#f66276;background:rgba(246,98,118,.1);border:1px solid rgba(246,98,118,.35)}.rank-math-ai-visibility-status-badge--partial{color:#f2b02d;background:rgba(242,176,45,.1);border:1px solid rgba(242,176,45,.35)}",""]);const l=o},7482:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-status-icon{position:relative;display:inline-flex;width:26px;height:26px;flex-shrink:0;vertical-align:middle}.rank-math-ai-visibility-status-icon__pill{position:absolute;top:50%;left:0;transform:translateY(-50%);display:inline-flex;align-items:center;border-radius:100px;border:1px solid rgba(0,0,0,0);padding:4px;background:#fff;cursor:default;white-space:nowrap;transition:background .18s ease}.rank-math-ai-visibility-status-icon .dashicons{width:16px;height:16px;font-size:16px}.rank-math-ai-visibility-status-icon .dashicons.dashicons-update{font-weight:100;animation:spin 2s linear infinite}.rank-math-ai-visibility-status-icon:hover{z-index:10}.rank-math-ai-visibility-status-icon--error .rank-math-ai-visibility-status-icon__pill{color:#e05252;border-color:#e05252}.rank-math-ai-visibility-status-icon--error:hover .rank-math-ai-visibility-status-icon__pill{background:#fceeee}.rank-math-ai-visibility-status-icon--running .rank-math-ai-visibility-status-icon__pill,.rank-math-ai-visibility-status-icon--pending .rank-math-ai-visibility-status-icon__pill{color:#e08c1a;border-color:#e08c1a}.rank-math-ai-visibility-status-icon--running:hover .rank-math-ai-visibility-status-icon__pill,.rank-math-ai-visibility-status-icon--pending:hover .rank-math-ai-visibility-status-icon__pill{background:#fcf3e8}.rank-math-ai-visibility-status-icon__label{font-size:12px;font-weight:500;line-height:1;max-width:0;overflow:hidden;opacity:0;transition:max-width .18s ease,opacity .15s ease,margin-left .15s ease}.rank-math-ai-visibility-status-icon:hover .rank-math-ai-visibility-status-icon__label{max-width:60px;opacity:1;margin-left:4px}",""]);const l=o},1623:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-status-toggle.components-checkbox-control{margin-bottom:0}.rank-math-ai-visibility-status-toggle .components-base-control__field{display:flex;align-items:center;margin:0}.rank-math-ai-visibility-status-toggle .components-h-stack{gap:8px !important}.rank-math-ai-visibility-status-toggle .components-checkbox-control__input-container{flex-shrink:0;margin:0}.rank-math-ai-visibility-status-toggle .components-checkbox-control__input[type=checkbox]{margin:0}.rank-math-ai-visibility-status-toggle .components-checkbox-control__input[type=checkbox]:checked{background-color:#017cba;border-color:#017cba}.rank-math-ai-visibility-status-toggle .components-checkbox-control__input[type=checkbox]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #017cba}.rank-math-ai-visibility-status-toggle .components-checkbox-control__label{font-size:13px;font-weight:400;color:#1e1e1e;line-height:1;margin:0}.rank-math-ai-visibility-status-toggle .components-checkbox-control__input[type=checkbox]:disabled{opacity:.6}",""]);const l=o},7340:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,'@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-transcript-modal{display:grid;grid-template-columns:56fr 44fr;flex:1 1 0;min-height:0;overflow:hidden;height:100%;max-height:50vh}.rank-math-ai-visibility-transcript-modal__modal-title{display:flex;align-items:center;justify-content:center;gap:8px}.rank-math-ai-visibility-transcript-modal__wrapper .components-modal__frame{max-width:1130px;width:92vw;max-height:90vh;display:flex !important;flex-direction:column !important}.rank-math-ai-visibility-transcript-modal__wrapper .components-modal__header{flex-shrink:0;padding:22px 28px;border-bottom:1px solid #e0e0e0}.rank-math-ai-visibility-transcript-modal__wrapper .components-modal__header .components-modal__header-heading{font-size:13px}.rank-math-ai-visibility-transcript-modal__wrapper .components-modal__content{padding:0 !important;overflow:hidden;flex:1 1 0;min-height:0;display:flex;flex-direction:column}.rank-math-ai-visibility-transcript-modal__section-right{flex:1}.rank-math-ai-visibility-transcript-modal__left,.rank-math-ai-visibility-transcript-modal__right{display:flex;flex-direction:column;height:100%;overflow:hidden}.rank-math-ai-visibility-transcript-modal__sections,.rank-math-ai-visibility-transcript-modal__json-viewer{flex:1;overflow-y:auto;min-height:0}.rank-math-ai-visibility-transcript-modal__left{display:flex;flex-direction:column;gap:4px;padding:25px;background:#fff;border-right:1px solid #e0e0e0;overflow-y:auto}.rank-math-ai-visibility-transcript-modal__left-header{display:flex;justify-content:flex-end}.rank-math-ai-visibility-transcript-modal__copy-btn.rank-math-ai-visibility-btn.components-button{font-size:12px;padding:4px 10px;min-height:28px;height:28px;color:#9b9b9b;border-color:#e0e0e0;background:rgba(0,0,0,0)}.rank-math-ai-visibility-transcript-modal__copy-btn.rank-math-ai-visibility-btn.components-button:hover{color:#017cba;border-color:#017cba;background:rgba(0,0,0,0)}.rank-math-ai-visibility-transcript-modal__copy-btn.rank-math-ai-visibility-btn.components-button .dashicons{font-size:13px;width:13px;height:13px}.rank-math-ai-visibility-transcript-modal__right .rank-math-ai-visibility-transcript-modal__copy-json-btn.rank-math-ai-visibility-btn.components-button{color:#c6c6c6;border-color:#c6c6c6}.rank-math-ai-visibility-transcript-modal__sections{gap:40px;display:flex;flex-direction:column}.rank-math-ai-visibility-transcript-modal__section{display:flex;gap:10px}.rank-math-ai-visibility-transcript-modal__section-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#868686;font-weight:500;margin-bottom:8px}.rank-math-ai-visibility-transcript-modal__section-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:30px;border-radius:50%;background:#fff;border:1px solid #e3e3e3;color:#1e1e1e}.rank-math-ai-visibility-transcript-modal__section-icon .dashicons{font-size:16px;width:16px;height:16px}.rank-math-ai-visibility-transcript-modal__content-box{padding:20px 24px;border:1px solid #e0e0e0;border-radius:0 11px 11px 11px;font-size:12px;color:#1e1e1e;line-height:1.6;background:#fff;white-space:pre-wrap}.rank-math-ai-visibility-transcript-modal__content-box--response{max-height:280px;overflow-y:auto}.rank-math-ai-visibility-transcript-modal__right{display:flex;flex-direction:column;background:#1c1c1c;overflow:hidden}.rank-math-ai-visibility-transcript-modal__right-header{display:flex;align-items:center;justify-content:space-between;padding:20px 40px;flex-shrink:0}.rank-math-ai-visibility-transcript-modal__right-title{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;color:#c6c6c6}.rank-math-ai-visibility-transcript-modal__json-badge{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff;font-size:11px;font-weight:400;color:#1e1e1e;font-family:monospace}.rank-math-ai-visibility-transcript-modal__copy-json-btn.rank-math-ai-visibility-btn.components-button{font-size:12px;padding:4px 10px;min-height:28px;height:28px;color:#9ca3af;background:hsla(0,0%,100%,.06);border:1px solid hsla(0,0%,100%,.12)}.rank-math-ai-visibility-transcript-modal__copy-json-btn.rank-math-ai-visibility-btn.components-button:hover{color:#e5e7eb;background:hsla(0,0%,100%,.12);border-color:hsla(0,0%,100%,.25)}.rank-math-ai-visibility-transcript-modal__copy-json-btn.rank-math-ai-visibility-btn.components-button .dashicons{font-size:13px;width:13px;height:13px}.rank-math-ai-visibility-transcript-modal__json-viewer{flex:1;overflow-y:auto;padding:0 40px}.rank-math-ai-visibility-transcript-modal__json-pre{margin:0;font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;line-height:1.7;color:#d1d5db;white-space:pre;overflow-x:auto}.rank-math-ai-visibility-transcript-modal__json-pre .json-key{color:#f2b02d;margin-left:8px}.rank-math-ai-visibility-transcript-modal__json-pre .json-string{color:#5dbec4}.rank-math-ai-visibility-transcript-modal__json-pre .json-number{color:#e5e7eb}.rank-math-ai-visibility-transcript-modal__json-pre .json-boolean{color:#5dbec4}.rank-math-ai-visibility-transcript-modal__json-pre .json-null{color:#9ca3af}',""]);const l=o},4061:function(e,t,n){n.d(t,{A:function(){return l}});var a=n(1601),i=n.n(a),r=n(6314),o=n.n(r)()(i());o.push([e.id,"@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.rank-math-ai-visibility-transcript-viewer{display:grid;grid-template-columns:450px 1fr;min-height:500px;background:#fff;overflow:hidden;gap:23px}.rank-math-ai-visibility-transcript-viewer__left{border-right:1px solid #e0e0e0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e0e0e0;border-radius:4px}.rank-math-ai-visibility-transcript-viewer__section-right{flex:1}.rank-math-ai-visibility-transcript-viewer__filter-bar{display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid #e0e0e0;background:#fff;flex-shrink:0}.rank-math-ai-visibility-transcript-viewer__date-filter{display:inline-flex;align-items:center;background:#fff}.rank-math-ai-visibility-transcript-viewer__date-filter .dashicons{font-size:13px;width:13px;height:13px;color:#9b9b9b}.rank-math-ai-visibility-transcript-viewer__date-filter input{border:none}.rank-math-ai-visibility-transcript-viewer__date-input{border:none;outline:none;font-size:12px;color:#1e1e1e;background:rgba(0,0,0,0);width:105px;padding:0}.rank-math-ai-visibility-transcript-viewer__query-select{flex:1;min-width:0}.rank-math-ai-visibility-transcript-viewer__entry-list{overflow-y:auto;flex:1;padding:26px 18px;display:flex;flex-direction:column;gap:14px;background:#fcfcfc}.rank-math-ai-visibility-transcript-viewer__empty-list{font-size:13px;color:#9b9b9b;padding:16px;margin:0;text-align:center}.rank-math-ai-visibility-transcript-viewer__entry-card{display:block;padding:26px;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;transition:border-color .12s ease;background:#fff}.rank-math-ai-visibility-transcript-viewer__entry-card:hover{border-color:rgb(198.5,198.5,198.5)}.rank-math-ai-visibility-transcript-viewer__entry-card--selected{border:1px solid #017cba}.rank-math-ai-visibility-transcript-viewer__entry-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.rank-math-ai-visibility-transcript-viewer__entry-timestamp{font-size:12px;color:#868686;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.rank-math-ai-visibility-transcript-viewer .rank-math-ai-visibility-transcript-viewer__entry-query-text{font-size:12px;color:#1e1e1e;margin:0 0 10px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:20px}.rank-math-ai-visibility-transcript-viewer__entry-footer{display:flex;align-items:center;justify-content:space-between}.rank-math-ai-visibility-transcript-viewer__entry-duration{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:#9ca3af}.rank-math-ai-visibility-transcript-viewer__entry-duration .dashicons{font-size:13px;width:13px;height:13px}.rank-math-ai-visibility-transcript-viewer__entry-view-link{display:inline-flex;align-items:center;gap:2px;font-size:12px;color:#017cba;font-weight:500;cursor:pointer;user-select:none}.rank-math-ai-visibility-transcript-viewer__entry-view-link .dashicons{font-size:14px;width:14px;height:14px;line-height:1}.rank-math-ai-visibility-transcript-viewer__entry-view-link:hover{color:rgb(.7272727273,90.1818181818,135.2727272727)}.rank-math-ai-visibility-transcript-viewer__detail{display:flex;flex-direction:column;overflow-y:auto;background:#fcfcfc;border:1px solid #e0e0e0;border-radius:4px}.rank-math-ai-visibility-transcript-viewer__detail-header{display:flex;align-items:center;gap:8px;padding:22px 18px;border-bottom:1px solid #e0e0e0;flex-shrink:0}.rank-math-ai-visibility-transcript-viewer__detail-header .dashicons{font-size:16px;width:16px;height:16px}.rank-math-ai-visibility-transcript-viewer__detail-header-title{font-size:14px;font-weight:500;color:#1e1e1e}.rank-math-ai-visibility-transcript-viewer__detail-empty{flex:1;display:flex;align-items:center;justify-content:center}.rank-math-ai-visibility-transcript-viewer__detail-empty p{font-size:13px;color:#9b9b9b;margin:0}.rank-math-ai-visibility-transcript-viewer__detail-content{padding:24px;display:flex;flex-direction:column;gap:40px;background:#fcfcfc}.rank-math-ai-visibility-transcript-viewer__section{display:flex;gap:10px}.rank-math-ai-visibility-transcript-viewer__section .dashicons{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;border-radius:50%;background:#fff;font-size:14px;border:1px solid #e3e3e3}.rank-math-ai-visibility-transcript-viewer__section-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#868686;font-weight:500;margin-bottom:8px}.rank-math-ai-visibility-transcript-viewer__query-box,.rank-math-ai-visibility-transcript-viewer__response-box{padding:20px 24px;border:1px solid #e0e0e0;border-radius:0 11px 11px 11px;font-size:12px;color:#1e1e1e;line-height:1.6;background:#fff;white-space:pre-wrap}.rank-math-ai-visibility-transcript-viewer__date-input.input[type=date]{border:none}",""]);const l=o},6314:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,a,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var l=0;l0?" ".concat(m[5]):""," {").concat(m[1],"}")),m[5]=r),n&&(m[2]?(m[1]="@media ".concat(m[2]," {").concat(m[1],"}"),m[2]=n):m[2]=n),i&&(m[4]?(m[1]="@supports (".concat(m[4],") {").concat(m[1],"}"),m[4]=i):m[4]="".concat(i)),t.push(m))}},t}},1601:function(e){e.exports=function(e){return e[1]}},5072:function(e){var t=[];function n(e){for(var n=-1,a=0;a0?" ".concat(n.layer):""," {")),a+=n.css,i&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var r=n.sourceMap;r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={id:a,exports:{}};return e[a](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.dn=function(e){(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},n.nc=void 0;const a=wp.element,i=lodash,r=wp.i18n,o=wp.components,l=window.rankMathComponents,s=React;function c(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t(0,a.createElement)("path",e),u=(0,a.forwardRef)(({className:e,isPressed:t,...n},i)=>{const r={...n,className:m(e,{"is-pressed":t})||void 0,"aria-hidden":!0,focusable:!1};return(0,a.createElement)("svg",{...r,ref:i})});u.displayName="SVG";const p=(0,s.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(d,{d:"M3.445 16.505a.75.75 0 001.06.05l5.005-4.55 4.024 3.521 4.716-4.715V14h1.5V8.25H14v1.5h3.19l-3.724 3.723L9.49 9.995l-5.995 5.45a.75.75 0 00-.05 1.06z"})),b=(0,s.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(d,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"})),f=wp.apiFetch;var h=n.n(f);const y=wp.url;function v(e){return v="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},v(e)}function _(){var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function r(n,a,i,r){var s=a&&a.prototype instanceof l?a:l,c=Object.create(s.prototype);return g(c,"_invoke",function(n,a,i){var r,l,s,c=0,m=i||[],d=!1,u={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return r=t,l=0,s=e,u.n=n,o}};function p(n,a){for(l=n,s=a,t=0;!d&&c&&!i&&t3?(i=b===a)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=p&&((i=n<2&&pa||a>b)&&(r[4]=n,r[5]=a,u.n=b,l=0))}if(i||n>1)return o;throw d=!0,a}return function(i,m,b){if(c>1)throw TypeError("Generator is already running");for(d&&1===m&&p(m,b),l=m,s=b;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(u.n=-1),p(l,s)):u.n=s:u.v=s);try{if(c=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=u.n<0)?s:n.call(a,u))!==o)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,r),!0),c}var o={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(g(t={},a,function(){return this}),t),d=c.prototype=l.prototype=Object.create(m);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,g(d,"constructor",c),g(c,"constructor",s),s.displayName="GeneratorFunction",g(c,i,"GeneratorFunction"),g(d),g(d,i,"Generator"),g(d,a,function(){return this}),g(d,"toString",function(){return"[object Generator]"}),(_=function(){return{w:r,m:u}})()}function g(e,t,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}g=function(e,t,n,a){function r(t,n){g(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},g(e,t,n,a)}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function w(e){for(var t=1;t1&&void 0!==i[1]?i[1]:{},e.n=1,h()(w({path:t},n));case 1:return a=e.v,e.a(2,a&&!0===a.success?a.data:a)}},e)}),function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){E(r,a,i,o,l,"next",e)}function l(e){E(r,a,i,o,l,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}(),S=function(e,t){var n="".concat("/rankmath/v1/ai-visibility").concat(e);return t&&Object.keys(t).length?(0,y.addQueryArgs)(n,t):n},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refresh,n=void 0!==t&&t,a=e.search,i=void 0===a?"":a;return A(S("/overview",w(w({},n?{refresh:1}:{}),i?{search:i}:{})))},j=function(e){return A(S("/brands/".concat(e)))},O=function(e,t){return A(S("/brands/".concat(e)),{method:"PUT",data:t})},P=function(e,t){return A(S("/brands/".concat(e)),{method:"PATCH",data:{status:t}})},C=function(){return A(S("/trial/activate"),{method:"POST"})},T=function(e){return A(S("/brands/".concat(e,"/insights")))},I=function(e){return A(S("/brands/".concat(e,"/queries")))},z=function(e,t,n){return A(S("/brands/".concat(e,"/queries/").concat(t)),{method:"PUT",data:n})},M=function(e){return A(S("/brands/".concat(e,"/generate-queries")),{method:"POST"})},D=function(e){if(!e)return null;if("inactive"===e.status)return null;switch(e.analysis_status){case"pending":case"running":return"running";case"error":return"error";default:return null}};function B(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=G(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw r}}}}function L(){var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function r(n,a,i,r){var s=a&&a.prototype instanceof l?a:l,c=Object.create(s.prototype);return R(c,"_invoke",function(n,a,i){var r,l,s,c=0,m=i||[],d=!1,u={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return r=t,l=0,s=e,u.n=n,o}};function p(n,a){for(l=n,s=a,t=0;!d&&c&&!i&&t3?(i=b===a)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=p&&((i=n<2&&pa||a>b)&&(r[4]=n,r[5]=a,u.n=b,l=0))}if(i||n>1)return o;throw d=!0,a}return function(i,m,b){if(c>1)throw TypeError("Generator is already running");for(d&&1===m&&p(m,b),l=m,s=b;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(u.n=-1),p(l,s)):u.n=s:u.v=s);try{if(c=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=u.n<0)?s:n.call(a,u))!==o)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,r),!0),c}var o={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(R(t={},a,function(){return this}),t),d=c.prototype=l.prototype=Object.create(m);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,R(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,R(d,"constructor",c),R(c,"constructor",s),s.displayName="GeneratorFunction",R(c,i,"GeneratorFunction"),R(d),R(d,i,"Generator"),R(d,a,function(){return this}),R(d,"toString",function(){return"[object Generator]"}),(L=function(){return{w:r,m:u}})()}function R(e,t,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}R=function(e,t,n,a){function r(t,n){R(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},R(e,t,n,a)}function q(e,t,n,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(a,i)}function F(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){q(r,a,i,o,l,"next",e)}function l(e){q(r,a,i,o,l,"throw",e)}o(void 0)})}}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||G(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){if(e){if("string"==typeof e)return V(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V(e,t):void 0}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n0&&void 0!==s[0]&&s[0],!y.current){e.n=1;break}return e.a(2,null);case 1:return y.current=!0,h(null),e.p=2,e.n=3,N({refresh:t,search:_.current});case 3:return i=e.v,n(null!==(a=null==i?void 0:i.summary)&&void 0!==a?a:null),l(Array.isArray(null==i?void 0:i.brands)?i.brands:[]),p(!(null==i||!i.is_stale)),e.a(2,i);case 4:return e.p=4,o=e.v,h((null==o?void 0:o.message)||(0,r.__)("Failed to load dashboard data.","seo-by-rank-math")),e.a(2,null);case 5:return e.p=5,y.current=!1,m(!1),e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])})),[]),k=(0,a.useCallback)(function(e){return _.current=e||"",g()},[g]);(0,a.useEffect)(function(){var e=function(){var e=F(L().m(function e(){var t;return L().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,g();case 1:if(null==(t=e.v)||!t.is_stale){e.n=2;break}return e.n=2,g(!0);case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();e()},[g]),(0,a.useEffect)(function(){var e=o.filter(H);if(e.length){var t=setInterval(F(L().m(function t(){var n,a,i,r,o,l;return L().w(function(t){for(;;)switch(t.p=t.n){case 0:if(!document.hidden){t.n=1;break}return t.a(2);case 1:n=B(e),t.p=2,n.s();case 3:if((a=n.n()).done){t.n=10;break}if(i=a.value,v.current[i.id]||(v.current[i.id]={attempts:0,errors:0}),!((r=v.current[i.id]).attempts>=10||r.errors>=3)){t.n=4;break}return t.a(3,9);case 4:return r.attempts++,t.p=5,t.n=6,T(i.id);case 6:if(o=t.v,r.errors=0,null==o||!o.insights){t.n=7;break}return t.n=7,g(!0);case 7:t.n=9;break;case 8:t.p=8,t.v,r.errors++;case 9:t.n=3;break;case 10:t.n=12;break;case 11:t.p=11,l=t.v,n.e(l);case 12:return t.p=12,n.f(),t.f(12);case 13:return t.a(2)}},t,null,[[5,8],[2,11,12,13]])})),2e4);return function(){return clearInterval(t)}}},[o,g]);var w=(0,a.useCallback)(function(){var e=F(L().m(function e(t,n){var a,i;return L().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,t();case 1:return a=e.v,e.n=2,g();case 2:return e.a(2,a);case 3:throw e.p=3,i=e.v,h((null==i?void 0:i.message)||n),i;case 4:return e.a(2)}},e,null,[[0,3]])}));return function(t,n){return e.apply(this,arguments)}}(),[g]),x=(0,a.useCallback)(function(e){return w(function(){return function(e){return A(S("/brands"),{method:"POST",data:e})}(e)},(0,r.__)("Failed to create brand.","seo-by-rank-math"))},[w]),E=(0,a.useCallback)(function(e,t){return w(function(){return O(e,t)},(0,r.__)("Failed to update brand.","seo-by-rank-math"))},[w]),j=(0,a.useCallback)(function(e){return w(function(){return P(e,"inactive")},(0,r.__)("Failed to disable brand.","seo-by-rank-math"))},[w]),C=(0,a.useCallback)(function(e){return w(function(){return P(e,"active")},(0,r.__)("Failed to enable brand.","seo-by-rank-math"))},[w]);return{summary:t,brands:o,loading:c,isStale:u,error:f,refetch:g,handleSearch:k,handleAddBrand:x,handleUpdateBrand:E,handleDisableBrand:j,handleEnableBrand:C}};var W="dashboard",$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W;return(0,y.getQueryArg)(window.location.href,"tab")||e},Y=function(){var e=(0,y.getQueryArg)(window.location.href,"brand");return e?String(e):null},K=function(){var e=(0,y.addQueryArgs)(window.location.href,{brand:void 0,brand_tab:void 0});window.history.pushState({},"",e)},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"overview";return(0,y.getQueryArg)(window.location.href,"brand_tab")||e},J=function(e){var t={tab:"reports",brand:void 0,brand_tab:void 0,report_brand:e?String(e):void 0},n=(0,y.addQueryArgs)(window.location.href,t);window.history.pushState({},"",n),window.dispatchEvent(new window.PopStateEvent("popstate"))},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=parseInt((0,y.getQueryArg)(window.location.href,"aiv_page"),10);return t>0?t:e},ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=parseInt((0,y.getQueryArg)(window.location.href,"aiv_per"),10);return t>0?t:e};function te(e){return te="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},te(e)}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ae(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,a=Array(t);n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.perPage,i=void 0===n?10:n,r=t.syncUrl,o=void 0!==r&&r,l=re((0,a.useState)(function(){return{page:o?X(1):1,perPage:o?ee(i):i}}),2),s=l[0],c=l[1],m=e.length,d=Math.max(1,Math.ceil(m/s.perPage)),u=(0,a.useMemo)(function(){var t=(s.page-1)*s.perPage;return e.slice(t,t+s.perPage)},[e,s]),p=(0,a.useRef)(!0);(0,a.useEffect)(function(){p.current?p.current=!1:c(function(e){return e.page>d?ae(ae({},e),{},{page:d}):e})},[d]),(0,a.useEffect)(function(){o&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(0,y.addQueryArgs)(window.location.href,{aiv_page:e.page>1?e.page:void 0,aiv_per:e.perPage!==t?e.perPage:void 0});window.history.replaceState({},"",n)}(s,i)},[s,o,i]);var b=(0,a.useCallback)(function(e){return c(function(t){return ae(ae({},t),{},{page:Math.max(1,e)})})},[]),f=(0,a.useCallback)(function(e){return c({page:1,perPage:Math.max(1,e)})},[]),h=(0,a.useCallback)(function(){return c(function(e){return 1===e.page?e:ae(ae({},e),{},{page:1})})},[]);return{pagination:s,pageItems:u,total:m,pages:d,onPageChange:b,onPerPageChange:f,resetPage:h}};var se=n(5072),ce=n.n(se),me=n(7825),de=n.n(me),ue=n(7659),pe=n.n(ue),be=n(5056),fe=n.n(be),he=n(540),ye=n.n(he),ve=n(1113),_e=n.n(ve),ge=n(5089),ke={};ke.styleTagTransform=_e(),ke.setAttributes=fe(),ke.insert=pe().bind(null,"head"),ke.domAPI=de(),ke.insertStyleElement=ye();ce()(ge.A,ke);ge.A&&ge.A.locals&&ge.A.locals;var we=["variant","className","iconVariant","iconLeft","iconRight","children"];function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t=70?{modifier:"positive"}:t>=50?{modifier:"warning"}:{modifier:"negative"}}(t).modifier,a=null!=t,r="rank-math-ai-visibility-sentiment-badge";return wp.element.createElement("span",{className:"".concat(r," ").concat(r,"--").concat(n)},a&&wp.element.createElement("span",{className:"".concat(r,"__icon")},wp.element.createElement(Re,{modifier:n})),wp.element.createElement("span",{className:"".concat(r,"__label")},a?"".concat((0,i.round)(t),"%"):"−"))};var Fe=n(5975),Ue={};Ue.styleTagTransform=_e(),Ue.setAttributes=fe(),Ue.insert=pe().bind(null,"head"),Ue.domAPI=de(),Ue.insertStyleElement=ye();ce()(Fe.A,Ue);Fe.A&&Fe.A.locals&&Fe.A.locals;function Ge(e){return function(e){if(Array.isArray(e))return Ve(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ve(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ve(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);ne.length)&&(t=e.length);for(var n=0,a=Array(t);n/g,">").replace(/("(?:\\u[a-fA-F0-9]{4}|\\[^u]|[^\\"])*"(?:\s*:)?|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)/g,function(e){return e.endsWith(":")||e.startsWith('"')&&e.endsWith('":')?''.concat(e,""):e.startsWith('"')?''.concat(e,""):"true"===e||"false"===e?''.concat(e,""):"null"===e?''.concat(e,""):''.concat(e,"")}))}})))))};yt.displayName="TranscriptModal";const vt=yt;var _t=n(162),gt={};gt.styleTagTransform=_e(),gt.setAttributes=fe(),gt.insert=pe().bind(null,"head"),gt.domAPI=de(),gt.insertStyleElement=ye();ce()(_t.A,gt);_t.A&&_t.A.locals&&_t.A.locals;const kt=function(e){var t=e.status;if(!t)return null;var n="success"===t,a="rank-math-ai-visibility-status-badge";return wp.element.createElement("span",{className:"".concat(a," ").concat(a,"--").concat(t)},n?wp.element.createElement("i",{className:"dashicons dashicons-yes","aria-hidden":"true"}):wp.element.createElement("i",{className:"dashicons dashicons-no","aria-hidden":"true"}),function(e){return"success"===e?(0,r.__)("Success","seo-by-rank-math"):"partial"===e?(0,r.__)("Partial","seo-by-rank-math"):(0,r.__)("Failed","seo-by-rank-math")}(t))};var wt=n(6135),xt={};xt.styleTagTransform=_e(),xt.setAttributes=fe(),xt.insert=pe().bind(null,"head"),xt.domAPI=de(),xt.insertStyleElement=ye();ce()(wt.A,xt);wt.A&&wt.A.locals&&wt.A.locals;var Et=function(e){var t=e.value,n=e.onChange,a=e.ariaLabel,i=e.id,r=e.className;return wp.element.createElement("div",{className:"rank-math-ai-visibility-date-input"},wp.element.createElement("input",{type:"date",id:i,value:t,onChange:n,"aria-label":a,className:r}))};Et.displayName="DateInput";const At=Et;var St=function(e){if(!e)return null;var t=new Date(e);return isNaN(t.getTime())?null:t},Nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" at ",n=St(e);if(!n)return"—";var a=n.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),i=n.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0});return"".concat(a).concat(t).concat(i)},jt=function(e){var t=St(e);return t?t.toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"}):"—"},Ot=n(4061),Pt={};Pt.styleTagTransform=_e(),Pt.setAttributes=fe(),Pt.insert=pe().bind(null,"head"),Pt.domAPI=de(),Pt.insertStyleElement=ye();ce()(Ot.A,Pt);Ot.A&&Ot.A.locals&&Ot.A.locals;function Ct(e){return function(e){if(Array.isArray(e))return zt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||It(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||It(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(e,t){if(e){if("string"==typeof e)return zt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zt(e,t):void 0}}function zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n60?e.query.slice(0,60)+"…":e.query),e.platform&&(t+=" — ".concat(e.platform)),{label:t,value:String(e.id)}})))},[s]),E=(0,a.useMemo)(function(){var e=s;return f&&(e=e.filter(function(e){var t;return null===(t=e.created_at)||void 0===t?void 0:t.startsWith(f)})),v&&(e=e.filter(function(e){return String(e.id)===v})),e},[s,f,v]),A=null!==(t=null!=m?m:null===(n=E[0])||void 0===n?void 0:n.id)&&void 0!==t?t:null,S=null!==(i=s.find(function(e){return e.id===A}))&&void 0!==i?i:null;return wp.element.createElement("div",{className:p},wp.element.createElement("div",{className:"".concat(p,"__left")},wp.element.createElement("div",{className:"".concat(p,"__filter-bar")},wp.element.createElement("div",{className:"".concat(p,"__date-filter")},wp.element.createElement(At,{value:f,onChange:function(e){return h(e.target.value)},ariaLabel:(0,r.__)("Filter by date","seo-by-rank-math"),className:"".concat(p,"__date-input")})),wp.element.createElement(o.SelectControl,{value:v,options:x,onChange:_,className:"".concat(p,"__query-select"),__nextHasNoMarginBottom:!0})),wp.element.createElement("div",{className:"".concat(p,"__entry-list")},0===E.length?wp.element.createElement("p",{className:"".concat(p,"__empty-list")},(0,r.__)("No entries match the current filters.","seo-by-rank-math")):E.map(function(e){return wp.element.createElement(Mt,{key:e.id,entry:e,isSelected:e.id===A,onSelect:u,onViewTranscript:w})}))),wp.element.createElement(Dt,{entry:S}),k&&wp.element.createElement(vt,{entry:k,onClose:function(){return w(null)}}))};Bt.displayName="TranscriptViewer";const Lt=Bt;var Rt=n(6082),qt={};qt.styleTagTransform=_e(),qt.setAttributes=fe(),qt.insert=pe().bind(null,"head"),qt.domAPI=de(),qt.insertStyleElement=ye();ce()(Rt.A,qt);Rt.A&&Rt.A.locals&&Rt.A.locals;var Ft=(0,a.memo)(function(e){var t=e.value,n=void 0===t?"-":t;return n&&"-"!==n&&(n=Nt(n)||n),wp.element.createElement("div",{className:"rank-math-ai-visibility-processed-start-time"},n)});Ft.displayName="StartTime";const Ut=Ft;var Gt=n(4236),Vt={};Vt.styleTagTransform=_e(),Vt.setAttributes=fe(),Vt.insert=pe().bind(null,"head"),Vt.domAPI=de(),Vt.insertStyleElement=ye();ce()(Gt.A,Vt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Ht=function(e){var t=e.score,n=e.showOutOf,a=void 0===n||n,i=function(e){if(null==e)return"neutral";var t=Number(e);return t>=70?"good":t>=40?"average":"poor"}(t),r="-/-";null!=t&&(r=a?"".concat(t," / 100"):String(t));var o="rank-math-ai-visibility-score-badge";return wp.element.createElement("span",{className:"".concat(o," ").concat(o,"--").concat(i)},r)};var Qt=n(627),Wt={};Wt.styleTagTransform=_e(),Wt.setAttributes=fe(),Wt.insert=pe().bind(null,"head"),Wt.domAPI=de(),Wt.insertStyleElement=ye();ce()(Qt.A,Wt);Qt.A&&Qt.A.locals&&Qt.A.locals;const $t=function(e){var t=e.value,n=e.variant,a=void 0===n?"neutral":n,i=null==t||"error"===t||"warning"===t?"-":t,r="rank-math-ai-visibility-count-badge";return wp.element.createElement("span",{className:"".concat(r," ").concat(r,"--").concat(a)},i)};var Yt=n(479),Kt={};Kt.styleTagTransform=_e(),Kt.setAttributes=fe(),Kt.insert=pe().bind(null,"head"),Kt.domAPI=de(),Kt.insertStyleElement=ye();ce()(Yt.A,Kt);Yt.A&&Yt.A.locals&&Yt.A.locals;var Zt=function(e){var t=e.columns,n=void 0===t?[]:t,a=e.rows,i=void 0===a?[]:a,r=e.rowKey,o=void 0===r?"id":r,l=e.className,s="rank-math-ai-visibility-data-table",c=[s,void 0===l?"":l].filter(Boolean).join(" "),m="function"==typeof o?o:function(e){return e[o]};return wp.element.createElement("table",{className:c},wp.element.createElement("thead",null,wp.element.createElement("tr",null,n.map(function(e){return wp.element.createElement("th",{key:e.key,className:"".concat(s,"__th"),style:e.width?{width:e.width}:void 0},e.label)}))),wp.element.createElement("tbody",null,i.map(function(e,t){return wp.element.createElement("tr",{key:m(e,t),className:"".concat(s,"__row")},n.map(function(t){var n;return wp.element.createElement("td",{key:t.key,className:"".concat(s,"__td ").concat(s,"__td--").concat(t.key)},t.render?t.render(e):null!==(n=e[t.key])&&void 0!==n?n:"—")}))})))};Zt.displayName="DataTable";const Jt=Zt;var Xt=n(6574),en={};en.styleTagTransform=_e(),en.setAttributes=fe(),en.insert=pe().bind(null,"head"),en.domAPI=de(),en.insertStyleElement=ye();ce()(Xt.A,en);Xt.A&&Xt.A.locals&&Xt.A.locals;var tn=function(e){var t=e.onBack,n=e.backLabel,a=e.title,i=e.actions,o=e.className,l=void 0===o?"":o,s="rank-math-ai-visibility-page-topbar";return wp.element.createElement("div",{className:[s,l].filter(Boolean).join(" ")},wp.element.createElement("div",{className:"".concat(s,"__left")},wp.element.createElement(Ee,{onClick:t},n||(0,r.__)("← Back","seo-by-rank-math")),a&&wp.element.createElement("span",{className:"".concat(s,"__title")},a)),i&&wp.element.createElement("div",{className:"".concat(s,"__actions")},i))};tn.displayName="PageTopbar";const nn=tn;var an=n(7482),rn={};rn.styleTagTransform=_e(),rn.setAttributes=fe(),rn.insert=pe().bind(null,"head"),rn.domAPI=de(),rn.insertStyleElement=ye();ce()(an.A,rn);an.A&&an.A.locals&&an.A.locals;var on={error:{icon:"dashicons-warning",label:(0,r.__)("Error","seo-by-rank-math"),tooltip:(0,r.__)("Last analysis failed. It will be retried automatically.","seo-by-rank-math")},running:{icon:"dashicons-update",label:(0,r.__)("Running","seo-by-rank-math"),tooltip:(0,r.__)("Analysis in progress — data will appear in approximately 10 minutes.","seo-by-rank-math")},pending:{icon:"dashicons-update",label:(0,r.__)("Pending","seo-by-rank-math"),tooltip:(0,r.__)("Analysis in progress — data will appear in approximately 10 minutes.","seo-by-rank-math")}},ln=function(e){var t=e.variant,n=on[t];if(!n)return null;var a="rank-math-ai-visibility-status-icon";return wp.element.createElement(o.Tooltip,{text:n.tooltip},wp.element.createElement("span",{className:"".concat(a," ").concat(a,"--").concat(t)},wp.element.createElement("span",{className:"".concat(a,"__pill")},wp.element.createElement("span",{className:"dashicons ".concat(n.icon)}),wp.element.createElement("span",{className:"".concat(a,"__label")},n.label))))};ln.displayName="StatusIcon";const sn=ln,cn=(0,s.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(d,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function mn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=rankMath.links[e]||"";if(!a)return"#";if(!t)return a;var i={utm_source:"Plugin",utm_medium:encodeURIComponent(t),utm_campaign:"WP"},r=a,o="",l=a.indexOf("#");-1!==l&&(r=a.substring(0,l),o=a.substring(l));var s=Object.keys(i).map(function(e){return"".concat(e,"=").concat(i[e])}).join("&"),c=r.includes("?")&&!r.endsWith("?")?"&":"?";return r+c+s+o+n}n.dn(mn);var dn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,i.map)((0,i.filter)(e,"enabled"),"id")},un=function(){return dn(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).slice(0,1)},pn=n(9368),bn={};bn.styleTagTransform=_e(),bn.setAttributes=fe(),bn.insert=pe().bind(null,"head"),bn.domAPI=de(),bn.insertStyleElement=ye();ce()(pn.A,bn);pn.A&&pn.A.locals&&pn.A.locals;function fn(e){return fn="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},fn(e)}function hn(e){return function(e){if(Array.isArray(e))return wn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||kn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function vn(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,a=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"",interval:"monthly",platforms:un(e)}},En=["name","url","description","language"],An=function(){return wp.element.createElement("span",{className:"rank-math-ai-visibility-add-brand-modal__coming-soon"},(0,r.__)("Coming Soon","seo-by-rank-math"))},Sn=function(e){var t=e.platform,n=e.checked,a=e.onChange,i=e.disabled,r="rank-math-ai-visibility-add-brand-modal",l=t.enabled,s=["".concat(r,"__platform-row"),l?"":"".concat(r,"__platform-row--disabled")].filter(Boolean).join(" ");return wp.element.createElement("div",{className:s},wp.element.createElement(o.CheckboxControl,{label:t.label,checked:!!l&&n,onChange:l?a:void 0,disabled:!l||i,__nextHasNoMarginBottom:!0}),!l&&wp.element.createElement(An,null))},Nn=function(e){var t,n=e.brand,s=void 0===n?null:n,c=e.onSave,m=e.onClose,d=e.isSaving,u=void 0!==d&&d,p=e.apiError,b=void 0===p?null:p,f=e.locales,h=void 0===f?[]:f,y=e.languages,v=void 0===y?[]:y,_=e.defaultLanguage,g=void 0===_?"":_,k=e.intervals,w=void 0===k?[]:k,x=e.platforms,E=void 0===x?{}:x,A=e.maxPlatforms,S=void 0===A?1:A,N=(0,a.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.map)(e,function(e,t){var n;return{id:t,label:null!==(n=null==e?void 0:e.label)&&void 0!==n?n:t,enabled:Boolean(null==e?void 0:e.enabled)}})}(E)},[E]),j=(0,a.useMemo)(function(){return dn(N).length},[N]),O=gn((0,a.useState)(function(){return xn(N,g)}),2),P=O[0],C=O[1],T=gn((0,a.useState)({}),2),I=T[0],z=T[1],M="rank-math-ai-visibility-add-brand-modal",D={name:(0,a.useRef)(null),url:(0,a.useRef)(null),description:(0,a.useRef)(null),language:(0,a.useRef)(null)},B=(0,a.useMemo)(function(){return h.reduce(function(e,t){var n=t.value,a=t.label;return e[n]=a,e},{"":(0,r.__)("Select country (optional)","seo-by-rank-math")})},[h]),L=(0,a.useMemo)(function(){return v.reduce(function(e,t){var n=t.name,a=t.icon;return e[n]=a?"".concat(a," ").concat(n):n,e},{})},[v]);(0,a.useEffect)(function(){var e,t,n,a,i,r,o;s?C({id:s.id,name:null!==(e=s.name)&&void 0!==e?e:"",url:null!==(t=s.url)&&void 0!==t?t:"",description:null!==(n=s.description)&&void 0!==n?n:"",locale:null!==(a=s.locale)&&void 0!==a?a:"",language:null!==(i=s.language)&&void 0!==i?i:"US English",interval:null!==(r=s.interval)&&void 0!==r?r:"monthly",platforms:null!==(o=s.platforms)&&void 0!==o&&o.length?s.platforms.slice(0,S):un(N)}):C(xn(N,g))},[s]);var R=function(e){return function(t){C(function(n){return vn(vn({},n),{},_n({},e,t))}),z(function(t){if(!t[e])return t;var n=vn({},t);return delete n[e],n})}},q=Boolean(s),F=u||0===(null==P||null===(t=P.platforms)||void 0===t?void 0:t.length)||!(null!=P&&P.language)||Object.keys(I).length>0;return wp.element.createElement(o.Modal,{onRequestClose:m,className:M,__experimentalHideHeader:!0},wp.element.createElement("div",{className:"".concat(M,"__header")},wp.element.createElement("div",{className:"".concat(M,"__header-text")},wp.element.createElement("h1",{className:"".concat(M,"__title")},q?(0,r.__)("Edit Brand or Product","seo-by-rank-math"):(0,r.__)("Add Brand or Product","seo-by-rank-math")),wp.element.createElement("p",{className:"".concat(M,"__subtitle")},(0,r.__)("Share the basics so we can start tracking this brand or a product.","seo-by-rank-math"),wp.element.createElement("a",{href:mn("ai-visibility","AI Visibility Add Brand Modal"),target:"_blank",rel:"noopener noreferrer"},(0,r.__)("Learn more","seo-by-rank-math")))),wp.element.createElement(Ee,{variant:"",onClick:m,disabled:u,className:"".concat(M,"__close")},wp.element.createElement(o.Icon,{icon:cn,size:24}))),wp.element.createElement("hr",{className:"".concat(M,"__divider")}),wp.element.createElement("div",{className:"".concat(M,"__body")},wp.element.createElement("div",{className:"".concat(M,"__field"),ref:D.name},wp.element.createElement(o.TextControl,{label:(0,r.__)("Brand / Product Name","seo-by-rank-math"),value:P.name,onChange:R("name"),placeholder:(0,r.__)("Enter your brand or product name","seo-by-rank-math"),disabled:u,help:I.name,className:I.name?"".concat(M,"__field--error"):"",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})),wp.element.createElement("div",{className:"".concat(M,"__field"),ref:D.url},wp.element.createElement(o.TextControl,{label:(0,r.__)("Brand / Product URL","seo-by-rank-math"),value:P.url,onChange:R("url"),onBlur:function(){var e=P.url.trim();if(e&&!/^https?:\/\//i.test(e)){var t=e.startsWith("//")?"https:"+e:"https://"+e;R("url")(t)}},placeholder:"https://example.com",type:"url",disabled:u,help:I.url,className:I.url?"".concat(M,"__field--error"):"",__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})),wp.element.createElement("div",{className:"".concat(M,"__field"),ref:D.description},wp.element.createElement(o.TextareaControl,{label:(0,r.__)("How would you describe your brand/product?","seo-by-rank-math"),value:P.description,onChange:R("description"),placeholder:(0,r.__)("Describe what your brand/product does, who it's for, and what makes it unique. This helps AI models identify and accurately represent you.","seo-by-rank-math"),disabled:u,rows:3,help:I.description,className:I.description?"".concat(M,"__field--error"):"",__nextHasNoMarginBottom:!0})),wp.element.createElement("div",{className:"".concat(M,"__field")},wp.element.createElement("span",{className:"".concat(M,"__label")},(0,r.__)("Target Country (Optional)","seo-by-rank-math")),wp.element.createElement(l.SelectWithSearch,{value:P.locale,options:B,onChange:R("locale"),disabled:u})),wp.element.createElement("div",{className:"".concat(M,"__field"),ref:D.language},wp.element.createElement("span",{className:"".concat(M,"__label")},(0,r.__)("Output Language","seo-by-rank-math")),wp.element.createElement(l.SelectWithSearch,{value:P.language,options:L,onChange:R("language"),disabled:u||q,className:I.language?"".concat(M,"__field--error"):""}),I.language&&wp.element.createElement("p",{className:"".concat(M,"__field-note ").concat(M,"__field-note--error")},I.language),q&&wp.element.createElement("p",{className:"".concat(M,"__field-note")},(0,r.__)("Language can't be changed after a brand is created.","seo-by-rank-math"))),wp.element.createElement("div",{className:"".concat(M,"__field")},wp.element.createElement(o.SelectControl,{label:(0,r.__)("Frequency of analyses","seo-by-rank-math"),value:P.interval,options:w,onChange:R("interval"),disabled:u,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})),wp.element.createElement("div",{className:"".concat(M,"__field")},wp.element.createElement("span",{className:"".concat(M,"__label")},(0,r.__)("AI Platforms","seo-by-rank-math")),S0?function(e){var t,n=En.find(function(t){return e[t]}),a=n?null===(t=D[n])||void 0===t?void 0:t.current:null;if(a){a.scrollIntoView({behavior:"smooth",block:"center"});var i=a.querySelector("input, textarea");i&&i.focus({preventScroll:!0})}}(e):c({name:P.name.trim(),url:P.url.trim(),description:P.description.trim(),locale:P.locale,language:P.language,interval:P.interval,platforms:P.platforms})},isLoading:u,loadingLabel:q?(0,r.__)("Saving…","seo-by-rank-math"):(0,r.__)("Adding…","seo-by-rank-math"),disabled:F},q?(0,r.__)("Save Changes","seo-by-rank-math"):(0,r.__)("Add","seo-by-rank-math"))))};Nn.displayName="AddBrandModal";const jn=Nn;var On=n(9559),Pn={};Pn.styleTagTransform=_e(),Pn.setAttributes=fe(),Pn.insert=pe().bind(null,"head"),Pn.domAPI=de(),Pn.insertStyleElement=ye();ce()(On.A,Pn);On.A&&On.A.locals&&On.A.locals;var Cn=n(1664),Tn={};Tn.styleTagTransform=_e(),Tn.setAttributes=fe(),Tn.insert=pe().bind(null,"head"),Tn.domAPI=de(),Tn.insertStyleElement=ye();ce()(Cn.A,Tn);Cn.A&&Cn.A.locals&&Cn.A.locals;var In=function(){},zn=function(e){var t=e.icon,n=void 0===t?"":t,a=e.title,r=e.className,l=void 0===r?"":r,s=e.isDismissible,c=void 0!==s&&s,m=e.onRequestClose,d=void 0===m?In:m,u=e.children,p="rank-math-ai-visibility-access-gate-modal";return wp.element.createElement(o.Modal,{onRequestClose:d,className:(0,i.join)((0,i.compact)([p,l])," "),overlayClassName:"rank-math-modal-overlay rank-math-ai-visibility-content-overlay",isDismissible:c,shouldCloseOnEsc:c,shouldCloseOnClickOutside:c,aria:{labelledby:"".concat(p,"-title")},__experimentalHideHeader:!0},wp.element.createElement("div",{className:"".concat(p,"__header")},n&&wp.element.createElement("i",{className:"".concat(p,"__header-icon ").concat(n),"aria-hidden":"true"}),wp.element.createElement("h1",{id:"".concat(p,"-title"),className:"".concat(p,"__title")},a)),wp.element.createElement("div",{className:"".concat(p,"__body")},u))};zn.displayName="AccessGateModal";const Mn=zn;var Dn=n(5357),Bn={};Bn.styleTagTransform=_e(),Bn.setAttributes=fe(),Bn.insert=pe().bind(null,"head"),Bn.domAPI=de(),Bn.insertStyleElement=ye();ce()(Dn.A,Bn);Dn.A&&Dn.A.locals&&Dn.A.locals;var Ln=[(0,r.__)("Track how often AI mentions your brand","seo-by-rank-math"),(0,r.__)("Monitor sentiment across AI search results","seo-by-rank-math"),(0,r.__)("See which pages AI models cite as sources","seo-by-rank-math"),(0,r.__)("Benchmark your AI visibility against competitors","seo-by-rank-math"),(0,r.__)("Spot opportunities to grow your AI-driven traffic","seo-by-rank-math")],Rn=function(e){var t=e.features,n=void 0===t?Ln:t,a="rank-math-ai-visibility-feature-checklist";return wp.element.createElement("ul",{className:a},n.map(function(e){return wp.element.createElement("li",{key:e,className:"".concat(a,"__item")},wp.element.createElement("i",{className:"".concat(a,"__icon dashicons dashicons-yes-alt"),"aria-hidden":"true"}),wp.element.createElement("span",{className:"".concat(a,"__label")},e))}))};Rn.displayName="FeatureChecklist";const qn=Rn,Fn=(0,s.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(d,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"}));var Un=function(){var e="rank-math-ai-visibility-gate";return wp.element.createElement(Mn,{icon:"dashicons dashicons-lock",title:(0,r.__)("Upgrade to Unlock AI Visibility","seo-by-rank-math"),className:"rank-math-ai-visibility-unlock-modal"},wp.element.createElement("p",{className:"".concat(e,"__intro")},wp.element.createElement("strong",null,(0,r.__)("Your competitors are already tracking their AI presence. You should be too.","seo-by-rank-math"))," ",(0,r.__)("Upgrade to unlock AI Visibility module and see where your brand appears across ChatGPT, and other AI platforms, and take action before you fall further behind.","seo-by-rank-math")),wp.element.createElement(qn,null),wp.element.createElement("div",{className:"".concat(e,"__actions")},wp.element.createElement(Ee,{variant:"primary",className:"".concat(e,"__cta"),href:mn("content-ai-pricing-tables","AI Visibility Upgrade Modal"),target:"_blank",rel:"noreferrer",iconRight:wp.element.createElement(o.Icon,{icon:Fn,size:18})},(0,r.__)("Start 15-Day Free Trial","seo-by-rank-math"))),wp.element.createElement("p",{className:"".concat(e,"__footnote")},(0,r.__)("30-Day Money-Back Guarantee","seo-by-rank-math")))};Un.displayName="UpgradeToUnlockModal";const Gn=Un;function Vn(){var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function r(n,a,i,r){var s=a&&a.prototype instanceof l?a:l,c=Object.create(s.prototype);return Hn(c,"_invoke",function(n,a,i){var r,l,s,c=0,m=i||[],d=!1,u={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return r=t,l=0,s=e,u.n=n,o}};function p(n,a){for(l=n,s=a,t=0;!d&&c&&!i&&t3?(i=b===a)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=p&&((i=n<2&&pa||a>b)&&(r[4]=n,r[5]=a,u.n=b,l=0))}if(i||n>1)return o;throw d=!0,a}return function(i,m,b){if(c>1)throw TypeError("Generator is already running");for(d&&1===m&&p(m,b),l=m,s=b;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(u.n=-1),p(l,s)):u.n=s:u.v=s);try{if(c=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=u.n<0)?s:n.call(a,u))!==o)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,r),!0),c}var o={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(Hn(t={},a,function(){return this}),t),d=c.prototype=l.prototype=Object.create(m);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Hn(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,Hn(d,"constructor",c),Hn(c,"constructor",s),s.displayName="GeneratorFunction",Hn(c,i,"GeneratorFunction"),Hn(d),Hn(d,i,"Generator"),Hn(d,a,function(){return this}),Hn(d,"toString",function(){return"[object Generator]"}),(Vn=function(){return{w:r,m:u}})()}function Hn(e,t,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Hn=function(e,t,n,a){function r(t,n){Hn(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},Hn(e,t,n,a)}function Qn(e,t,n,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(a,i)}function Wn(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Qn(r,a,i,o,l,"next",e)}function l(e){Qn(r,a,i,o,l,"throw",e)}o(void 0)})}}function $n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n0)){e.n=3;break}return e.n=3,new Promise(function(e){return setTimeout(e,a)});case 3:n(Jn),e.n=5;break;case 4:e.p=4,i=e.v,n(Xn),l((null==i?void 0:i.message)||(0,r.__)("Something went wrong while activating your trial. Please try again.","seo-by-rank-math"));case 5:return e.a(2)}},e,null,[[1,4]])})),[])}};var ta=n(5367),na={};na.styleTagTransform=_e(),na.setAttributes=fe(),na.insert=pe().bind(null,"head"),na.domAPI=de(),na.insertStyleElement=ye();ce()(ta.A,na);ta.A&&ta.A.locals&&ta.A.locals;function aa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ia(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ia(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ia(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);ne.length)&&(t=e.length);for(var n=0,a=Array(t);ne.length)&&(t=e.length);for(var n=0,a=Array(t);n2&&void 0!==arguments[2]?arguments[2]:{},i=n.skip,r=void 0!==i&&i,o=n.errorMessage,l=void 0===o?"Failed to load.":o,s=n.initialData,c=void 0===s?null:s,m=Oa((0,a.useState)(c),2),d=m[0],u=m[1],p=Oa((0,a.useState)(!r),2),b=p[0],f=p[1],h=Oa((0,a.useState)(null),2),y=h[0],v=h[1];return(0,a.useEffect)(function(){if(!r){var t=!1;return f(!0),v(null),e().then(function(e){t||(u(e),f(!1))}).catch(function(e){t||(v((null==e?void 0:e.message)||l),f(!1))}),function(){t=!0}}f(!1)},t),{data:d,loading:b,error:y,setData:u}};const Ta=function(e){var t=e.onBack,n=e.onExport,a=void 0===n?function(){}:n;return wp.element.createElement(nn,{onBack:t,title:(0,r.__)("Brand detail","seo-by-rank-math"),actions:wp.element.createElement(Ee,{variant:"secondary",onClick:a},(0,r.__)("Export Report","seo-by-rank-math"))})},Ia=(0,s.createElement)(u,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(d,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}));var za=n(421),Ma={};Ma.styleTagTransform=_e(),Ma.setAttributes=fe(),Ma.insert=pe().bind(null,"head"),Ma.domAPI=de(),Ma.insertStyleElement=ye();ce()(za.A,Ma);za.A&&za.A.locals&&za.A.locals;var Da=function(e){return e?e.startsWith("http")?e:"https://".concat(e):"#"};const Ba=function(e){var t=e.brand,n=e.onEdit,a=void 0===n?function(){}:n,i="rank-math-ai-visibility-brand-header",l="active"===(null==t?void 0:t.status);return wp.element.createElement("div",{className:i},wp.element.createElement("div",{className:"".concat(i,"__card")},wp.element.createElement("div",{className:"".concat(i,"__content")},wp.element.createElement("div",{className:"".concat(i,"__identity")},wp.element.createElement("div",{className:"".concat(i,"__name-row")},wp.element.createElement("h1",{className:"".concat(i,"__name")},t.name),wp.element.createElement(Ee,{variant:"secondary",onClick:a,className:"".concat(i,"__edit-btn")},wp.element.createElement("span",{className:"rm-icon rm-icon-edit"}),(0,r.__)("Edit Brand","seo-by-rank-math"))),wp.element.createElement("div",{className:"".concat(i,"__url-row")},wp.element.createElement("a",{className:"".concat(i,"__url"),href:Da(t.url),target:"_blank",rel:"noreferrer"},t.url),t.locale&&wp.element.createElement(He,{locale:t.locale}),t.language&&wp.element.createElement("span",{className:"".concat(i,"__language")},t.language),wp.element.createElement("a",{className:"".concat(i,"__external"),href:Da(t.url),target:"_blank",rel:"noreferrer","aria-label":(0,r.__)("Open brand URL","seo-by-rank-math")},wp.element.createElement(o.Icon,{icon:Ia,size:14}))),wp.element.createElement("div",{className:"".concat(i,"__meta-row")},wp.element.createElement("span",{className:"".concat(i,"__status ").concat(i,"__status--").concat(l?"active":"inactive")},l?(0,r.__)("Active","seo-by-rank-math"):(0,r.__)("Inactive","seo-by-rank-math")),t.last_analyzed&&wp.element.createElement("span",{className:"".concat(i,"__last-analysis")},wp.element.createElement("span",{className:"dashicons dashicons-clock"}),(0,r.__)("Last analysis:","seo-by-rank-math")," ",Nt(t.last_analyzed)))),t.description&&wp.element.createElement("div",{className:"".concat(i,"__description-panel")},wp.element.createElement("strong",{className:"".concat(i,"__description-label")},(0,r.__)("Description","seo-by-rank-math")),wp.element.createElement("p",{className:"".concat(i,"__description-text")},t.description)))))};var La=n(695),Ra={};Ra.styleTagTransform=_e(),Ra.setAttributes=fe(),Ra.insert=pe().bind(null,"head"),Ra.domAPI=de(),Ra.insertStyleElement=ye();ce()(La.A,Ra);La.A&&La.A.locals&&La.A.locals;const qa=function(e){var t,n,a,o,l,s,c,m,d=e.brand,u=e.insights,p=void 0===u?null:u,b=e.loading;if(!d)return null;var f=void 0!==b&&b?"…":"—",h=null!==(t=null==p||null===(n=p.competitors)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.name)&&void 0!==t?t:null,y="rank-math-ai-visibility-brand-overview";return wp.element.createElement("div",{className:y},wp.element.createElement("div",{className:"".concat(y,"__stats")},wp.element.createElement(Pe,{className:"".concat(y,"__stat-card ").concat(y,"__stat-card--score"),icon:" rm-icon-ai-visibility",label:(0,r.__)("AI Visibility Score","seo-by-rank-math"),value:null!==(null==p?void 0:p.score)&&void 0!==(null==p?void 0:p.score)?"".concat(p.score,"/100"):f,tooltip:(0,r.__)("AI Visibility Score for this brand across AI platforms.","seo-by-rank-math"),analysis:null==p||null===(a=p.analyses)||void 0===a?void 0:a[0]}),wp.element.createElement(Pe,{className:"".concat(y,"__stat-card ").concat(y,"__stat-card--rank"),icon:"chart-line",label:(0,r.__)("Avg Rank","seo-by-rank-math"),value:null!==(o=null==p?void 0:p.rank)&&void 0!==o?o:f,tooltip:(0,r.__)("Average rank of this brand across AI-generated mentions.","seo-by-rank-math"),analysis:null==p?void 0:p.analysis}),wp.element.createElement(Pe,{className:"".concat(y,"__stat-card ").concat(y,"__stat-card--sentiment"),icon:"smiley",label:(0,r.__)("Avg Sentiments","seo-by-rank-math"),value:null!==(null==p?void 0:p.avg_sentiment)&&void 0!==(null==p?void 0:p.avg_sentiment)?"".concat((0,i.round)(p.avg_sentiment),"%"):f,tooltip:(0,r.__)("Average sentiment score across all AI mentions of this brand.","seo-by-rank-math"),analysis:null==p||null===(l=p.analyses)||void 0===l?void 0:l[0]}),wp.element.createElement(Pe,{className:"".concat(y,"__stat-card ").concat(y,"__stat-card--mentions"),icon:" rm-icon-comments",label:(0,r.__)("Recent Mentions","seo-by-rank-math"),value:null!==(s=null==p?void 0:p.mentions)&&void 0!==s?s:f,tooltip:(0,r.__)("Total brand mentions across AI-generated content.","seo-by-rank-math"),analysis:null==p?void 0:p.analysis}),wp.element.createElement(Pe,{className:"".concat(y,"__stat-card ").concat(y,"__stat-card--citations"),icon:" rm-icon-misc",label:(0,r.__)("Citations","seo-by-rank-math"),value:null!==(c=null==p?void 0:p.citations)&&void 0!==c?c:f,tooltip:(0,r.__)("Total citations of this brand across AI-generated content.","seo-by-rank-math"),analysis:null==p?void 0:p.analysis}),wp.element.createElement(Pe,{className:"".concat(y,"__stat-card ").concat(y,"__stat-card--competitor"),icon:"awards",label:(0,r.__)("Top Competitor","seo-by-rank-math"),value:h||f,tooltip:(0,r.__)("The competitor brand with the highest share of voice in AI mentions.","seo-by-rank-math"),analysis:null==p||null===(m=p.analyses)||void 0===m?void 0:m[0]})))};var Fa=n(5607),Ua={};Ua.styleTagTransform=_e(),Ua.setAttributes=fe(),Ua.insert=pe().bind(null,"head"),Ua.domAPI=de(),Ua.insertStyleElement=ye();ce()(Fa.A,Ua);Fa.A&&Fa.A.locals&&Fa.A.locals;function Ga(e){return Ga="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},Ga(e)}function Va(e){return function(e){if(Array.isArray(e))return ei(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xa(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Qa(e){for(var t=1;t3?(i=b===a)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=p&&((i=n<2&&pa||a>b)&&(r[4]=n,r[5]=a,u.n=b,l=0))}if(i||n>1)return o;throw d=!0,a}return function(i,m,b){if(c>1)throw TypeError("Generator is already running");for(d&&1===m&&p(m,b),l=m,s=b;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(u.n=-1),p(l,s)):u.n=s:u.v=s);try{if(c=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=u.n<0)?s:n.call(a,u))!==o)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,r),!0),c}var o={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(Ya(t={},a,function(){return this}),t),d=c.prototype=l.prototype=Object.create(m);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ya(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,Ya(d,"constructor",c),Ya(c,"constructor",s),s.displayName="GeneratorFunction",Ya(c,i,"GeneratorFunction"),Ya(d),Ya(d,i,"Generator"),Ya(d,a,function(){return this}),Ya(d,"toString",function(){return"[object Generator]"}),($a=function(){return{w:r,m:u}})()}function Ya(e,t,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Ya=function(e,t,n,a){function r(t,n){Ya(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},Ya(e,t,n,a)}function Ka(e,t,n,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(a,i)}function Za(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Ka(r,a,i,o,l,"next",e)}function l(e){Ka(r,a,i,o,l,"throw",e)}o(void 0)})}}function Ja(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||Xa(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xa(e,t){if(e){if("string"==typeof e)return ei(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ei(e,t):void 0}}function ei(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n0?g(!0):S()},isLoading:w,loadingLabel:(0,r.__)("Regenerating…","seo-by-rank-math"),iconLeft:wp.element.createElement("span",{className:"dashicons dashicons-update","aria-hidden":"true"}),disabled:p},(0,r.__)("Regenerate baseline queries","seo-by-rank-math"))),p&&wp.element.createElement(l.TableSkeleton,{columns:4,rows:5}),!p&&0===o.length&&wp.element.createElement(Ie,{heading:(0,r.__)("No queries yet","seo-by-rank-math"),description:(0,r.__)("Regenerate baseline queries to start tracking how AI answers questions about this brand.","seo-by-rank-math")}),!p&&o.length>0&&wp.element.createElement(Jt,{columns:[{key:"text",label:(0,r.__)("Query text","seo-by-rank-math"),width:"56%",render:function(e){return e.text}},{key:"created_at",label:(0,r.__)("Created","seo-by-rank-math"),render:function(e){return jt(e.created_at)}},{key:"updated_at",label:(0,r.__)("Last updated","seo-by-rank-math"),render:function(e){var t;return jt(null!==(t=e.updated_at)&&void 0!==t?t:e.created_at)}},{key:"status",label:(0,r.__)("Status","seo-by-rank-math"),width:"120px",render:function(e){return wp.element.createElement(ot,{value:!1!==e.enabled,onChange:function(t){return A(e,t)},isLoading:h===e.id})}}],rows:o,rowKey:"id"}),_&&wp.element.createElement(nt,{title:(0,r.__)("Regenerate queries?","seo-by-rank-math"),message:(0,r.__)("This will replace all existing baseline queries with new AI-generated ones. Continue?","seo-by-rank-math"),confirmLabel:(0,r.__)("Regenerate","seo-by-rank-math"),isDestructive:!1,onConfirm:S,onCancel:function(){return g(!1)}}))};var ni=n(6350),ai={};ai.styleTagTransform=_e(),ai.setAttributes=fe(),ai.insert=pe().bind(null,"head"),ai.domAPI=de(),ai.insertStyleElement=ye();ce()(ni.A,ai);ni.A&&ni.A.locals&&ni.A.locals;var ii=function(e){for(var t=["#E60012","#107C10","#1A1A1A","#1B2838","#5260B9","#017CBA","#F59E0B","#42B268"],n=0,a=0;a<(e||"").length;a++)n=(31*n+e.charCodeAt(a))%t.length;return t[n]},ri=function(e){var t,n,a=e.name;return wp.element.createElement("span",{className:"rank-math-ai-visibility-competitors-table__avatar",style:{backgroundColor:ii(a)},"aria-hidden":"true"},null!==(t=null==a||null===(n=a.charAt(0))||void 0===n?void 0:n.toUpperCase())&&void 0!==t?t:"?")},oi=function(e){var t,n=e.insights,a=void 0===n?null:n,i=e.loading,o=void 0!==i&&i,s=null!==(t=null==a?void 0:a.competitors)&&void 0!==t?t:[],c="rank-math-ai-visibility-competitors-table";if(o)return wp.element.createElement(l.TableSkeleton,{columns:3,rows:4});if(!s.length)return wp.element.createElement("div",{className:c},wp.element.createElement(Ie,{heading:(0,r.__)("No competitors detected yet","seo-by-rank-math"),description:(0,r.__)("Competitors are automatically identified during analysis runs.","seo-by-rank-math")}));var m=[{key:"name",label:(0,r.__)("Competitor","seo-by-rank-math"),width:"50%",render:function(e){return wp.element.createElement(React.Fragment,null,wp.element.createElement(ri,{name:e.name}),wp.element.createElement("span",{className:"".concat(c,"__name")},e.name))}},{key:"avg_sentiment",label:(0,r.__)("Avg sentiment","seo-by-rank-math"),render:function(e){return wp.element.createElement(qe,{score:e.avg_sentiment})}},{key:"mentions",label:(0,r.__)("Mentions","seo-by-rank-math"),render:function(e){var t;return wp.element.createElement($t,{value:null!==(t=e.mentions)&&void 0!==t?t:null,variant:"mentions"})}}];return wp.element.createElement("div",{className:c},wp.element.createElement(Jt,{columns:m,rows:s,rowKey:"name"}))};oi.displayName="CompetitorsTable";const li=oi;var si=n(385),ci={};ci.styleTagTransform=_e(),ci.setAttributes=fe(),ci.insert=pe().bind(null,"head"),ci.domAPI=de(),ci.insertStyleElement=ye();ce()(si.A,ci);si.A&&si.A.locals&&si.A.locals;function mi(e){return mi="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},mi(e)}function di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ui(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ui(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n3?(i=b===a)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=p&&((i=n<2&&pa||a>b)&&(r[4]=n,r[5]=a,u.n=b,l=0))}if(i||n>1)return o;throw d=!0,a}return function(i,m,b){if(c>1)throw TypeError("Generator is already running");for(d&&1===m&&p(m,b),l=m,s=b;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(u.n=-1),p(l,s)):u.n=s:u.v=s);try{if(c=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=u.n<0)?s:n.call(a,u))!==o)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,r),!0),c}var o={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(wi(t={},a,function(){return this}),t),d=c.prototype=l.prototype=Object.create(m);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,wi(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,wi(d,"constructor",c),wi(c,"constructor",s),s.displayName="GeneratorFunction",wi(c,i,"GeneratorFunction"),wi(d),wi(d,i,"Generator"),wi(d,a,function(){return this}),wi(d,"toString",function(){return"[object Generator]"}),(ki=function(){return{w:r,m:u}})()}function wi(e,t,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}wi=function(e,t,n,a){function r(t,n){wi(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},wi(e,t,n,a)}function xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ei(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,a=Array(t);n3?(i=b===a)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=p&&((i=n<2&&pa||a>b)&&(r[4]=n,r[5]=a,u.n=b,l=0))}if(i||n>1)return o;throw d=!0,a}return function(i,m,b){if(c>1)throw TypeError("Generator is already running");for(d&&1===m&&p(m,b),l=m,s=b;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(u.n=-1),p(l,s)):u.n=s:u.v=s);try{if(c=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=u.n<0)?s:n.call(a,u))!==o)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,r),!0),c}var o={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(Li(t={},a,function(){return this}),t),d=c.prototype=l.prototype=Object.create(m);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Li(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,Li(d,"constructor",c),Li(c,"constructor",s),s.displayName="GeneratorFunction",Li(c,i,"GeneratorFunction"),Li(d),Li(d,i,"Generator"),Li(d,a,function(){return this}),Li(d,"toString",function(){return"[object Generator]"}),(Bi=function(){return{w:r,m:u}})()}function Li(e,t,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Li=function(e,t,n,a){function r(t,n){Li(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},Li(e,t,n,a)}function Ri(e,t,n,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(a,i)}function qi(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Ri(r,a,i,o,l,"next",e)}function l(e){Ri(r,a,i,o,l,"throw",e)}o(void 0)})}}function Fi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ui(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ui(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n=ze?ue(!0):(F(null),L(!0))},De=function(){var e=qi(Bi().m(function e(t){var n;return Bi().w(function(e){for(;;)switch(e.p=e.n){case 0:if($(null),V(!0),e.p=1,!q){e.n=3;break}return e.n=2,I(q.id,t);case 2:e.n=5;break;case 3:return e.n=4,T(t);case 4:_((0,r.__)("Brand added! The first analysis is running — data will appear in approximately 10 minutes.","seo-by-rank-math"));case 5:Ce(),e.n=7;break;case 6:e.p=6,n=e.v,$((null==n?void 0:n.message)||(0,r.__)("Something went wrong. Please try again.","seo-by-rank-math"));case 7:return e.p=7,V(!1),e.f(7);case 8:return e.a(2)}},e,null,[[1,6,7,8]])}));return function(t){return e.apply(this,arguments)}}(),Be=function(){var e=qi(Bi().m(function e(){var t,n;return Bi().w(function(e){for(;;)switch(e.p=e.n){case 0:if(J){e.n=1;break}return e.a(2);case 1:if(re(!0),ce(null),e.p=2,"disable"!==te){e.n=4;break}return e.n=3,z(J.id);case 3:e.n=5;break;case 4:if("enable"!==te){e.n=5;break}return e.n=5,M(J.id);case 5:Ne(),e.n=7;break;case 6:e.p=6,n=e.v,ce(null!==(t=null==n?void 0:n.message)&&void 0!==t?t:(0,r.__)("Action failed. Please try again.","seo-by-rank-math"));case 7:return e.p=7,re(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,6,7,8]])}));return function(){return e.apply(this,arguments)}}();if(x)return wp.element.createElement(Pi,{brandId:x,onBack:function(){K(),E(null)},locales:n,languages:s,defaultLanguage:m,intervals:k,platforms:u,maxPlatforms:h});var Le="rank-math-ai-visibility-dashboard";return wp.element.createElement("div",{className:Le},P&&wp.element.createElement(o.Notice,{status:"error",isDismissible:!1},P),wp.element.createElement("div",{className:"".concat(Le,"__stats")},wp.element.createElement(Pe,{className:"rank-math-ai-visibility-stat-card--active-brands",icon:" rm-icon rm-icon-ai-visibility",label:(0,r.__)("Global AI Visibility Score","seo-by-rank-math"),value:Vi({loading:O,hasBrands:S.length>0,raw:null==N?void 0:N.ai_visibility_score,format:function(e){return e+"/100"}}),tooltip:(0,r.__)("Average rank score across all tracked brands.","seo-by-rank-math")}),wp.element.createElement(Pe,{className:"rank-math-ai-visibility-stat-card--analyses",icon:p,label:(0,r.__)("Analyses in the last 7 days","seo-by-rank-math"),value:Vi({loading:O,hasBrands:S.length>0,raw:null==N?void 0:N.analyses_last_7d}),tooltip:(0,r.__)("Total analysis runs completed in the past 24 hours.","seo-by-rank-math")}),wp.element.createElement(Pe,{className:"rank-math-ai-visibility-stat-card--mentions",icon:"rm-icon rm-icon-comments",label:(0,r.__)("Avg mentions per brand","seo-by-rank-math"),value:Vi({loading:O,hasBrands:S.length>0,raw:null==N?void 0:N.avg_mentions_per_brand}),tooltip:(0,r.__)("Average number of AI-generated mentions across all tracked brands.","seo-by-rank-math")})),Se&&wp.element.createElement("div",{className:"".concat(Le,"__empty")},wp.element.createElement(Ie,{icon:b,heading:(0,r.__)("No brands or products tracked yet","seo-by-rank-math"),description:(0,r.__)("Add a brand or a specific product to see how you rank against competitors. Monitor your AI visibility, discover where you stand, and uncover opportunities to grow.","seo-by-rank-math"),ctaLabel:(0,r.__)("+ Add Your First Brand","seo-by-rank-math"),onCta:Me})),!Se&&wp.element.createElement("div",{className:"".concat(Le,"__table-card")},wp.element.createElement(Aa,{searchValue:be,onSearchChange:fe,onAdd:Me}),wp.element.createElement(ja,{brands:_e,loading:O,pagination:Mi(Mi({},ve),{},{total:ge,pages:ke}),onView:function(e){var t,n;t=e.id,n=(0,y.addQueryArgs)(window.location.href,{brand:t}),window.history.pushState({},"",n),E(e.id)},onEdit:function(){var e=qi(Bi().m(function e(t){var n;return Bi().w(function(e){for(;;)switch(e.p=e.n){case 0:return F(t),L(!0),e.p=1,e.n=2,j(t.id);case 2:null!=(n=e.v)&&n.brand&&F(n.brand),e.n=4;break;case 3:e.p=3,e.v;case 4:return e.a(2)}},e,null,[[1,3]])}));return function(t){return e.apply(this,arguments)}}(),onDisable:function(e){return function(e){X(e),ne("inactive"===(null==e?void 0:e.status)?"enable":"disable")}(e)},onPageChange:we,onPerPageChange:xe})),B&&wp.element.createElement(jn,{brand:q,onSave:De,onClose:Ce,isSaving:G,apiError:W,locales:n,languages:s,defaultLanguage:m,intervals:k,platforms:u,maxPlatforms:h}),de&&wp.element.createElement(ka,{plan:Te,isTopTier:"expert"===Te,onClose:function(){return ue(!1)}}),J&&wp.element.createElement(nt,{title:je,message:Oe,confirmLabel:"enable"===te?(0,r.__)("Activate","seo-by-rank-math"):(0,r.__)("Deactivate","seo-by-rank-math"),isDestructive:"disable"===te,isProcessing:ie,error:se,onConfirm:Be,onCancel:Ne}))};var Qi=n(834),Wi={};Wi.styleTagTransform=_e(),Wi.setAttributes=fe(),Wi.insert=pe().bind(null,"head"),Wi.domAPI=de(),Wi.insertStyleElement=ye();ce()(Qi.A,Wi);Qi.A&&Qi.A.locals&&Qi.A.locals;function $i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||Ki(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yi(e){return function(e){if(Array.isArray(e))return Zi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ki(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ki(e,t){if(e){if("string"==typeof e)return Zi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zi(e,t):void 0}}function Zi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);ne.length)&&(t=e.length);for(var n=0,a=Array(t);ne.length)&&(t=e.length);for(var n=0,a=Array(t);ns.dateTo))})},[t,s]),f=le(b,{perPage:10,syncUrl:!0}),h=f.pagination,v=f.pageItems,_=f.total,g=f.pages,k=f.onPageChange,w=f.onPerPageChange,x=f.resetPage,E=(0,a.useCallback)(function(e){c(function(t){return vr(vr({},t),e)}),x()},[x]),A=(0,a.useCallback)(function(){c(wr),x()},[x]);if((0,a.useEffect)(function(){!function(e){var t={aiv_brands:e.brandIds.length?e.brandIds.join(","):void 0,aiv_status:e.status||void 0,aiv_search:e.search||void 0,aiv_from:e.dateFrom||void 0,aiv_to:e.dateTo||void 0},n=(0,y.addQueryArgs)(window.location.href,t);window.history.replaceState({},"",n)}(s)},[s]),d)return wp.element.createElement(pr,{row:d,onBack:function(){return u(null)}});var S="rank-math-ai-visibility-analyses";return wp.element.createElement("div",{className:S},wp.element.createElement($e,{title:(0,r.__)("Analyses & Transcripts","seo-by-rank-math"),subtitle:(0,r.__)("Global view of all runs with per-query detail.","seo-by-rank-math")}),i&&wp.element.createElement(o.Notice,{status:"error",isDismissible:!1},i),wp.element.createElement("div",{className:"".concat(S,"__card")},wp.element.createElement(er,{filters:s,onFilterChange:E,onClearFilters:A,brandOptions:p}),wp.element.createElement(ar,{items:v,loading:n,pagination:vr(vr({},h),{},{total:_,pages:g}),onViewDetail:function(e){return u(e)},onPageChange:k,onPerPageChange:w})))};const Ar=function(e,t){var n=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=t,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)};var Sr=n(7377),Nr={};Nr.styleTagTransform=_e(),Nr.setAttributes=fe(),Nr.insert=pe().bind(null,"head"),Nr.domAPI=de(),Nr.insertStyleElement=ye();ce()(Sr.A,Nr);Sr.A&&Sr.A.locals&&Sr.A.locals;function jr(e){return jr="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},jr(e)}function Or(){var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function r(n,a,i,r){var s=a&&a.prototype instanceof l?a:l,c=Object.create(s.prototype);return Pr(c,"_invoke",function(n,a,i){var r,l,s,c=0,m=i||[],d=!1,u={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return r=t,l=0,s=e,u.n=n,o}};function p(n,a){for(l=n,s=a,t=0;!d&&c&&!i&&t3?(i=b===a)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=p&&((i=n<2&&pa||a>b)&&(r[4]=n,r[5]=a,u.n=b,l=0))}if(i||n>1)return o;throw d=!0,a}return function(i,m,b){if(c>1)throw TypeError("Generator is already running");for(d&&1===m&&p(m,b),l=m,s=b;(t=l<2?e:s)||!d;){r||(l?l<3?(l>1&&(u.n=-1),p(l,s)):u.n=s:u.v=s);try{if(c=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=u.n<0)?s:n.call(a,u))!==o)break}catch(t){r=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,r),!0),c}var o={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var m=[][a]?t(t([][a]())):(Pr(t={},a,function(){return this}),t),d=c.prototype=l.prototype=Object.create(m);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Pr(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=c,Pr(d,"constructor",c),Pr(c,"constructor",s),s.displayName="GeneratorFunction",Pr(c,i,"GeneratorFunction"),Pr(d),Pr(d,i,"Generator"),Pr(d,a,function(){return this}),Pr(d,"toString",function(){return"[object Generator]"}),(Or=function(){return{w:r,m:u}})()}function Pr(e,t,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Pr=function(e,t,n,a){function r(t,n){Pr(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},Pr(e,t,n,a)}function Cr(e,t,n,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(a,i)}function Tr(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Cr(r,a,i,o,l,"next",e)}function l(e){Cr(r,a,i,o,l,"throw",e)}o(void 0)})}}function Ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function zr(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,a=Array(t);n0&&(C.current=!0,I())},[d]);var I=(0,a.useCallback)(Tr(Or().m(function e(){var t,n,a,i,o,l,s,c,m,p,b,f,y,v,_,g,w,x;return Or().w(function(e){for(;;)switch(e.p=e.n){case 0:if(N(!0),P(null),E(d.find(function(e){return String(e.id)===h.brandId})||null),e.p=1,i=(h.brandId?d.filter(function(e){return String(e.id)===h.brandId}):d).filter(function(e){return e.last_analyzed}),o=i.map(function(e){return{id:e.id,score:e.score,rank:e.rank,sentiment:e.avg_sentiment,mentions:e.mentions,citations:e.citations,competitors:[],date:e.last_analyzed}}),!h.brandId||!o.length){e.n=5;break}return e.p=2,e.n=3,T(h.brandId);case 3:p=e.v,o[0].competitors=(null!==(l=null==p||null===(s=p.insights)||void 0===s?void 0:s.competitors)&&void 0!==l?l:[]).map(function(e){return e.name}),o[0].queries=(null!==(c=null==p||null===(m=p.insights)||void 0===m?void 0:m.query_results)&&void 0!==c?c:[]).map(function(e){var t,n,a,i,r,o;return{query:null!==(t=e.query_text)&&void 0!==t?t:"",platform:null!==(n=e.platform)&&void 0!==n?n:null,response:null!==(a=e.response)&&void 0!==a?a:"",found:null!==(i=e.found)&&void 0!==i?i:null,sentiment_score:null!==(r=e.sentiment)&&void 0!==r?r:null,citations_count:null!==(o=e.citations)&&void 0!==o?o:null}}),e.n=5;break;case 4:e.p=4,e.v;case 5:b=function(e){return o.reduce(function(t,n){var a;return t+(null!==(a=n[e])&&void 0!==a?a:0)},0)},f={summary:{score:h.brandId?null!==(t=null===(n=o[0])||void 0===n?void 0:n.score)&&void 0!==t?t:null:null!==(a=null==u?void 0:u.rank_score)&&void 0!==a?a:null,avg_sentiment:o.length?Math.round(b("sentiment")/o.length):null,total_mentions:b("mentions"),total_citations:b("citations")},details:o},k(f),rankMath.tracking&&(y=rankMath.tracking,v=y.plugin,_=y.email,g=y.language,w=y.path,mixpanel.identify(_),mixpanel.track("AI Visibility Report Generated",{has_data:o.length>0,context:"wp_plugin",brand:"rankmath",application:"rankmath",plugin:v,path:w,language:g})),e.n=7;break;case 6:e.p=6,x=e.v,P((null==x?void 0:x.message)||(0,r.__)("Failed to generate report.","seo-by-rank-math"));case 7:return e.p=7,N(!1),e.f(7);case 8:return e.a(2)}},e,null,[[2,4],[1,6,7,8]])})),[h,d,u]),z=null!==(e=null==g?void 0:g.summary)&&void 0!==e?e:{},M=null!==(t=null==g?void 0:g.details)&&void 0!==t?t:[],D=(0,a.useMemo)(function(){return x?x.name:""},[x]);return wp.element.createElement("div",{className:c},wp.element.createElement($e,{title:(0,r.__)("Reports & Export","seo-by-rank-math"),subtitle:(0,r.__)("Export daily aggregates for a brand.","seo-by-rank-math")}),wp.element.createElement("div",{className:"".concat(c,"__layout")},wp.element.createElement("aside",{className:"".concat(c,"__filters")},wp.element.createElement("div",{className:"".concat(c,"__filters-header")},wp.element.createElement("span",{className:"dashicons dashicons-filter","aria-hidden":"true"}),wp.element.createElement("div",null,wp.element.createElement("p",{className:"".concat(c,"__filters-title")},(0,r.__)("Filters","seo-by-rank-math")),wp.element.createElement("p",{className:"".concat(c,"__filters-subtitle")},(0,r.__)("Select brand and format.","seo-by-rank-math")))),wp.element.createElement("div",{className:"".concat(c,"__filters-body")},wp.element.createElement("div",{className:"".concat(c,"__filter-field")},wp.element.createElement(o.SelectControl,{label:(0,r.__)("BRAND","seo-by-rank-math"),value:h.brandId,options:b,onChange:function(e){var t;(t="brandId",function(e){return v(function(n){return zr(zr({},n),{},Mr({},t,e))})})(e),e||(k(null),E(null),P(null))},__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})),wp.element.createElement(Ne,{className:"".concat(c,"__generate-btn"),onClick:I,isLoading:S,loadingLabel:(0,r.__)("Generating…","seo-by-rank-math"),disabled:!h.brandId},(0,r.__)("Generate preview","seo-by-rank-math")))),wp.element.createElement("div",{className:"".concat(c,"__preview")},O&&wp.element.createElement(o.Notice,{status:"error",isDismissible:!1},O),S&&wp.element.createElement(l.TableSkeleton,{columns:5,rows:4}),!g&&!S&&!O&&wp.element.createElement("div",{className:"".concat(c,"__empty")},wp.element.createElement("p",null,(0,r.__)('Select a brand, then click "Generate preview".',"seo-by-rank-math"))),g&&wp.element.createElement("div",{className:"".concat(c,"__report-card")},wp.element.createElement("div",{className:"".concat(c,"__preview-header")},wp.element.createElement("div",{className:"".concat(c,"__preview-title-row")},wp.element.createElement("span",{className:"dashicons dashicons-chart-bar","aria-hidden":"true"}),wp.element.createElement("div",null,wp.element.createElement("p",{className:"".concat(c,"__preview-title")},(0,r.__)("Preview","seo-by-rank-math")),D&&wp.element.createElement("p",{className:"".concat(c,"__preview-subtitle")},D))),wp.element.createElement("div",{className:"".concat(c,"__preview-actions")},wp.element.createElement(Ee,{variant:"secondary",onClick:function(){if(Ar(g,"ai-visibility-report.json"),rankMath.tracking){var e=rankMath.tracking,t=e.plugin,n=e.email,a=e.language,i=e.path;mixpanel.identify(n),mixpanel.track("Button Clicked",{button:"Download AI Visibility Report",context:"wp_plugin",brand:"rankmath",application:"rankmath",plugin:t,path:i,language:a})}}},(0,r.__)("Download JSON","seo-by-rank-math")))),wp.element.createElement("div",{className:"".concat(c,"__report-card-body")},wp.element.createElement("div",{className:"".concat(c,"__stat-cards")},wp.element.createElement(qr,{icon:" rm-icon-ai-visibility",className:"rank-math-ai-visibility-reports-overall-score",label:(0,r.__)("Global AI Visibility Score","seo-by-rank-math"),value:null!==z.score&&void 0!==z.score?"".concat(z.score,"/100"):null,iconBg:"rgba(1,124,186,0.12)",iconColor:"#017CBA",tooltip:(0,r.__)("The overall AI Visibility Score for the selected brand and date range, calculated based on the volume of mentions, sentiment, and other factors.","seo-by-rank-math")}),wp.element.createElement(qr,{icon:"smiley",className:"rank-math-ai-visibility-reports-overall-sentiment",label:(0,r.__)("Avg Sentiment","seo-by-rank-math"),value:null!==z.avg_sentiment&&void 0!==z.avg_sentiment?"".concat((0,i.round)(z.avg_sentiment),"%"):null,iconBg:"rgba(82,96,185,0.12)",iconColor:"#5260B9",tooltip:(0,r.__)("The average sentiment score across all AI mentions for the selected brand and date range. Calculated by analyzing the sentiment of each mention and averaging the scores.","seo-by-rank-math")}),wp.element.createElement(qr,{icon:" rm-icon-comments",className:"rank-math-ai-visibility-reports-total-mentions",label:(0,r.__)("Total Mentions","seo-by-rank-math"),value:null!==(n=z.total_mentions)&&void 0!==n?n:0,iconBg:"rgba(255,171,64,0.15)",iconColor:"#F59E0B",tooltip:(0,r.__)("The total number of AI-generated mentions of the selected brand within the specified date range.","seo-by-rank-math")}),wp.element.createElement(qr,{icon:" rm-icon-misc",className:"rank-math-ai-visibility-reports-total-citations",label:(0,r.__)("Total Citations","seo-by-rank-math"),value:null!==(s=z.total_citations)&&void 0!==s?s:0,iconBg:"rgba(66,178,104,0.15)",iconColor:"#42B268",tooltip:(0,r.__)("The total number of AI-generated mentions that include a link to the selected brand’s website within the specified date range.","seo-by-rank-math")})),M.length>0&&wp.element.createElement(Jt,{columns:[{key:"score",label:(0,r.__)("AI Visibility Score","seo-by-rank-math"),render:function(e){var t;return wp.element.createElement(Ht,{score:null!==(t=e.score)&&void 0!==t?t:null})}},{key:"rank",label:(0,r.__)("Avg Rank","seo-by-rank-math"),render:function(e){var t;return wp.element.createElement(De,{rank:null!==(t=e.rank)&&void 0!==t?t:null})}},{key:"sentiment",label:(0,r.__)("Sentiment","seo-by-rank-math"),render:function(e){var t;return wp.element.createElement(qe,{score:null!==(t=e.sentiment)&&void 0!==t?t:null})}},{key:"mentions",label:(0,r.__)("Mentions","seo-by-rank-math"),render:function(e){var t;return wp.element.createElement($t,{value:null!==(t=e.mentions)&&void 0!==t?t:null,variant:"mentions"})}},{key:"citations",label:(0,r.__)("Citations","seo-by-rank-math"),render:function(e){var t;return wp.element.createElement($t,{value:null!==(t=e.citations)&&void 0!==t?t:null,variant:"citations"})}},{key:"competitors",label:(0,r.__)("Top competitors","seo-by-rank-math"),render:function(e){return wp.element.createElement("div",{className:"".concat(c,"__competitors")},(e.competitors||[]).map(function(e){return wp.element.createElement("span",{key:e,className:"".concat(c,"__competitor-tag")},e)}))}},{key:"date",label:(0,r.__)("Date","seo-by-rank-math"),render:function(e){return Nt(e.date)}}],rows:M,rowKey:function(e,t){var n;return null!==(n=e.id)&&void 0!==n?n:t}}))))))};Fr.displayName="Reports";const Ur=Fr;var Gr=n(3484),Vr={};Vr.styleTagTransform=_e(),Vr.setAttributes=fe(),Vr.insert=pe().bind(null,"head"),Vr.domAPI=de(),Vr.insertStyleElement=ye();ce()(Gr.A,Vr);Gr.A&&Gr.A.locals&&Gr.A.locals;var Hr=function(){},Qr=[{id:"preview-1",name:"Playstation 5",url:"sony.com",locale:"US",score:94,rank:1,avg_sentiment:81,mentions:4,citations:2,last_analyzed:"2026-03-16",status:"active"},{id:"preview-2",name:"iPad",url:"apple.com",locale:"US",score:94,rank:1,avg_sentiment:76,mentions:9,citations:16,last_analyzed:"2026-03-16",status:"active"},{id:"preview-3",name:"MiniCRM",url:"https://minicrm.hu/",locale:"HU",score:null,rank:null,avg_sentiment:null,mentions:null,citations:null,last_analyzed:"2026-03-16",status:"active"},{id:"preview-4",name:"BackWPup",url:"https://backwpup.com",locale:"",score:null,rank:null,avg_sentiment:null,mentions:null,citations:null,last_analyzed:"2026-03-16",status:"active"},{id:"preview-5",name:"GTmetrix",url:"https://gtmetrix.com",locale:"",score:null,rank:null,avg_sentiment:null,mentions:null,citations:null,last_analyzed:"2026-03-16",status:"active"},{id:"preview-6",name:"Rank Math",url:"https://rankmath.com/",locale:"",score:23,rank:3,avg_sentiment:40,mentions:2,citations:1,last_analyzed:"2026-03-16",status:"inactive"},{id:"preview-7",name:"WP Rocket",url:"https://wp-rocket.me",locale:"",score:23,rank:3,avg_sentiment:40,mentions:2,citations:1,last_analyzed:"2026-03-16",status:"active"}],Wr=function(){var e="rank-math-ai-visibility-dashboard";return wp.element.createElement("div",{className:"".concat(e," rank-math-ai-visibility-gated-preview"),"aria-hidden":"true"},wp.element.createElement("div",{className:"".concat(e,"__stats")},wp.element.createElement(Pe,{className:"rank-math-ai-visibility-stat-card--active-brands",icon:" rm-icon rm-icon-ai-visibility",label:(0,r.__)("Global AI Visibility Score","seo-by-rank-math"),value:"70/100"}),wp.element.createElement(Pe,{className:"rank-math-ai-visibility-stat-card--analyses",icon:p,label:(0,r.__)("Analyses in the last 7 days","seo-by-rank-math"),value:0}),wp.element.createElement(Pe,{className:"rank-math-ai-visibility-stat-card--mentions",icon:"rm-icon rm-icon-comments",label:(0,r.__)("Avg mentions per brand","seo-by-rank-math"),value:3.2})),wp.element.createElement("div",{className:"".concat(e,"__table-card")},wp.element.createElement(Aa,{searchValue:"",onSearchChange:Hr,onAdd:Hr}),wp.element.createElement(ja,{brands:Qr,loading:!1,onView:Hr,onEdit:Hr,onDisable:Hr})))};Wr.displayName="GatedPreview";const $r=Wr;var Yr=n(2634),Kr={};Kr.styleTagTransform=_e(),Kr.setAttributes=fe(),Kr.insert=pe().bind(null,"head"),Kr.domAPI=de(),Kr.insertStyleElement=ye();ce()(Yr.A,Kr);Yr.A&&Yr.A.locals&&Yr.A.locals;const Zr=function(e){var t,n=e.config,a=void 0===n?{}:n,i=a.isSiteConnected,o=a.registerProductNonce,s=null!==(t=a.aiVisibility)&&void 0!==t?t:{},c=s.activateUrl,m=s.isSiteUrlValid,d="rank-math-ai-visibility-account",u=i?"connected":"disconnected",p=i?(0,r.__)("Connected","seo-by-rank-math"):(0,r.__)("Not Connected","seo-by-rank-math");return wp.element.createElement("div",{className:"".concat(d," ").concat("".concat(d,i?"-connected":"-disconnected"))},wp.element.createElement("header",null,wp.element.createElement("h3",null,(0,r.__)("Account Connection Required","seo-by-rank-math")),wp.element.createElement(l.StatusButton,{status:u},p)),wp.element.createElement("div",{className:"".concat(d,"-content")},wp.element.createElement("form",{method:"post"},wp.element.createElement(l.TextControl,{type:"hidden",name:"registration-action",value:i?"deregister":"register"}),wp.element.createElement(l.TextControl,{type:"hidden",name:"_wpnonce",value:o}),wp.element.createElement(l.ConnectAccountBody,{description:(0,r.__)("Connect your account for free to start tracking your brand's AI visibility.","seo-by-rank-math"),helpLink:mn("ai-visibility-connect","AI Visibility Connect"),activateUrl:c,isSiteUrlValid:m,note:(0,r.__)("Takes less than 30 seconds to get started","seo-by-rank-math"),noteClassName:"".concat(d,"-not-registered-note")}))))};function Jr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n